Question: For this assignment you will create a LC-3 ISA machine language program (not LC-3 assembly, that's the next lesson) that performs the following: Assume that

For this assignment you will create a LC-3 ISA machine language program (not LC-3 assembly, that's the next lesson) that performs the following:

Assume that values A and B are in R3 and R4 (you can supply the values). Create a code sequence that will perform A minus B, then take the sum and multiply it by 4 and write the result to R2. Comment your code.

Submit your *.bin source code and a screen shot of your program .obj loaded in the simulator and having run to a break point set on the last instruction (trap)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!