mfmsr

Move From Machine State Register

mfmsr RT

Moves the contents of the Machine State Register (MSR) into a general-purpose register.

Details

The mfmsr instruction copies the contents of the Machine State Register (MSR) into the target general-purpose register RT.

Pseudocode Operation

RT <- MSR

Programming Note

This instruction is privileged.

Example

mfmsr r3

Encoding

Binary Layout
31
0
RT
6
/
11
/
16
83
21
/
 
Format X-form
Opcode 0x7C0000A6
Extension Privileged
Registers Altered MSR

Operands

  • RT
    Target