mfspr $dest, $src1
Move the contents of a special purpose register into a general purpose
register.
Format
This is a MFSPR format instrucion.
31 - 26 |
25 - 21 |
20 - 16 |
15 - 0 |
110100 |
dest |
src1 |
0000 0000 0000 0000 |
Functional Description
The mfspr moves the contents of a special purpose register into a general purpose register.
GPR(dest) = SPR(src1);
Side Effects
If this instruction is executed when the processor is not
in privileged mode, the Exception Cause Register is logically ORed with 0x10, the PC
of the instruction is placed in EPC and control transfers
to an operating system exception handler.
Processor Mode
This is a privileged mode instruction.
Last modified: Fri Feb 23 02:56:02 CST 2001