-
The destination is upper half last 5 bits.
-
Opcode - Highest 6 bits of the machine code
-
The
div
instruction stores the remainder in $HI and quotient in $LO. These two registers are not directly accessible in instructions. We need to usemfhi
andmflo
instructions. -
Most of the R-type instructions have 0x00 opcode. They are identified by their "function code" which is the last 6 bits of the machine code.
- Exceptions in MIPS
- SPIM stores and displays data in the format(little or big endian) of the host machine