Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access with AI-Powered 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