[destination] ← [source] + [destination]
ADDA <ea>,An
Size
word, longword
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 = 0000010016 and D3.W = 800216, the contents of D3 are sign-extended to FFFF800216 and added to 0000010016 to give FFFF810216, which is stored in A4.
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
.
X | N | Z | V | C |
---|---|---|---|---|
- | - | - | - | - |
An ADDA
operation does not affect the state of the CCR.
Dn | An | (An) | (An)+ | ‑(An) | (d,An) | (d,An,Xi) | ABS.W | ABS.L | (d,PC) | (d,PC,Xn) | imm |
---|---|---|---|---|---|---|---|---|---|---|---|
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
From MOTOROLA M68000 FAMILY Programmer's reference manual. Copyright 1992 by Motorola Inc./NXP. Adapted with permission.