mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 116

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
5
5.9.2 Types of Exceptions
5-16
Each vector is assigned an 8-bit number. Vector numbers for some exceptions are ob-
tained from an external device; others are supplied by the processor. The processor
multiplies the vector number by four to calculate vector offset, then adds the offset to
the contents of the VBR. The sum is the memory address of the vector.
An exception can be caused by internal or external events.
An internal exception can be generated by an instruction or by an error. The TRAP,
TRAPcc, TRAPV, BKPT, CHK, CHK2, RTE, and DIV instructions can cause excep-
tions during normal execution. Illegal instructions, instruction fetches from odd ad-
dresses, word or long-word operand accesses from odd addresses, and privilege
violations also cause internal exceptions.
Number
64–255
Vector
16–23
32–47
48–58
59–63
10
11
12
13
14
15
24
25
26
27
28
29
30
31
0
1
2
3
4
5
6
7
8
9
Table 5-2 Exception Vector Assignments
Freescale Semiconductor, Inc.
1020
Dec
100
104
108
112
116
120
124
128
188
192
232
236
252
256
12
16
20
24
28
32
36
40
44
48
52
56
60
64
92
96
For More Information On This Product,
0
4
8
Vector Offset
CENTRAL PROCESSING UNIT
0BC
0EC
0FC
3FC
Hex
00C
01C
02C
03C
05C
06C
07C
0C0
0E8
000
004
008
010
014
018
020
024
028
030
034
038
040
060
064
068
070
074
078
080
100
Go to: www.freescale.com
Space
SP
SP
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
SD
(Reserved, Coprocessor Protocol Violation)
Format Error and Uninitialized Interrupt
Format Error and Uninitialized Interrupt
Trap Instruction Vectors (0–15)
Reset: Initial Program Counter
TRAPcc, TRAPV Instructions
Level 1 Interrupt Autovector
Level 2 Interrupt Autovector
Level 3 Interrupt Autovector
Level 4 Interrupt Autovector
Level 5 Interrupt Autovector
Level 6 Interrupt Autovector
Level 7 Interrupt Autovector
User Defined Vectors (192)
Reset: Initial Stack Pointer
(Reserved, Coprocessor)
(Unassigned, Reserved)
(Unassigned, Reserved)
CHK, CHK2 Instructions
Hardware Breakpoint
Line 1010 Emulator
Line 1111 Emulator
Privilege Violation
Spurious Interrupt
Illegal Instruction
Address Error
Zero Division
Assignment
Bus Error
Trace
USER’S MANUAL
MC68331

Related parts for mc68331cpv20b1