mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 381

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D.1.1 Condition Code Register
CCR — Condition Code Register
S — STOP Enable
MV — Accumulator M overflow flag
H — Half Carry Flag
EV — Accumulator M Extension Overflow Flag
N — Negative Flag
Z — Zero Flag
V — Overflow Flag
C — Carry Flag
IP[2:0] — Interrupt Priority Field
SM — Saturate Mode Bit
PK[3:0] — Program Counter Address Extension Field
MC68HC16Y3/916Y3
USER’S MANUAL
15
S
The CCR contains processor status flags, the interrupt priority field, and the program
counter address extension field. The CPU16 has a special set of instructions that ma-
nipulate the CCR.
Set when overflow into AM35 has occurred.
Set when a carry from A3 or B3 occurs during BCD addition.
EV is set when an overflow into AM31 has occurred.
N is set under the following conditions:
Z is set under the following conditions:
Set when two’s complement overflow occurs as the result of an operation.
Set when carry or borrow occurs during arithmetic operation. Also used during shifts
and rotates.
The priority value in this field (0 to 7) is used to mask low priority interrupts.
When SM is set and either EV or MV is set, data read from AM using TMER or TMET
is given maximum positive or negative value, depending on the state of the AM sign
bit before overflow.
This field is concatenated with the program counter to form a 20-bit address.
0 = Stop CPU16 clocks when LPSTOP instruction is executed.
1 = Perform NOPs when LPSTOP instruction is executed.
• When the MSB is set in the operand of a read operation.
• When the MSB is set in the result of a logic or arithmetic operation.
• When all bits are zero in the operand of a read operation.
• When all bits are zero in the result of a logic or arithmetic operation.
MV
14
13
H
EV
12
Freescale Semiconductor, Inc.
11
N
For More Information On This Product,
10
Z
Go to: www.freescale.com
REGISTER SUMMARY
9
V
C
8
7
IP[2:0]
6
5
SM
4
3
2
PK[3:0]
MOTOROLA
1
0
D-3

Related parts for mc68hc916y3