CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION
User’s Manual U13850EJ4V0UM
152
(1) To acknowledge maskable interrupts in service program
Service program of maskable interrupt or exception
(2) To generate exception in service program
Service program of maskable interrupt or exception
...
...
• Saves EIPC to memory or register
• Saves EIPSW to memory or register
• EI instruction (enables interrupt
acknowledgement)
...
...
• DI instruction (disables interrupt
acknowledgement)
• Restores saved value to EIPSW
• Restores saved value to EIPC
• RETI instruction
...
...
• Saves EIPC to memory or register
• Saves EIPSW to memory or register
• EI instruction (enables interrupt
acknowledgement)
...
• TRAP instruction
• Illegal op code
...
• Restores saved value to EIPSW
• Restores saved value to EIPC
• RETI instruction
←
Acknowledges interrupt such as INTP input.
←
Acknowledges exception such as TRAP instruction.
←
Acknowledges exception such as illegal op code.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...