![Freescale Semiconductor QE128 Скачать руководство пользователя страница 14](http://html1.mh-extra.com/html/freescale-semiconductor/qe128/qe128_quick-reference-user-manual_2330661014.webp)
QE MCUs 8-bit and 32-bit Comparison
QE128 Quick Reference User Guide, Rev. 1.0
2-6
Freescale Semiconductor
Figure 2-9. Stack Pointer Registers (A7 and OTHER_A7)
Vector base register (VBR) -- This register defines the base address of the exception vector table in the
memory. It has two different possible values: 0x(00)00_0000 exception
vector table based on the flash, and 0x(00)80_0000 exception vector table
based on the RAM. At reset the VBR is cleared. The VBR is located at the
base of the exception table at the address 0x(00)00_0000 in the flash.
Figure 2-10. Vector Base Register (VBR)
CPU configuration register (CPUCR) -- With this register you can configure some cores into supervisor
mode. Certain hardware features can be enabled or disabled based on the
state of the CPUCR.
Figure 2-11. CPU Configuration Register
2.2.1.1
Addressing Modes
The ColdFire V1 core counts with 12 different addressing modes. The addressing modes and syntax are
shown in
Table 2-3
:
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
Address
W
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R 0 0 0 0 0 0 0 0
Base
Address
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
W
31
30
29
28
27
26
25
24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
ARD IRD IAE IME BWD
0
FSD
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
W
Table 2-3. Addressing Modes and Syntax
Addressing modes
Syntax
Register Direct.
op.sz
1
Ry,Rx
Address Register Indirect.
op.sz (Ax),Rx
Address Register Indirect with Post-increment.
op.sz (Ax)+,Rx
Address Register Indirect Pre-decrement.
op.sz -(Ay),Rx
Address Register Indirect with Displacement.
op.sz d16(Ay),Rx
Address Register Indirect with Scaled Index and Displacement.
op.sz d8(Ay,Xi*SF),Rx
Program Counter Indirect with Displacement.
op.sz d16(PC),Rx
Program Counter Indirect with Scaled Index and Displacement.
op.sz d8(PC,Xi*SF),Rx)