Question: Student Name: Problem 3 Assume a 32-bit machine. What is the content of each register and which memory locations are changed as the code below
Student Name: Problem 3 Assume a 32-bit machine. What is the content of each register and which memory locations are changed as the code below is executed. Use the register and memory values in the table below as initial values. Value Memery Location Value R1 R2 R3 R4 12 16 20 12 20 14 16 18 add R3,R1,R2 lw R2,8(R3) addi R2, R2.-2 sw R4,0(R2) addi R2.R2,8 sw R2, 8(R3) Register RI R2 R3 R4 Value Memory Location Value 12 16 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
