move Rdest, Rsrc | Move |
The multiply and divide unit produces its result in two additional registers, hi and lo. These instructions move values to and from these registers. The multiply, divide, and remainder instructions described above are pseudoinstructions that make it appear as if this unit operates on the general registers and detect error conditions such as divide by zero or overflow.
mfhi Rdest | Move From hi |
mflo Rdest | Move From lo |
mthi Rdest | Move To hi |
mtlo Rdest | Move To lo |
Coprocessors have their own register sets. These instructions move values between these registers and the CPU's registers.
mfcz Rdest, CPsrc | Move From Coprocessor z |
mfc1.d Rdest, FRsrc1 | Move Double From Coprocessor 1 |
mtcz Rsrc, CPdest | Move To Coprocessor z |