SLEEP instruction
with SSBY bit set
Program
execution state
Exception
handling
request
SLEEP
instruction
End of exception
handing
Exception-
handling state
Sleep mode
Interrupt request
NMI, IRQ0
to IRQ2 or IRQ6
Software
standby mode
RES = 1
STBY = 1, RES = 0
Hardware
standby mode
Reset state
Power-down state
Notes: 1. A transition to the reset state occurs when RES goes low, except when the chip
is in the hardware standby mode.
2. A transition from any state to the hardware standby mode occurs when STBY
goes low.
Figure 2.12 State Transitions
2.6.2
Program Execution State
In this state the CPU executes program instructions.
2.6.3
Exception-Handling State
The exception-handling state is a transient state that occurs when the CPU is reset or interrupted
and changes its normal processing flow. In interrupt exception handling, the CPU references the
stack pointer (R7) and saves the program counter and condition code register on the stack. For
further details see section 4, Exception Handling.
56