System Configuration and Protection
MPC561/MPC563 Reference Manual, Rev. 1.2
6-36
Freescale Semiconductor
Figure 6-23. Example of SIVEC Register Usage for Interrupt Table Handling
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Field
INTERRUPT CODE
—
Reset
0011_1100
0000_0000
Addr
0x2F C01C
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
LSB
31
Field
—
Reset
0000_0000_0000_0000
Figure 6-22. SIU Interrupt Vector Register (SIVEC)
INTR:
...
Save state
R3
←
@SIVEC
R4
←
Base of branch table
...
lbz RX, R3 (0)# load as byte
add RX, RX, R4
mtsprCTR, RX
bctr
INTR:
...
Save state
R3
←
@SIVEC
R4
←
Base of branch table
...
lhz RX, R3 (0)# load as half
add RX, RX, R4
mtspr CTR, RX
bctr
BASE
b Routine1
b Routine2
b Routine3
b Routine4
•
•
BASE +
n
BASE + 4
BASE + 8
BASE + C
BASE +10
BASE
1st Instruction of Routine1
1st Instruction of Routine2
1st Instruction of Routine3
1st Instruction of Routine4
•
•
BASE +
n
BASE + 400
BASE + 800
BASE + C00
BASE +1000
•
•
•
•
•
•
•
•
•
•
•
•
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...