Question: This one uses ARCTOOL 2.12 for simulation. CPS310 CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 3: 1. Please add



This one uses ARCTOOL 2.12 for simulation. CPS310
CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 3: 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 %r1 after this program is executed? ! Program 3 .begin org main: Id top: subco be srl addco ba done: st jmpl .org X: 800 y: end 2048 [x], %r2 %r1, 4, %ro done %r2, 1, %r2 %r1, 1, %r1 top %r3, [y] %r15+4, %ro 3000 CPS310 - COMPUTER ORGANIZATION II LAB 2 ARC, ARC ASSEMBLY, ARC SIMULATOR PART 3: 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 %r1 after this program is executed? ! Program 3 .begin org main: Id top: subco be srl addco ba done: st jmpl .org X: 800 y: end 2048 [x], %r2 %r1, 4, %ro done %r2, 1, %r2 %r1, 1, %r1 top %r3, [y] %r15+4, %ro 3000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
