Renesas Hitachi H8S/2194 Series Hardware Manual page 633

16-bit single-chip microcomputer
Table of Contents

Advertisement

(4) SLEEP Instruction 4 (Standby or Watch Mode Setting)
When the trap address is the SLEEP instruction and the instruction immediately preceding
the SLEEP instruction is that of 1 state or 2 states or more and prefetch occurs in the last
state, this puts in the standby (watch) mode after execution of the SLEEP instruction. After
that, if the standby (watch) mode is cancelled by the NMI interrupt, transition is made to
NMI interrupt following the CCR and PC (at the address of 0266) stack saving and vector
reading. However, if the address trap interrupt arises before starting execution of the NMI
interrupt processing, transition is made to the address trap exception handling. The address
to be stacked is the starting address of the NMI interrupt processing.
NOP
instruc-
tion
pre-fetch
Address bus
0262 0264
Interrupt
request
signal
Figure 27.19 SLEEP Instruction (4) (Standby or Watch Mode Setting)
Rev. 2.0, 11/00, page 606 of 1037
SLEEP
NOP
instruc-
instruc-
tion
tion
pre-fetch
pre-fetch
0266
SLEEP
Standby
execution
mode
Address trap
NMI
interruption
interrupt
SP-2
SP-2
0262
NOP
*
0264
SLEEP
0266
NOP
* Trap setting address

Advertisement

Table of Contents
loading

Table of Contents