參數(shù)資料
型號: EC000UM
英文描述: EC000 Core User's Manual (SCM68000)
中文描述: EC000核心用戶手冊(SCM68000)
文件頁數(shù): 142/145頁
文件大小: 829K
代理商: EC000UM
Exception Processing
MOTOROLA
EC000 CORE PROCESSOR USER’S MANUAL
4-11
4.2 EXCEPTION PROCESSING DESCRIPTION
The processing of an exception occurs in four steps, with variations for different exception
causes:
1. Make a temporary copy of the status register and set the status register for exception
processing.
2. Obtain the exception vector.
3. Save the current SCM68000 context.
4. Obtain a new context and resume instruction processing.
4.2.1 Exception Vectors
An exception vector is a memory location from which the SCM68000 fetches the address of
a routine to handle an exception. Each exception type requires a handler routine and a
unique vector. All exception vectors are two words in length (see Figure 4-6) and reside in
the supervisor data space, except for the reset vector, which is four words long and resides
in the supervisor program space.
A vector number is an 8-bit number that is multiplied by four to obtain the address of an
exception vector. The SCM68000 forms the vector address by left-shifting the vector num-
ber two bit positions and zero-filling the upper-order bits to obtain a 32-bit long-word vector
address (see Figure 4-7).
The vector numbers can be found in the vector table (see Table 4-2) which is 512 words long
(1024 bytes), starting at address 0 and proceeding through address 1023 (decimal). The
vector table provides 255 unique vectors, some of which are reserved for trap and other sys-
tem function vectors. Of the 255 vectors, 192 are reserved for user interrupt vectors. How-
ever, the first 64 entries are not protected, so user interrupt vectors may overlap at the
discretion of the system designer.
Figure 4-6. Exception Vector Format
A31
A10
A9
A8
A7
A6
A5
A4
A3
A2
A1
A0
ALL ZEROES
V7
V6
V5
V4
V3
V2
V1
V0
0
Figure 4-7. Address Translated from 8-Bit Vector Number
NEW PROGRAM COUNTER (HIGH)
NEW PROGRAM COUNTER (LOW)
A1 = 0
A1 = 1
WORD 0
WORD 1
EVEN BYTE (A0 = 0)
ODD BYTE (A0 = 1)
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相關PDF資料
PDF描述
EC103B Sensitive SCRs
EC103B1 Sensitive SCRs
EC103B2 Sensitive SCRs
EC103B3 Sensitive SCRs
EC103D175 Thyristor Product Catalog
相關代理商/技術參數(shù)
參數(shù)描述
EC0010-000 制造商:TE Connectivity 功能描述:EC0010-000
EC001031 制造商:PHOENIX 制造商全稱:PHOENIX CONTACT 功能描述:Header, Nominal current: 12 A, Rated voltage (III/2): 320 V, Assembly: Soldering
EC001121 制造商:PHOENIX 制造商全稱:PHOENIX CONTACT 功能描述:Plug component, Nominal current: 12 A, Rated voltage (III/2): 320 V, Number of positions: 4, Pitch: 5mm, Connection method: Screw connection, Color: Black, Contact surface: Tin
EC001283 制造商:PHOENIX 制造商全稱:PHOENIX CONTACT 功能描述:Plug component, Nominal current: 12 A, Rated voltage (III/2): 320 V, Number of positions: 7, Pitch: 5.08 mm, Connection method: Solder/Slip-on connection, Color: green, Contact surface: Tin, Assembly: Direct mounting
EC0013-000 制造商:TE Connectivity 功能描述:EC0013-000