h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 122

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 4 Exception Handling
The TRAPA instruction fetches a start address from a vector table entry corresponding to a vector
number from 0 to 3, as specified in the instruction code.
Table 4.3 shows the status of CCR after execution of trap instruction exception handling.
Table 4.3
4.6
Figure 4.2 shows the stack after completion of trap instruction exception handling and interrupt
exception handling.
Rev. 3.00 Jan 25, 2006 page 70 of 872
REJ09B0286-0300
Interrupt Control Mode
0
1
Stack Status after Exception Handling
Note: * Ignored on return.
Status of CCR after Trap Instruction Exception Handling
SP
Figure 4.2 Stack Status after Exception Handling
Normal mode
(16 bits)
CCR *
CCR
PC
I
Set to 1
Set to 1
SP
UI
Retains value prior to execution
Set to 1
CCR
Advanced mode
(24 bits)
CCR
PC

Related parts for h8s-2158