Question: 4, [6 points] Use the register and memory values in the table below for this question. Assume a 32-bit machine. Assume each of the following
![4, [6 points] Use the register and memory values in the](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66efebecc7c1a_53266efebec6f126.jpg)
4, [6 points] Use the register and memory values in the table below for this question. Assume a 32-bit machine. Assume each of the following questions starts from the table values; that is, DO NOT use value changes from one question as propagating into future parts of the question. 116 Register Value RI 12 R2 16 R320 24 Memory Location | Value 12 16 16 20 2024 24 28 R4 a) Give the values of R1, R2, and R3 after this instruction: add R1, R2, R3 b) What values will be in R1 and R3 after this instruction is executed: lw R2, 8(R1) c) What values will be in R2 and R4 after this instruction is executed: addi R2, R4, #16 4, [6 points] Use the register and memory values in the table below for this question. Assume a 32-bit machine. Assume each of the following questions starts from the table values; that is, DO NOT use value changes from one question as propagating into future parts of the question. 116 Register Value RI 12 R2 16 R320 24 Memory Location | Value 12 16 16 20 2024 24 28 R4 a) Give the values of R1, R2, and R3 after this instruction: add R1, R2, R3 b) What values will be in R1 and R3 after this instruction is executed: lw R2, 8(R1) c) What values will be in R2 and R4 after this instruction is executed: addi R2, R4, #16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
