
W741L250
Publication Release Date: March 1998
- 13 -
Revision A2
be disabled by executing the DIS INT instruction. When an interrupt is generated in hold mode, the
hold mode will be released momentarily and the interrupt subroutine will be executed. After the RTN
instruction is executed in an interrupt subroutine, the
μ
C will enter hold mode again. The operation
flow chart is shown in Figure 8. The control diagram is shown below.
Interrupt Event Control Diagram
S
R
Q
S
R
Q
IEF.0
IEF.1
Interrupt
Process
Circuit
Interrupt
Vector
Generator
004H
008H
014H
IEF.2
S
R
Q
Initial Reset
MOV IEF, #I
Enable
EN INT
EVF.1
EVF.0
EVF.2
Initial Reset
CLR EVF, #I instruction
DIS INT instruction
Disable
Divider 0
overflow signal
Timer 0
underflow signal
Port RC
signal change
S
R
Q
S
R
Q
Timer 1
underflow signal
falling edge signal
IEF.4
EVF.4
IEF.7
EVF.7
INT pin
00CH
020H
Figure 7. Interrupt Event Control Diagram
Stop Mode Operation
In stop mode, all operations of the
μ
C cease (including the operation of the oscillator). The
μ
C enters
stop mode when the STOP instruction is executed and exits stop mode when an external trigger is
activated (by a low level on the
INT
pin or a falling signal on the RC port). When the designated
signal is accepted, the
μ
C awakens and executes the next instruction (if the corresponding bits of IEF
and PEF have been set, It will enter the interrupt service routine after stop mode released). To
prevent erroneous execution, the NOP instruction should follow the STOP command.