Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started