4
The 68000's Instruction Set
Application: To add to the contents of an address register and not update the
CCR. Note that ADDA.W D0,A0 is the same as LEA (A0,D0.W),A0.
Condition codes: X N Z V C
- - - - -
An ADDA operation does not affect the state of the CCR.
Source operand addressing modes
ADDI Add immediate
Operation: [destination] ← <literal> + [destination]
Syntax: ADDI #<data>,<ea>
Attributes: Size = byte, word, longword
Description: Add immediate data to the destination operand. Store the result
in the destination operand. ADDI can be used to add a literal
directly to a memory location. For example, ADDI.W #$1234,$2000
has the effect [M(2000
16
)]← [M(2000
16
)] +1234
16
.
Condition codes: X N Z V C
* * * * *
Destination operand addressing modes
ADDQ Add quick
Operation: [destination] ← <literal> + [destination]
Syntax: ADDQ #<data>,<ea>