mc68hc908jb16 Freescale Semiconductor, Inc, mc68hc908jb16 Datasheet - Page 80

no-image

mc68hc908jb16

Manufacturer Part Number
mc68hc908jb16
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jb16DW
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc908jb16DWE
Manufacturer:
MOTOROLA/摩托罗拉
Quantity:
20 000
Part Number:
mc68hc908jb16FA
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908jb16FA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908jb16FAE
Manufacturer:
FREESCALE
Quantity:
331
Part Number:
mc68hc908jb16JDWE
Manufacturer:
FREESCALE
Quantity:
1 250
Part Number:
mc68hc908jb16JDWE
Manufacturer:
FREESCALE
Quantity:
1 250
Part Number:
mc68hc908jb16JDWE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc68hc908jb16JDWE
Quantity:
1 487
Central Processor Unit (CPU)
6.4.5 Condition Code Register
Technical Data
80
The 8-bit condition code register contains the interrupt mask and five
flags that indicate the results of the instruction just executed. Bits 6 and
5 are set permanently to logic 1. The following paragraphs describe the
functions of the condition code register.
V — Overflow Flag
H — Half-Carry Flag
Reset:
Read:
Write:
The CPU sets the overflow flag when a two's complement overflow
occurs. The signed branch instructions BGT, BGE, BLE, and BLT use
the overflow flag.
The CPU sets the half-carry flag when a carry occurs between
accumulator bits 3 and 4 during an add-without-carry (ADD) or add-
with-carry (ADC) operation. The half-carry flag is required for binary-
coded decimal (BCD) arithmetic operations. The DAA instruction
uses the states of the H and C flags to determine the appropriate
correction factor.
1 = Overflow
0 = No overflow
1 = Carry between bits 3 and 4
0 = No carry between bits 3 and 4
X = Indeterminate
Bit 7
V
X
Central Processor Unit (CPU)
Figure 6-6. Condition Code Register (CCR)
6
1
1
5
1
1
H
4
X
3
1
I
MC68HC908JB16
Freescale Semiconductor
N
2
X
Z
X
1
Rev. 1.1
Bit 0
C
X

Related parts for mc68hc908jb16