Motorola MCF5281 ユーザーズマニュアル
2-6
MCF5282 User’s Manual
MOTOROLA
Processor Register Description
• Two 32-bit access control registers (ACR0, ACR1)
• Two 32-bit memory base address registers (RAMBAR, FLASHBAR)
• Two 32-bit memory base address registers (RAMBAR, FLASHBAR)
Figure 2-5. Supervisor Programming Model
The following paragraphs describe the supervisor programming model registers.
2.2.3.1
Status Register (SR)
The SR stores the processor status and includes the CCR, the interrupt priority mask, and
other control bits. In supervisor mode, software can access the entire SR. In user mode, only
the lower 8 bits are accessible (CCR). The control bits indicate the following states for the
processor: trace mode (T bit), supervisor or user mode (S bit), and master or interrupt state
(M bit). All defined bits in the SR have read/write access when in supervisor mode.
other control bits. In supervisor mode, software can access the entire SR. In user mode, only
the lower 8 bits are accessible (CCR). The control bits indicate the following states for the
processor: trace mode (T bit), supervisor or user mode (S bit), and master or interrupt state
(M bit). All defined bits in the SR have read/write access when in supervisor mode.
System Byte
Condition Code Register (CCR)
15
14
13
12
11
10
8
7
6
5
4
3
2
1
0
T
0
S
M
0
I
0
0
0
X
N
Z
V
C
Figure 2-6. Status Register
Table 2-2. SR Field Descriptions
Bits
Name
Description
15
T
Trace enable. When set, the processor performs a trace exception after
every instruction.
every instruction.
14
—
Reserved, should be cleared.
13
S
Supervisor/user state. Denotes whether the processor is in supervisor
mode (S = 1) or user mode (S = 0).
mode (S = 1) or user mode (S = 0).
SR
15
7
0
31
STATUS
(CCR)
OTHER_A7
SUPERVISOR A7
STACK POINTER
STACK POINTER
VBR
VECTOR BASE
REGISTER
REGISTER
CACR
CACHE
CONTROL
CONTROL
ACR0
ACCESS
CONTROL
CONTROL
ACR1
ACCESS
CONTROL
CONTROL
FLASHBAR
FLASH BASE
ADDRESS REGISTER
ADDRESS REGISTER
RAMBAR
RAM BASE
ADDRESS REGISTER
ADDRESS REGISTER