English
Language : 

SH-2A Datasheet, PDF (31/501 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 3 Exception Handling
3.1.2 Exception Handling Operation
Table 3.2 shows the timing of detection and the start of exception handling for each exception
source.
Table 3.2 Timing of Exception Source Detection and Start of Exception Handling
Exception Handling
Reset
Power-on reset
Manual reset
Address error
RAM error
Interrupt
Register Bank underflow
bank error
Bank overflow
Instruction
Trap instruction
General illegal
instruction
Slot illegal
instruction
Integer division
instruction
Floating-point
operation
instruction
Exception Source Detection and Start of Exception Handling
Started by detection of power-on reset condition
Started by detection of manual reset condition
Detected when instruction is decoded; exception handling is
started after completion of currently executing instruction
Started upon attempted execution of RESBANK instruction when
save has not been performed to register bank
Started when save has already been performed to all register
bank areas when acceptance of register overflow exception has
been set by interrupt controller, and interrupt that uses register
bank is generated and accepted by CPU
Started by execution of TRAPA instruction
Started when undefined code (FPU instruction or FPU-related
CPU instruction in module standby status including FPU or in
product with no FPU, or register bank-related instruction in
product with no register bank) not immediately following delayed
branch instruction (delay slot) is decoded
Started when undefined code (FPU instruction or FPU-related
CPU instruction in module standby status including FPU or in
product with no FPU, or register bank-related instruction in
product with no register bank) not immediately following delayed
branch instruction (delay slot), instruction that modifies PC, 32-bit
instruction, RESBANK instruction, DIVS instruction, or DIVU
instruction is decoded
Started upon detection of division-by-zero exception or overflow
exception caused by dividing negative maximum value
(H’80000000) by –1
Started by floating-point operation instruction invalid operation
exception (stipulated by IEEE754), or overflow, underflow, or
imprecision interrupt. Also started when qNaN or ±∞ is input to a
floating-point operation instruction source
Rev. 3.00 Jul 08, 2005 page 17 of 484
REJ09B0051-0300