Question: CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 2: 1. Please add comment for each line, a. Explain what the



CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 2: 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 %r3 after this program is executed? ! Program 2 begin .org m_start: Id subcc bne andcc ba orcc 2048 [x], %r1 [y], %r2 %r1, %r2, %ro else %r1, %r2, %r3 done %r1, %r2, %r3 %r3, [a] %r15+4, %ro else: done: st jmpl 30 48 end CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 2: 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 %r3 after this program is executed? ! Program 2 begin .org m_start: Id subcc bne andcc ba orcc 2048 [x], %r1 [y], %r2 %r1, %r2, %ro else %r1, %r2, %r3 done %r1, %r2, %r3 %r3, [a] %r15+4, %ro else: done: st jmpl 30 48 end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
