doze

Doze

doze

Enters Doze power-saving mode (Supervisor only).

Details

Enters Doze power-saving mode, reducing processor power consumption while maintaining fast wake-up capability. This is a privileged instruction that suspends instruction execution and places the processor in a low-power state. The processor may wake on external interrupts or exceptions. No status registers are modified by this instruction.

Pseudocode Operation

if MSR[PR] = 1 then raise Privileged Instruction Exception
enter Doze mode

Programming Note

The doze instruction is used to enter a power-saving mode, setting the Machine State Register (MSR) based on values from Ultravisor Save/Restore Registers. Ensure that no pending exceptions are enabled by the new MSR value to avoid unexpected interrupts. The next instruction address (NIA) is set from USRR00:61, so ensure this register holds a valid address. This instruction requires supervisor privilege level.

Example

doze

Encoding

Binary Layout
31
0
/
6
/
11
/
16
/
21
/
31
 
Format X-form
Opcode
Extension Privileged
Registers Altered MSR, USRR148, USRR149, USRR158, USRR141, USRR13, USRR00:61

Operands