
Rev. 2.0, 11/00, page 606 of 1037
(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.
Address bus
Interrupt
request
signal
Address trap
interruption
0262 0264
0266
SP-2
SP-2
0262 NOP
0264 SLEEP
0266 NOP
*
Trap setting address
*
SLEEP
execution
NMI
interrupt
Standby
mode
NOP
instruc-
tion
pre-fetch
NOP
instruc-
tion
pre-fetch
SLEEP
instruc-
tion
pre-fetch
Figure 27.19 SLEEP Instruction (4) (Standby or Watch Mode Setting)
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...