Source + Destination -->; Destination

Compatibility: 68000 Family

Assembler Syntax:
ADD <ea>, Dn
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.

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:
\i1++-+3Reg,3Opmode,u6Effective Address,3Mode,3Reg,

Instruction Fields:
Register field -- Specifies any of the eight data registers.
Opmode field:
Byte\b \bWord\b \bLong\b \bOperation
000 001 010 <ea>+<Dn>-->;<Dn>
100 101 110 <Dn>+<ea>-->;<Dn>

Effective Address field -- Determines the addressing mode.
a. If the location specified is a source operand, all
addresssing modes are allowed as shown:
* Byte operations cannot be used with the Address Register
Direct mode.

b. If the location specified is a destination operand,
only memory alterable addressing modes
are allowed as shown:

1. The Dn mode is used when the destination is a data register;
the destination <ea> mode is invalid for a data register.
2. The assembler automatically converts ADD to ADDA when
the destination is an address register and ADDI when
the source is immediate data.

Related Instructions: