Question: 4, [ 6 points] Use the register and memory values in the table below for this question. Assume a 32 - bit machine. Assume each
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 quest
ion.
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:
add
R
1
, R2, R
3
b)
What values will be in R1 and R3 after th
is instruction is executed: lw
R2
,
8
(R1)
c)
What
values will be in R2 and R4
after this instruction is executed:
add
i R2, R
4
, #
16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
