mc68hc11d0cfn2 Freescale Semiconductor, Inc, mc68hc11d0cfn2 Datasheet - Page 36

no-image

mc68hc11d0cfn2

Manufacturer Part Number
mc68hc11d0cfn2
Description
M68hc11 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC11D0CFN2
Manufacturer:
FREESCALE
Quantity:
8 831
Central Processor Unit (CPU)
3.2.1 Accumulators A, B, and D
Data Sheet
36
7
15
15
15
15
15
CONDITION CODE REGISTER
Accumulators A and B are general-purpose 8-bit registers that hold operands and
results of arithmetic calculations or data manipulations. For some instructions,
these two accumulators are treated as a single double-byte (16-bit) accumulator
called accumulator D. Although most instructions can use accumulators A or B
interchangeably, these exceptions apply:
ACCUMULATOR A
Freescale Semiconductor, Inc.
The ABX and ABY instructions add the contents of 8-bit accumulator B to
the contents of 16-bit register X or Y, but there are no equivalent instructions
that use A instead of B.
The TAP and TPA instructions transfer data from accumulator A to the
condition code register or from the condition code register to accumulator A.
However, there are no equivalent instructions that use B rather than A.
The decimal adjust accumulator A (DAA) instruction is used after
binary-coded decimal (BCD) arithmetic operations, but there is no
equivalent BCD instruction to adjust accumulator B.
The add, subtract, and compare instructions associated with both A and B
(ABA, SBA, and CBA) only operate in one direction, making it important to
plan ahead to ensure that the correct operand is in the correct accumulator.
For More Information On This Product,
DOUBLE ACCUMULATOR D
PROGRAM COUNTER
Figure 3-1. Programming Model
INDEX REGISTER X
INDEX REGISTER Y
STACK POINTER
Go to: www.freescale.com
Central Processor Unit (CPU)
0
7
7
S
X
ACCUMULATOR B
H
I
N
Z
V
C
0
0
0
0
0
0
0
A:B
D
IX
IY
SP
PC
CCR
CARRY
OVERFLOW
ZERO
NEGATIVE
I INTERRUPT MASK
HALF CARRY (FROM BIT 3)
X INTERRUPT MASK
STOP DISABLE
MC68HC711D3 — Rev. 2
MOTOROLA

Related parts for mc68hc11d0cfn2