
89
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, from
which the vector table addresses are calculated. During exception processing, the start addresses of
the exception service routines are fetched from the exception processing vector table, which
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
Vector Table Address Offset
Power-on reset
PC
0
H'00000000–H'00000003
SP
1
H'00000004–H'00000007
Manual reset
PC
2
H'00000008–H'0000000B
SP
3
H'0000000C–H'0000000F
General illegal instruction
4
H'00000010–H'00000013
(Reserved by system)
5
H'00000014–H'00000017
Slot illegal instruction
6
H'00000018–H'0000001B
(Reserved by system)
7
H'0000001C–H'0000001F
(Reserved by system)
8
H'00000020–H'00000023
CPU address error
9
H'00000024–H'00000027
DMAC/DTC address
error
10
H'00000028–H'0000002B
Interrupts
NMI
11
H'0000002C–H'0000002F
User break
12
H'00000030–H'00000033
(Reserved by system)
13
:
31
H'00000034–H'00000037
:
H'0000007C–H'0000007F
Trap instruction (user vector)
32
:
63
H'00000080–H'00000083
:
H'000000FC–H'000000FF
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...