Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->EOR

EOR    Exclusive OR Logical

Compatibility: 68000, 68010, 68020 and CPU32 families.

Destination EOR Source -> Destination


Assembler Syntax:    EOR Dn,<ea>


<ea> - data alterable

Size:    Byte, Word, Long

Performs an exclusive-OR operation on the destination operand using the source operand and stores the result in the destination location.

Condition Codes:

N    Set if most significant bit of is set, else cleared
Z    Set if result zero, else cleared
V    Always cleared
C    Always cleared
X    Not affected

    
Allowable Addressing Modes
    
EORDn,Dn
EORDn,(An)
EORDn,(An)+
EORDn,-(An)
EORDn,(d16,An)
EORDn,(d8,An,Xn)
EORDn,(bd,An,Xn) 2
EORDn,([bd,An,Xn],od) 1
EORDn,([bd,An],Xn,od) 1
EORDn,(xxx).W
EORDn,(xxx).L
1   68020 only
2   68020 and CPU32 only