Sleep (Sleep) - Renesas H8/300 Series Programming Manual

Table of Contents

Advertisement

SLEEP (SLEEP)

<Operation>
Program execution state → power-
down mode
<Assembly-Language Format>
SLEEP
<Examples>
SLEEP
<Operand Size>
<Description>
When the SLEEP instruction is executed, the CPU enters a power-down mode. Its internal
state remains unchanged, but the CPU stops executing instructions and waits for an exception-
handling request (interrupt or reset). When it receives an exception-handling request, the CPU
exits the power-down mode and begins the exception-handling sequence.
If the interrupt mask (I) bit is set to "1," the power-down mode can be released only by a
nonmaskable interrupt (NMI) or reset.
For information about the power-down modes, see the Hardware Manual for the particular
chip.
<Instruction Formats>
Addressing
mode
Mnem.
Operands
SLEEP
<Condition Code
I
— — — — — — — —
I: Previous value remains unchanged.
H: Previous value remains unchanged.
N: Previous value remains unchanged.
Z: Previous value remains unchanged.
V: Previous value remains unchanged.
C: Previous value remains unchanged.
Instruction code
1st byte
2nd byte
0
1
8
0
108
SLEEP
H
N
Z
3rd byte
4th byte
V
C
No. of
states
2

Advertisement

Table of Contents
loading

Table of Contents