
CHAPTER 7 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U12688EJ4V0UM00
227
7.6
Multiple Interrupt Processing Control
Multiple interrupt processing control is a process by which the interrupt request currently being processed can be
interrupted during processing if there is an interrupt request with a higher priority level, and the higher priority
interrupt request is acknowledged and processed first.
If there is an interrupt request with a lower priority level than the interrupt request currently being processed, that
interrupt request is held pending.
Maskable interrupt multiple processing control is executed when an interrupt has an enable status (ID = 0). Thus,
if multiple interrupts are executed, it is necessary to have an interrupt enable status (ID = 0) even for an interrupt
processing routine.
If a maskable interrupt or a software exception is generated in a maskable interrupt or software exception service
program, it is necessary to save EIPC and EIPSW.
This is accomplished by the following procedure.
(1) To acknowledge maskable interrupts in a service program
Service program of maskable interrupt or exception
...
...
•
EIPC saved to memory or register
•
EIPSW saved to memory or register
•
EI instruction (enables interrupt acknowledgement)
...
...
←
Maskable interrupt acknowledgement
...
...
•
DI instruction (disables interrupt acknowledgement)
•
Saved value restored to EIPSW
•
Saved value restored to EIPC
•
RETI instruction
Содержание V850E/MS1 UPD703100
Страница 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Страница 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Страница 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Страница 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Страница 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Страница 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Страница 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Страница 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Страница 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...
Страница 422: ...User s Manual U12688EJ4V0UM00 422 MEMO ...