MIPS Machine Code
R-Type
- Arithmetic and logic operations
op
: operation coders
: first operand registerrt
: second operand registerrd
: result registershamt
: shift amountfunct
: function, options for one operation
I-Type
- Immediate versions of arithmetic and logic operations
- Data transfer instructions and conditional branching
- Immediate value is a 16-bit number in two’s complement
J-Type
- Used for unconditional jump
- Target is a 26-bit number that will be interpreted as a word address