Motorola M68000 User Manual Page 54

  • Download
  • Add to my manuals
  • Print
  • Page
    / 92
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 53
Integer Instructions
MOTOROLA M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL 4-13
ADDX Add Extended ADDX
(M68000 Family)
Operation: Source + Destination + X Destination
Assembler ADDX Dy,Dx
Syntax: ADDX – (Ay), – (Ax)
Attributes: Size = (Byte, Word, Long)
Description: Adds the source operand and the extend bit to the destination operand and
stores the result in the destination location. The operands can be addressed in two
different ways:
1. Data register to data register—The data registers specified in the instruction
contain the operands.
2. Memory to memory—The address registers specified in the instruction address
the operands using the predecrement addressing mode.
The size of the operation can be specified as byte, word, or long.
Condition Codes:
X Set the same as the carry bit.
N Set if the result is negative; cleared otherwise.
Z Cleared if the result is nonzero; unchanged otherwise.
V Set if an overflow occurs; cleared otherwise.
C Set if a carry is 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
*****
Page view 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 91 92

Comments to this Manuals

No comments