
Integer Instructions
4-4
M68000 FAMILY PROGRAMMER’S REFERENCE MANUAL
MOTOROLA
ADD
Add
ADD
(M68000 Family)
Operation:
Source + Destination
→
Destination
Assembler
ADD < ea > ,Dn
Syntax:
ADD Dn, < ea >
Attributes:
Size = (Byte, Word, Long)
Description:
Adds the source operand to the destination operand using binary addition and
stores the result in the destination location. The size of the operation may be specified
as byte, word, or long. The mode of the instruction indicates which operand is the
source and which is the destination, as well as the operand size.
Condition Codes:
X — Set the same as the carry bit.
N — Set if the result is negative; cleared otherwise.
Z — Set if the result is zero; cleared otherwise.
V — Set if an overflow is generated; cleared otherwise.
C — Set if a carry is generated; cleared otherwise.
Instruction Format:
XNZVC
∗∗∗∗∗
1514131211109876543210
1101 REGISTER OPMODE
EFFECTIVE ADDRESS
MODE REGISTER
Commenti su questo manuale