mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 211

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D.1.2 — Status Register
T[1:0] — Trace Enable
S — Supervisor/User State
IP[2:0] — Interrupt Priority Mask
X — Extend Flag
N — Negative Flag
Z — Zero Flag
V — Overflow Flag
C — Carry Flag
MC68331
USER’S MANUAL
15
0
The status register (SR) contains condition codes, an interrupt priority mask, and three
control bits. The condition codes are contained in the condition code register (CCR),
the lower byte of the SR. (The lower and upper bytes of the status register are also
referred to as the user and system bytes, respectively.) At the user privilege level, only
the CCR is available. At the supervisor level, software can access the full status reg-
ister.
The priority value in this field (0 to 7) is used to mask interrupts.
Used in multiple-precision arithmetic operations. In many instructions it is set to the
same value as the C bit.
Set when the MSB of a result register is set.
Set when all bits of a result register are zero.
Set when two's complement overflow occurs as the result of an operation.
Set when a carry or borrow occurs during an arithmetic operation. Also used during
shift and rotate instructions to facilitate multiple word operations.
RESET:
T[1:0]
00 = No tracing
01 = Trace on change of flow
10 = Trace on instruction execution
11 = Undefined; reserved
0 = CPU operates at user privilege level
1 = CPU operates at supervisor privilege level
14
0
13
S
1
12
0
0
Freescale Semiconductor, Inc.
11
For More Information On This Product,
0
0
10
1
Go to: www.freescale.com
REGISTER SUMMARY
IP
1
8
1
7
0
0
6
0
0
5
0
0
U
4
X
N
U
3
U
2
Z
V
U
1
0
C
U
D-3
D

Related parts for mc68331cpv20b1