Abstract
- 32 bits, the first 6 bits are Opcode
- There are 3 different format types - MIPS R-Type Instruction, MIPS I-Type Instruction and MIPS J-Type Instruction
Important
Every MIPS instruction that is stored in memory must be word aligned!
Tip
Here is an online calculator that translates a MIPS instruction to hex, and vice versa.
Source Register
- 5bits
- Labeled
rs
, mapped toRR1
- Register with value stored that we want to use to carry out Operation
Target Register
- 5 bits
- Labeled
rt
, mapped toRR2
- Register with value stored we want to use in MIPS R-Type Instruction
- Register that gets the result of Operation in MIPS I-Type Instruction