Hello everyone!
I had a question on how this works.
If i have memory set up like this:
[0x10ff00ff] 32
[0x00ff00ff] 28
[0x0000ffff] 24
[0xffff0000] 20
[0x000011ff]16
[0x10ffff00] 12
[0xff00ffff] 8
[0xff0000ff] 4
[0x0000ff44] 0
32 bit data and the numbers are word address
I have the following:
register $s4 holds 12 decimal and the data in the memory array is as in the figure above, what is the value loaded into $t0 by the instruction: lw $t0,8($s4).
I said it was 8+12 = 20. So i looked at the word address 20, and i said, that 0xffff0000 is what is going to be loaded into $t0
can someone carlify this is correct?




Reply With Quote