wrtee

Write MSR External Enable

wrtee RS

Updates the EE bit of the MSR from a GPR.

Details

Updates the Machine State Register (MSR) External Enable (EE) bit from the least significant bit of RS. This instruction is privileged and allows software to enable or disable external interrupts. The EE bit controls whether external interrupts are recognized by the processor.

Pseudocode Operation

MSR.EE ← RS[63]

Example

wrtee r3

Encoding

Binary Layout
31
0
RS
6
/
11
/
16
131
21
/
31
 
Format X-form
Opcode 0x7C000106
Extension Embedded

Operands

  • RS
    Source