Section 4 Exception Processing
Rev. 5.00 May 29, 2006 page 86 of 698
REJ09B0146-0500
Exception Type
Exception Event
Exception Code
Nonmaskable interrupt
H'1C0
H-UDI interrupt
H'5E0
General interrupt requests
External hardware interrupts:
IRL3–IRL0
= 0000
H'200
IRL3–IRL0
= 0001
H'220
IRL3–IRL0
= 0010
H'240
IRL3–IRL0
= 0011
H'260
IRL3–IRL0
= 0100
H'280
IRL3–IRL0
= 0101
H'2A0
IRL3–IRL0
= 0110
H'2C0
IRL3–IRL0
= 0111
H'2E0
IRL3–IRL0
= 1000
H'300
IRL3–IRL0
= 1001
H'320
IRL3–IRL0
= 1010
H'340
IRL3–IRL0
= 1011
H'360
IRL3–IRL0
= 1100
H'380
IRL3–IRL0
= 1101
H'3A0
IRL3–IRL0
= 1110
H'3C0
Note:
Exception codes H'120, H'140, and H'3E0 are reserved.
4.1.5
Exception Request and BL Bit
If a general exception event occurs when the BL bit in SR is 1, the CPU's internal registers are set
to their post-reset state, other module registers retain their contents prior to the general exception,
and a branch is made to the same address (H'A0000000) as for a reset.
If a general interrupt occurs when BL
=
1, the request is masked (held pending) and not accepted
until the BL bit is cleared to 0 by software. For reentrant exception processing, the SPC and SSR
must be saved and the BL bit in SR cleared to 0.
4.1.6
Returning from Exception Processing
The RTE instruction is used to return from exception processing. When RTE is executed, the SPC
value is set in the PC, and the SSR value in SR, and the return from exception processing is
performed by branching to the SPC address.
Summary of Contents for SH7706 Series
Page 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Page 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Page 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Page 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Page 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Page 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Page 749: ...SH7706 Group Hardware Manual ...