Question: 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

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.

Register Value Memory Location Value
R1 12 12 16
R2 16 16 20
R3 20 20 24
R4 24 24 28

a)Give the values of R1, R2, and R3 after this instruction: addR1, R2, R3

b)What values will be in R1 and R3 after this instruction is executed: lwR2, 8(R1)

c)Whatvalues will be in R2 and R4after this instruction is executed: addi R2, R4, #16

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!