English
Language : 

SH7108 Datasheet, PDF (95/560 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 5 Exception Processing
5.1.3 Exception Processing Vector Table
Before exception processing begins running, the exception processing vector table must be set in
memory. The exception processing vector table stores the start addresses of exception service
routines. (The reset exception processing table holds the initial values of PC and SP.)
All exception sources are given different vector numbers and vector table address offsets. The
vector table addresses are calculated from these vector numbers and vector table address offsets.
During exception processing, the start addresses of the exception service routines are fetched from
the exception processing vector table that is indicated by this vector table address.
Table 5.3 shows the vector numbers and vector table address offsets. Table 5.4 shows how vector
table addresses are calculated.
Table 5.3 Exception Processing Vector Table
Exception Sources
Vector Numbers
Power-on reset
PC
0
SP
1
Manual reset
PC
2
SP
3
General illegal instruction
4
(Reserved by system)
5
Slot illegal instruction
6
(Reserved by system)
7
8
CPU address error
9
(Reserved by system)
10
Interrupts
NMI
11
(Reserved by system)
12
13
14
15
:
31
Trap instruction (user vector)
32
:
63
Vector Table Address Offset
H'00000000 to H'00000003
H'00000004 to H'00000007
H'00000008 to H'0000000B
H'0000000C to H'0000000F
H'00000010 to H'00000013
H'00000014 to H'00000017
H'00000018 to H'0000001B
H'0000001C to H'0000001F
H'00000020 to H'00000023
H'00000024 to H'00000027
H'00000028 to H'0000002B
H'0000002C to H'0000002F
H'00000030 to H'00000033
H'00000034 to H'00000037
H'00000038 to H'0000003B
H'0000003C to H'0000003F
:
H'0000007C to H'0000007F
H'00000080 to H'00000083
:
H'000000FC to H'000000FF
Rev.1.00 Sep. 18, 2008 Page 61 of 522
REJ09B0069-0100