English
Language : 

SH7750_08 Datasheet, PDF (233/1162 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 5 Exceptions
Section 5 Exceptions
5.1 Overview
5.1.1 Features
Exception handling is processing handled by a special routine, separate from normal program
processing, that is executed by the CPU in case of abnormal events. For example, if the executing
instruction ends abnormally, appropriate action must be taken in order to return to the original
program sequence, or report the abnormality before terminating the processing. The process of
generating an exception handling request in response to abnormal termination, and passing control
to a user-written exception handling routine, in order to support such functions, is given the
generic name of exception handling.
SH-4 exception handling is of three kinds: for resets, general exceptions, and interrupts.
5.1.2 Register Configuration
The registers used in exception handling are shown in table 5.1.
Table 5.1 Exception-Related Registers
Name
Abbrevia-
tion
R/W
P4
Initial Value*1 Address*2
Area 7
Address*2
Access
Size
TRAPA exception TRA
register
R/W Undefined
H'FF00 0020 H'1F00 0020 32
Exception event
register
EXPEVT R/W
H'0000 0000/ H'FF00 0024 H'1F00 0024 32
H'0000 0020*1
Interrupt event
register
INTEVT R/W Undefined
H'FF00 0028 H'1F00 0028 32
Notes: 1. H'0000 0000 is set in a power-on reset, and H'0000 0020 in a manual reset.
2. This is the address when using the virtual/physical address space P4 area. The area 7
address is the address used when making an access from physical address space area
7 using the TLB.
Rev.7.00 Oct. 10, 2008 Page 149 of 1074
REJ09B0366-0700