Search for question
Question

3. Optional Extra credit: (5 pts)

Going back to lecture 9, slide 10. Assuming you only have an 8-bit machine, write the code to

implement a 16-bit number multiplied by an 8 bit number as shown on slide 10 of lecture 9. Do

something similar to what we did in class. (hint-the math is done for you on slide 10 of lecture

9). I've shown it below in Hex and binary. Write the 16-bit result to memory.

01100100 (bin)

1010 (bin)

0x64

x 0xA

or

x

Fig: 1