SLEEP (SLEEP)
SLEEP
<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>
<Operation>
Program execution state
→
power-
down mode
<Assembly-Language Format>
SLEEP
<Examples>
SLEEP
<Operand Size>
—
<Condition Code
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.
I
H
N
Z
V
C
—
—
—
— —
— —
—
SLEEP
0
1
8
0
2
Addressing
mode
Mnem.
Operands
1st byte
Instruction code
No. of
states
2nd byte
3rd byte
4th byte
108
Содержание H8/300 Series
Страница 2: ...H8 300 Programming Manual...