2. (20 points) You are given the following DMEM:
Starting Address Content
0x00000140 46
0x00000160 89
0x00000180 -68
0x000001A0 72
0x000001C0 12
0x000001E0 34
0x00000200 -64
0x00000220 44
0x00000240 37
0x00000260 19
You are also given the following RegFile:
Register Content
X5 528
X6 400
X7 344
X10 0
X11 0
You are then given the following program:
LW X10, -16(X5)
LW X11, 16(X6)
SRAI X10, X10, 3
SLLI X11, X11, 1
ADDI X11, X11, 12
ADD X11, X11, X10
SW X11, 8(X7)
For each instruction:
Describe what each instruction does (for example: ADD X12, X13, X14 takes
the first operand from X13, takes the second operand from X14, adds them
and stores the sum in X12).
Perform any computation that the instruction performs (including address
computation).
Update the register content and memory location content accordingly.