Question: please do the code in Lc3 The LC-3 does not have a multiply instruction. You will write a machine code (1s and 0s) program to
The LC-3 does not have a multiply instruction. You will write a machine code (1s and 0s) program to allow for multiplication of two numbers. Your program will include the features listed below in steps a through d. It's best to complete each step and test before moving to the next step. Test to make sure that the program works in LC3. No credit if you write code in assembly. Your machine code file name must be Multiply.bin a. Load register R3 with the number stored in memory location 3100. Load register R4 with the number stored in memory location 3101. The provided starter code already places data in these two memory locations. b. Write machine code to multiply the contents of R3 with the contents of R4. The result must be stored in R5. In other words, R5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
