English
Language : 

SH7137 Datasheet, PDF (101/1160 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 5 Exception Handling
Section 5 Exception Handling
5.1 Overview
5.1.1 Types of Exception Handling and Priority
Exception handling is started by four sources: resets, address errors, interrupts and instructions and
have the priority, as shown in table 5.1. When several exceptions are detected at once, they are
processed according to the priority.
Table 5.1 Types of Exceptions and Priority
Exception
Exception Source
Priority
Reset
Power-on reset
High
Manual reset
Interrupt
User break (break before instruction execution)
Address error CPU address error (instruction fetch)
Instruction
General illegal instructions (undefined code)
Illegal slot instruction (undefined code placed immediately after a
delayed branch instruction*1 or instruction that changes the PC value*2)
Trap instruction (TRAPA instruction)
Address error CPU address error (data access)
Interrupt
User break (break after instruction execution or operand break)
Address error DTC address error (data access)
Interrupt
NMI
IRQ
On-chip peripheral modules
Low
Notes: 1. Delayed branch instructions: JMP, JSR, BRA, BSR, RTS, RTE, BF/S, BT/S, BSRF, and
BRAF.
2. Instructions that change the PC value: JMP, JSR, BRA, BSR, RTS, RTE, BT, BF,
TRAPA, BF/S, BT/S, BSRF, BRAF, LDC Rm,SR, LDC.L @Rm+,SR.
Rev. 2.00 Sep. 10, 2008 Page 75 of 1130
REJ09B0402-0200