R type Instruction Format
“R” Type Instructions have all operands in registers
There are exactly 3 operands
Operands can only be register names
Values of operands are integers, with the default being signed integers
Reg7 = (Reg8-Reg9)+(Reg6-Reg5)
becomes
sub $10, $8, $9
sub $11, $6, $5
add $7, $10, $11
Previous slide
Next slide
Back to first slide
View graphic version