h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 146

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 4 Exception Handling
4.1.2
Exceptions originate from various sources. Trap instructions and interrupts are handled as follows:
1. The program counter (PC) and condition-code register (CCR) are pushed onto the stack.
2. The interrupt mask bits are updated. The T bit is cleared to 0.
3. A vector address corresponding to the exception source is generated, and program execution
For a reset exception, steps 2 and 3 above are carried out.
4.1.3
The exception sources are classified as shown in figure 4.1. Different vector addresses are
assigned to different exception sources.
Table 4.2 lists the exception sources and their vector addresses.
Rev. 4.00 Jun 06, 2006 page 92 of 1004
REJ09B0301-0400
starts from that address.
Exception
sources
Exception Handling Operation
Exception Sources and Vector Table
Reset
Trace
Interrupts
Direct transition
Trap instruction
(Cannot be used in the H8S/2138 Group or H8S/2134 Group)
External interrupts: NMI, IRQ7 to IRQ0
Internal interrupts: interrupt sources in
on-chip supporting modules
Figure 4.1 Exception Sources

Related parts for h8s-2138