SPECIAL 000000 |
0 00 0000 0000 |
rd |
0 00000 |
MFHI 010000 |
6 |
10 |
5 |
5 |
6 |
MFHI rd |
MIPS32, removed in Release 6 |
Move From HI Register |
Move From HI Register
To copy the special purpose HI register to a GPR.
GPR[rd] = HI
The contents of special register HI are loaded into GPR rd.
This instruction has been removed in Release 6.
GPR[rd] = HI
None
In the MIPS I, II, and III architectures, the two instructions which follow the MFHI must not modify the HI register.
If this restriction is violated, the result of the MFHI is UNPREDICTABLE. This restriction was removed in MIPS
IV and MIPS32, and all subsequent levels of the architecture.