Motorola CPU32 Bedienungsanleitung Seite 106

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 646
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 105
Integer Instructions
4-2
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
ABCD
Add Decimal with Extend
ABCD
(M68000 Family)
Operation:
Source10 + Destination10 + X
Destination
Assembler
ABCD Dy,Dx
Syntax:
ABCD – (Ay), – (Ax)
Attributes:
Size = (Byte)
Description:
Adds the source operand to the destination operand along with the extend bit,
and stores the result in the destination location. The addition is performed using binary-
coded decimal arithmetic. The operands, which are packed binary-coded decimal
numbers, can be addressed in two different ways:
1. Data Register to Data Register: The operands are contained in the data regis-
ters specified in the instruction.
2. Memory to Memory: The operands are addressed with the predecrement ad-
dressing mode using the address registers specified in the instruction.
This operation is a byte operation only.
Condition Codes:
X Set the same as the carry bit.
N — Undefined.
Z Cleared if the result is nonzero; unchanged otherwise.
V Undefined.
C — Set if a decimal carry was generated; cleared otherwise.
NOTE
Normally, the Z condition code bit is set via programming before
the start of an operation. This allows successful tests for zero
results upon completion of multiple-precision operations.
XNZVC
*
U
*
U
*
Seitenansicht 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 645 646

Kommentare zu diesen Handbüchern

Keine Kommentare