li $t0 , 0xABCD9876
sw $t0 , 100($0)
lb $s5 , 101($0)
New to MIPS; So my understanding is,
li
loads the value 0xABCD9876
into register $t0
This value is then stored into memory at address ($0+100)
lb then copies the byte at address ($0+101)
into register $s5
But there's nothing in register ($0+101)
is there? 0xABCD9876
was stored in ($0+100)
, not ($0+$101)
. Lost at this point.