Instructions
Load and store instructions
Example: C code: A[8] = h + A[8]; MIPS code: lw $t0, 32($s3) add $t0, $s2, $t0 sw $t0, 32($s3)
Store word has destination last
Remember arithmetic operands are registers, not memory!
Previous slide
Next slide
Back to first slide
View graphic version