mfmsr
Move From Machine State Register
mfmsr RT
Moves the contents of the Machine State Register (MSR) into a general-purpose register.
Encoding
Binary Layout
31
0:5
RT
6:10
/
11:15
/
16:20
83
21:30
/
31
Operands
-
RT
Target
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Moves the entire Machine State Register (MSR) into the general-purpose register RT. This is a privileged instruction that allows reading of system state including interrupt enable, privilege level, and other control bits. No condition registers or status fields are modified by this instruction.
Operation
RT ← MSR
Programming Note
This instruction is privileged.