Table of Contents
Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->AND
AND Logical AND
Destination 'AND' Source -> Destination
Assembler Syntax: | AND.L <ea>,Dn |
| AND.L Dn,<ea> |
Size: Long
Performs an AND operation of the source operand with the destination operand and stores the result in the destination location.
Condition Codes:
N Set if most significant bit of result is set, else cleared
Z Set if result zero, else cleared
V Always cleared
C Always cleared
X Not affected
| Allowable Addressing Modes |
|
| Dn,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 | | |