Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Use the register and memory values in the table below for the next questions. As

ID: 3790378 • Letter: U

Question

Use the register and memory values in the table below for the next questions. Assume a 32-bit machine. Assume each of the following questions starts from the table values; that is, DO NOTuse value changes from one question as propagating into future parts of the question. Give the values of R1, R2, and R3 after this instruction: add R3 R2, R1 What values will be in R4 after this instruction is executed: RD R4, [R1 R2] What values will be in the register R2 after this instruction is executed: add R2, R3, #16

Explanation / Answer

Ans. a.
R3 = R2 + R1
Therefore R3 has 12 + 16 = 28
R2 has 16
R1 has 12

b.
LDR R4 will load the instructions present at memory locations R1 and R2 into R4.
Therefore R4 will have Instruction at 16 and 20.

c.
R2 will have 20 + 16 = 36

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote