Fig. 5.1.11 Flowchart Of V - Renesas 7200 Series User Manual

Mitsubishi 8-bit single-chip microcomputer
Table of Contents

Advertisement

APPLICATION
5.1 Example of multi-line display
(4) V
interrupt processing routine when setting multiple interrupts
SYNC
Figure 5.1.11 shows the flowchart of V
A' and B' are the setting routines for multiple interrupts.
Set routine for
multiple
interrupts
Enable state of
multiple interrupts
(Timer 1)
Disable
multiple interrupts

Fig. 5.1.11 Flowchart of V

5-12
V
interrupt processing routine
SYNC
T
D
A'
V_ICON1
V_ICON2
ICON1 (address 00FE
16
ICON2 (address 00FF
16
I
Push registers X, Y, A
V
interrupt processing
SYNC
Pop the registers X, Y, A
←"1"
I
B'
←V_ICON1
ICON1
←V_ICON2
ICON2
RETURN
interrupt processing routine (when setting multiple interrupts)
SYNC
7220 Group User's Manual
interrupt processing routine when setting multiple interrupts.
SYNC
ICON1, ICON2:
V_ICON1, V_ICON2 :
←"0"
←"0"
←ICON1
←ICON2
←"00000001
)
"
2
←Enable Timer 1 interrupt to
←"00000000
)
"
2
←"0"
←Disable all interrupts
←Pop ICON 1 and 2 contents
Interrupt control registers 1, 2
Back up RAM for interrupt control
registers 1, 2 during V
A :
Accumulator
X :
Index register X
Y :
Index register Y
T :
X modified operation mode flag
D :
Decimal operation mode flag
take priority than V
interrupt.
SYNC
And also, be sure to disable the following interrupts:
-V
interrupt
SYNC
-all interrupts with lower priority than V
interrupt.
during V
interrupt
SYNC
interrupt
SYNC
SYNC

Advertisement

Table of Contents
loading

This manual is also suitable for:

7220

Table of Contents