Hint. For all the codes required, run them in the BasicComputer Simulator with two print screens, one shows code,registers, memory involved before run, and the second afterrun.
Please visit the following links
http://sandsduchon.org/duchon/cs311/CompSim/index.html
http://sandsduchon.org/duchon/cs311/ManoTutorial/ManoExamples.html
Q3. Assume in locations A and B resides two 8bit signed magnitude numbers. Write an assemblysubroutine code to multiply them and saves the result in Clocation. Start your code from 100. The code should be general forany sign of A and B numbers.
Try the code for A and B as positive and negative respectively,then, for both of them as negative numbers.
ORG 100
BSA MUL
A HEX 0080
B HEX 1004
C HEX 0000
HLT
Q4. Write a
PayPal Gateway not configured
PayPal Gateway not configured