Consider this array of integers (size of each element is 1 word = 32 bits):
9, 6, 4, 24, 2, 0, 1, 99, 8, 4, 20
If $s0 = 0x800 000 which is also the address of the first element in the array, then:
the address of the last element (in Hex, i.e. form 0x ) =
fill in the following values assuming the sequence of instructions has shown:
lw $t1, 8($s0) # the register $t1 is loaded with value =
add $s0, $s0, $t1
lw $t0, 0($s0) # the register $t0 is loaded with value =
addi $s0, $s0, -24 #
sw $t0, 0($s0) # element with current value = is overwritten.