CMPE 263-SPRING 2019-HW-3
Hint. For all the codes required, run them in the Basic Computer Simulator with two print screens, one shows code, registers, memory involved before run, and the second after run. Without them, the mark will reduce to ½.
Q3. Assume in locations A and B resides two 8 bit signed magnitudenumbers. Write an assembly subroutine code to multiply them and saves the result in C location. Start your code from 100. The code should be general for any 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
I need the solution using assembly language like the table above, please..!!!!

CMPE 263-SPRING 2019-HW-3 Hint. For all the codes required, run them in the Basic Computer Simula...
CMPE 263-SPRING 2019-HW-3 Hint. For all the codes required, run them in the Basic Computer Simulator with two print screens, one shows code, registers, memory involved before run, and the second after run. Without them, the mark will reduce to ½. Q2. Write a subroutine code to divide two positive numbers by repeated subtraction method. For example, to divide 100 over 8 by subtracting 8 from 100 until the reminder be less than 8, then count the times of the...
CMPE 263-SPRING 2019-HW-3 Hint. For all the codes required, run them in the Basic Computer Simulator with two print screens, one shows code, registers, memory involved before run, and the second after run. Without them, the mark will reduce to ½. Q1.Write a program loop using a pointer and a counter that get the negative of the contents of memory locations 300through 30F.