EOR

EOR

Operation:
Source XOR Destination -->; Destination

Assembler Syntax:
EOR Dn, <ea>

Attributes: Size = (Byte, Word, Long)

Description: Performs an exclusive-OR operation of the
source operand with the destination operand and stores
the result in the destination location. The size of the oper-
ation can be specified as byte, word, or long.

Condition Codes:

X Not affected.
N Set if the most significant bit of the result is set.
Cleared otherwise.
Z Set if the result is zero. Cleared otherwise.
V Always cleared.
C Always cleared.

Example:

1)
D1 = $F0008023
D2 = $10008001
EOR.L D1,D2

Result: D2 = $E0000022