Vector Base Register (Vbr) - Motorola DigitalDNA ColdFire MCF5272 User Manual

Integrated microprocessor
Table of Contents

Advertisement

15
Field
T
S
Reset
0
0
1
R/W R/W
R
R/W
Table 2-3 describes SR fields.
Bits
Name
15
T
Trace enable. When T is set, the processor performs a trace exception after every instruction.
13
S
Supervisor/user state. Indicates whether the processor is in supervisor or user mode
0 User mode
1 Supervisor mode
12
M
Master/interrupt state. Cleared by an interrupt exception. It can be set by software during execution
of the RTE or move to SR instructions so the OS can emulate an interrupt stack pointer.
10–8
I
Interrupt priority mask. Defines the current interrupt priority. Interrupt requests are inhibited for all
priority levels less than or equal to the current priority, except the edge-sensitive level-7 request,
which cannot be masked.
7–0
CCR
Condition code register. See Table 2-4.

2.2.2.2 Vector Base Register (VBR)

The VBR holds the base address of the exception vector table in memory. The displacement
of an exception vector is added to the value in this register to access the vector table.
VBR[19–0] are not implemented and are assumed to be zero, forcing the vector table to be
aligned on a 0-modulo-1-Mbyte boundary.
31
Field
Exception vector table base address
Reset
R/W Written from a BDM serial command or from the CPU using the MOVEC instruction. VBR can be read from
the debug module only. The upper 12 bits are returned, the low-order 20 bits are undefined.
Rc[11–0]
2.2.2.3 Cache Control Register (CACR)
The CACR controls operation of both the instruction and data cache memory. It includes
bits for enabling, freezing, and invalidating cache contents. It also includes bits for defining
the default cache mode and write-protect fields. See Section 4.5.3.1, "Cache Control
Register (CACR)."
System byte
M
I
0
0
111
R/W
R
R/W
Figure 2-5. Status Register (SR)
Table 2-3. Status Field Descriptions
20 19
0000_0000_0000_0000_0000_0000_0000_0000
Figure 2-6. Vector Base Register (VBR)
Chapter 2. ColdFire Core
8
7
Condition code register (CCR)
000
R
R/W
Description
0x801
Programming Model
X
N
Z
V
R/W
R/W
R/W
0
C
R/W
0
2-19

Advertisement

Table of Contents
loading

Table of Contents