Question: LC-3 Machine language 2. Write a binary machine language program that multiplies the value stored in R2 by the value stored in R3 with the
LC-3 Machine language 
2. Write a binary machine language program that multiplies the value stored in R2 by the value stored in R3 with the final result stored in R1. You can assume that the two operand values will not cause an overflow, but they can be either positive or negative. Remember: 3x4=-3x-4 = 4+4+4 -3x4= 3x-4 =-(3x4) 0x4= -3 0=0 Demonstrate it to your TA with the following values in this order. R2 R3 R1 3 4 x000C (12) 3 4xFFF4 (-12) 3 0 x0000 0) 3 4xFFF4 12) 3 4x000C (12) 0 x0000 (0) 2. Write a binary machine language program that multiplies the value stored in R2 by the value stored in R3 with the final result stored in R1. You can assume that the two operand values will not cause an overflow, but they can be either positive or negative. Remember: 3x4=-3x-4 = 4+4+4 -3x4= 3x-4 =-(3x4) 0x4= -3 0=0 Demonstrate it to your TA with the following values in this order. R2 R3 R1 3 4 x000C (12) 3 4xFFF4 (-12) 3 0 x0000 0) 3 4xFFF4 12) 3 4x000C (12) 0 x0000 (0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
