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, DONT use value changes from one question as propagating into future parts of the question.

REGISTER VALUE MEM LOCATION VALUE
X1 12 12 16
X2 16 16 20
X3 20 20 24
X4 24 24 28

a. - Give the values of X1, X2, and X3 after this instruction: add X3, X2, X1

b. - What values will be in X1 and X3 after this instruction is executed: load X3, 8(X1)

c. - What values will be in the registers after this instruction is executed: addi X2, X3, #6

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!