Question: PART 1: 1. Please add comment for each line. a. Explain what the program intends to do. b. Assemble the code by hand. 2. Run


PART 1: 1. Please add comment for each line. a. Explain what the program intends to do. b. Assemble the code by hand. 2. Run the program through the simulator 3. What is the content of %r4 after this program is executed? ! Program 1 ! Hint: op3 for subcc is 010100 begin .org 2048 dstart .equ 4000 [a], %r1 [b]. %r2 [cl, %r3 addcc %2, %r3, %ro addcc %r1, %ro, %r4 subcc %r2, %r4, %r2 %ro, [a] %r2, jmpl %r15 + 4. %ro .org dstart 15 54 ms -29 .end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
