3
The 68000's Instruction Set
ADD Add binary
Operation: [destination] ← [source] + [destination]
Syntax: ADD <ea>,Dn
ADD Dn,<ea>
Attributes: Size = byte, word, longword
Description: Add the source operand to the destination operand and store the
result in the destination location.
Condition codes: X N Z V C
* * * * *
Source operand addressing modes
Destination operand addressing modes
ADDA Add address
Operation: [destination] ← [source] + [destination]
Syntax: ADDA <ea>,An
Attributes: Size = word, longword
Description: Add the source operand to the destination address register and
store the result in the destination address register. The source is
sign-extended before it is added to the destination. For example,
if we execute ADDA.W D3,A4 where A4 = 00000100
16
and D3.W =
8002
16
, the contents of D3 are sign-extended to FFFF8002
16
and
added to 00000100
16
to give FFFF8102
16
, which is stored in A4.