2-16
MCF5272 User’s Manual
Programming Model
Figure 2-3. ColdFire Programming Model
2.2.1 User Programming Model
As Figure 2-3 shows, the user programming model consists of the following registers:
•
16 general-purpose 32-bit registers, D0–D7 and A0–A7
•
32-bit program counter
•
8-bit condition code register
2.2.1.1 Data Registers (D0–D7)
Registers D0–D7 are used as data registers for bit, byte (8-bit), word (16-bit), and longword
(32-bit) operations. They may also be used as index registers.
2.2.1.2 Address Registers (A0–A6)
The address registers (A0–A6) can be used as software stack pointers, index registers, or
base address registers and may be used for word and longword operations.
31
0
D0
Data registers
D1
D2
D3
D4
D5
D6
D7
31
0
A0
Address registers
A1
A2
A3
A4
A5
A6
A7
Stack pointer
PC
Program counter
CCR
Condition code register
31
0
MACSR
MAC status register
ACC
MAC accumulator
MASK
MAC mask register
15
31
19
(CCR)
SR
Status register
Must be zeros
VBR
Vector base register
CACR
Cache control register
ACR0
Access control register 0
ACR1
Access control register 1
ROMBAR
ROM base address register
RAMBAR
RAM base address register
MBAR
Module base address register
User Registers
Super
visor
Registers
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...