Crossware

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
    
<ea>,Dn Dn,<ea>
    
Dn,Dn
(An),Dn Dn,(An)
(An)+,DnDn,(An)+
-(An),DnDn,-(An)
(d16,An),DnDn,(d16,An)
(d8,An,Xn),DnDn,(d8,An,Xn)
(xxx).W,DnDn,(xxx).W
(xxx).L,DnDn,(xxx).L
#(data),Dn
(d16,PC),Dn
(d8,PC,Xn),Dn