mfspr
Move From Special Purpose Register
Preliminary PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002 Page 363 of 589
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 Regis-
ters Sorted by SPR Number on page 454 for a listing of SPR mnemonics and corresponding SPRN 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 Privileged SPRs on page 81 for a
list of privileged SPRs.
The SPR number (SPRN) specified in the assembler language coding of the mfspr instruction refers to an
SPR number. The assembler handles the unusual register number encoding to generate the SPRF field.
mfspr RT, SPRN
31 RT SPRF 339
0 6 11 21 31