EOR

EOR

Operation:
Source \sÅ Destination -->; Destination

Compatibility: 68000 Family

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:
\c32200
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.

Instruction Format:
\i1+-++3Reg,3Opmode,u6Effective Address,3Mode,3Reg,

Instruction Fields:
Register field -- Specifies any of the eight data registers.
Opmode field:
Byte\b \bWord\b \bLong\b \bOperation
100 101 110 <Dn>\sÅ<ea>-->;<Dn>

Effective Address field -- Specifies the destination operand.
Only data alterable addressing modes are allowed as
shown:
\mBF8

Notes: Memory-to-data register operations are not allowed. The
assembler uses EORI when the source is immediate data.

Related Instructions:
EORI,444
EORI to CCR,500
.442444