Load Syntax
first argument: where to put the data
second argument: offset
third argument: address
Desired result:
MIPS assembly:
lw $t0, 0($s0)
Load the word at the address in $s0 into register $t0
Load the word at the address in $s0 plus 4 into $t0
lw $t0, 4($s0)
Previous slide
Next slide
Back to first slide
View graphic version