EasyManua.ls Logo

Renesas SuperH SH-4A - SLEEP (Sleep): System Control Instruction (Privileged Instruction)

Renesas SuperH SH-4A
472 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals