CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
149
User’s Manual U15195EJ5V0UD
Figure 7-7. Example of Servicing Interrupt Requests Generated Simultaneously
Default priority
a > b > c
Main routine
EI
Interrupt request a (level 2)
Interrupt request b (level 1)
Interrupt request c (level 1)
Servicing of interrupt request b
.
.
Servicing of interrupt request c
Servicing of interrupt request a
Interrupt request b and c are
acknowledged first according to
their priorities.
Because the priorities of b and c are
the same, b is acknowledged first
according to the default priority.
NMI request
Caution The values of the EIPC and EIPSW registers must be saved before executing multiple
interrupts. When returning from multiple interrupt servicing, restore the values of EIPC and
EIPSW after executing the DI instruction.
Remark
a to c in the figure are pseudo names given to interrupt requests for the sake of explanation.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...