Source \sL Destination -->; Destination

Compatibility: 68000 Family

Assembler Syntax:
AND <ea>, Dn
AND Dn, <ea>

Attributes: Size = (Byte, Word, Long)

Description: Performs an AND operation of the source
operand with the destination operand and stores the result
in the destination location. The size of the operation can
be specified as byte, word, or long. The contents of an
address register may not be used as an operand.

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.

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
000 001 010 <ea>\sL<Dn>-->;<Dn>
100 101 110 <Dn>\sL<ea>-->;<Dn>

Effective Address field -- Determines the addressing mode.
a. If the location specified is a source operand, only
data addresssing modes are allowed as shown:

b. If the location specified is a destination operand,
only memory alterable addressing modes
are allowed as shown:

1. The Dn mode is used when the destination is a data register;
the destination <ea> mode is invalid for a data register.
2. The assembler automatically converts AND to ANDI when
the source is immediate data.

Related Instructions:
ANDI to CCR,408