mfmsr
Move From Machine State Register
mfmsr RT
Moves the contents of the Machine State Register (MSR) into a general-purpose register.
Details
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.
Pseudocode Operation
RT ← MSR
Programming Note
This instruction is privileged.
Example
mfmsr r3
Encoding
Binary Layout
31
0
RT
6
/
11
/
16
83
21
/
Operands
-
RT
Target