AMCC Proprietary 272
Revision 1.02 - September 10, 2007
PPC405 Processor
mtspr
Move To Special Purpose Register
Preliminary User’s Manual
mtspr
Move To Special Purpose Register
SPRN ← SPRF
5:9
|| SPRF
0:4
(SPR(SPRN)) ← (RS)
The contents of register RS are placed into register RT. See Special Purpose Registers on page 354 for a listing of
SPR mnemonics and corresponding SPRN and SPRF values.
If instruction bit 31 contains 1, the contents of CR[CR0] are undefined.
Registers Altered
• SPR(SPRN)
Invalid Instruction Forms
• Reserved fields
• Invalid SPRF values
Programming Note
Execution of this instruction is privileged if instruction bit 11 is a 1. See Privileged SPRs on page 57 for more infor-
mation.
The SPR number (SPRN) specified in the assembler language coding of the mtspr instruction refers to an SPR
number (see Special Purpose Registers on page 354 for a list of SPRN values). The assembler handles the
unusual register number encoding to generate the SPRF field.
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
mtspr SPRN, RS
31 RS SPRF 467
0 6 11 21 31