Rev. 1.50, 10/04, page 320 of 448
10.1.69 SLEEP (Sleep): System Control Instruction (Privileged Instruction)
Format Operation Instruction Code Cycle T Bit
SLEEP Sleep or standby 0000000000011011 Undefined —
Description: This instruction places the CPU in the power-down state.
In power-down mode, the CPU retains its internal state, but immediately stops executing
instructions and waits for an interrupt request. When it receives an interrupt request, the CPU exits
the power-down state.
SLEEP is a privileged instruction, and can only be used in privileged mode. Use of this instruction
in user mode will cause an illegal instruction exception.
Notes: SLEEP performance depends on the standby control register (STBCR). See Power-Down
Modes in the target product's hardware manual, for details.
Operation:
SLEEP( ) /* SLEEP */
{
Sleep_standby();
}
Example:
SLEEP ;Transition to power-down mode
Possible Exceptions:
• General illegal instruction exception
• Slot illegal instruction exception