mtspr $dest, $src1
Move the contents of a general purpose register into a special purpose
machine register.
Format
This is a MTSPR format instrucion.
31 - 26 |
25 - 21 |
20 - 16 |
15 - 0 |
111100 |
dest |
src1 |
0000 0000 0000 0000 |
Functional Description
The mtspr moves the contents of a general purpose register into a special purpose register.
SPR(dest) = GPR(src1);
Side Effects
If this instruction is executed when the processor is not
in priveleged 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