Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->EORI

EORI    Exlusive OR Immediate

Compatibility: 68000, 68010, 68020 and CPU32 families.

Destination EOR Immediate Data -> Destination


Assembler Syntax:    EORI #<data>,<ea>


<ea> - data alterable or SR

Size:    Byte, Word or Long

Performs an exclusive-OR operation on the destination operand using the immediate data and the destination operand and stores the result in the destination location.  The size of the immediate data matches the operation size.

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

unless <ea> = CCR or SR when the condition codes are affected according to
the operation

    
Allowable Addressing Modes
    
EORI#(data),Dn
EORI#(data),(An)
EORI#(data),(An)+
EORI#(data),-(An)
EORI#(data),(d16,An)
EORI#(data),(d8,An,Xn)
EORI#(data),(bd,An,Xn) 2
EORI#(data),([bd,An,Xn],od) 1
EORI#(data),([bd,An],Xn,od) 1
EORI#(data),(xxx).W
EORI#(data),(xxx).L
EORI#(data),CCR  (byte)
EORI#(data),SR  (word)
1   68020 only
2   68020 and CPU32 only