Table of Contents
Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->ADD
ADD Add Binary
Destination + Source -> Destination
Assembler Syntax: | ADD.L <ea>,Dn |
| ADD.L Dn,<ea> |
Size: Long
Add the source operand to the destination operand using binary addition and store the result in the destination location.
Condition Codes:
N Set if result negative, else cleared
Z Set if result zero, else cleared
V Set if overflow, else cleared
C Set if carry generated, else cleared
X Set same as carry
| Allowable Addressing Modes |
|
| Dn,Dn | |
| An,Dn | |
| (An),Dn | Dn,(An) |
| (An)+,Dn | Dn,(An)+ |
| -(An),Dn | Dn,-(An) |
| (d16,An),Dn | Dn,(d16,An) |
| (d8,An,Xn),Dn | Dn,(d8,An,Xn) |
| (xxx).W,Dn | Dn,(xxx).W |
| (xxx).L,Dn | Dn,(xxx).L |
| #(data),Dn | |
| (d16,PC),Dn | |
| (d8,PC,Xn),Dn | |