NEC PD754144 User Manual
Page 201
CHAPTER 7 INTERRUPT AND TEST FUNCTIONS
201
User’s Manual U10676EJ3V0UM
Examples
1. To use both INTT1 and INTT2 as having higher priority, and give priority to INTT2
DI
SKTCLR
IRQT2
;
IRQT2=1?
BR
VSUBBT
EI
RETI
:
VSUBBT:
CLR1
IRQT1
EI
RETI
2. To use both INTT1 and INTT2 as having lower priority, and give priority to INTT2
SKTCLR
IRQT2
;
IRQT2 =1?
BR
VSUBBT
RETI
VSUBBT:
CLR1
IRQT1
RETI
......
Service routine of INTT2
...
.........
Service routine of INTT1
...............
...
.........
Service routine of INTT2
Service routine of INTT1
This manual is related to the following products: