In a given LEGv8 system, the registers and the memory contain the values shown below. Locations not explicitly listed are empty (zero). Please find the register values after the execution of the following snippet. You may show your answers in delimited 16-digit hexadecimal such as 00,00,00,00,00,00,00,50 or decimal such as 80.
Before execution:
Register: Value:
X1 00,00,00,00,00,00,00,50 (dec=80)
X2 ff,ff,ff,ff,ff,ff,ff,fa (dec=-6)
X3 ff,ff,ff,ff,ff,ff,ff,d6 (dec=-42)
X4 ff,ff,ff,ff,ff,ff,ff,f6 (dec=-10)
X5 ff,ff,ff,ff,ff,ff,ff,9f (dec=-97)
Line# Code
1 {addr=0}
ADDI X4 X4 #72
After execution:
Register: Value:
X1
X2
X3
X4
X5