ANDN

ANDN

Operation:
Source Destination -->; Destination

Assembler Syntax:
ANDN <ea>, Dn

ANDN Dn, <ea>

Attributes: Size = (Byte, Word, Long, Quad)

Description: Performs an AND operation of the INVERTED 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.

Example:

1)
D1 = $12345678
D2 = $0000FFF0
ANDN.L D2,D1

Result: D1 = $12340008