So, in this code snippet, I am trying to find out the values of $t2, and $t3 in HEX. I get the answer to be $t2 = 0x30 and $t3 to be 0x3C. However, the answer in the back is $t2 = 0x130, $t3 = 0x13C. Can someone explain??
.data
x: .byte 1, 2, 3, 4, 5
y: .word 19, 20, 25, 30, 35
.text
addi $t0, $0, 8
lw $t1, x($t0)
sll $t2, $t1, 4
ori $t3, $t2, 12