AMCC Proprietary 266
Revision 1.02 - September 10, 2007
PPC405 Processor
mfspr
Move From Special Purpose Register
Preliminary User’s Manual
mfspr
Move From Special Purpose Register
SPRN ← SPRF
5:9
|| SPRF
0:4
(RT) ← (SPR(SPRN))
The contents of the SPR specified by the SPRF field 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
•RT
Invalid Instruction Forms
• Reserved fields
• Invalid SPRF values
Programming Note
Execution of this instruction is privileged if instruction bit 11 contains 1. See User and Supervisor Modes on
page 56.
The SPR number (SPRN) specified in the assembler language coding of mfspr 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. Also, see Privileged SPRs on page 57 for information about privi-
leged SPRs.
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
mfspr RT, SPRN
31 RT SPRF 339
0 6 11 21 31