mfpvr

Move From Processor Version Register

mfpvr RT

Reads the PVR (Processor ID).

Details

Move From Processor Version Register. Extended mnemonic for MFSPR (mfspr RT,287). Copies the Processor Version Register (PVR) into register RT. The PVR contains the processor version and revision numbers.

Pseudocode Operation

RT ← PVR

Programming Note

The mfpvr instruction is used to retrieve the Processor Version Register (PVR), which contains information about the processor's version and revision. This instruction is commonly used for software that needs to detect or adapt to specific processor features or versions. It operates at user privilege level, so no special privileges are required. There are no alignment requirements for this instruction.

Example

mfpvr r3

Encoding

Binary Layout
31
0
RT
6
287
11
339
21
/
31
 
Format X-form
Opcode 0x7C1F42A6
Extension Privileged
Registers Altered PVR

Operands

  • RT
    Target