CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
127
5.6 Priority Control
5.6.1 Priorities of interrupts and exceptions
RESET
NMI
INT
TRAP
ILGOP
RESET
*
*
*
*
NMI
×
←
←
←
INT
×
↑
←
←
TRAP
×
↑
↑
←
ILGOP
×
↑
↑
↑
RESET : reset
NMI
: non-maskable interrupt
INT
: maskable interrupt
TRAP : software exception
ILGOP : illegal op code exception
*
: Item on the left ignores the item above.
×
: Item on the left is ignored by the item above.
↑
: Item above is higher than the item on the left in priority.
←
: Item on the left is higher than the item above in priority.
5.6.2 Multiple interrupt processing
Multiple interrupt processing is a function which allows the nesting of interrupts. If a higher priority interrupt is
generated and accepted, it will be allowed to stop a current interrupt service routine in progress. Execution of the
original routine will resume once the higher priority interrupt routine is completed.
If an interrupt with a lower or equal priority is generated and a service routine is currently in progress, the later in-
terrupt will be pended.
Multiple interrupt processing control is performed when it is in the state of interrupt acceptance (ID = 0). Even in
an interrupt processing routine, this control must be set in the state of acceptance (ID = 0). If a maskable interrupt
acceptance or exception is generated during a service program of maskable interrupt or exception, EIPC and EIPSW
must be saved.
The following example shows the procedure of interrupt nesting.
Summary of Contents for V850/SA1 mPD703015
Page 2: ...2 MEMO ...
Page 100: ...100 MEMO ...
Page 144: ...144 MEMO ...
Page 200: ...200 MEMO ...
Page 328: ...328 MEMO ...
Page 356: ...356 MEMO ...
Page 358: ...358 MEMO ...
Page 368: ...368 MEMO ...
Page 374: ...374 MEMO ...
Page 382: ...382 MEMO ...