CLR

CLR

Operation:
0 -->; Destination

Assembler Syntax:
CLR <ea>

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

Description: Clears the destination operand to zero. The size
of the operation may be specified as byte, word, or long.

Condition Codes:
\c30100
X Not affected.
N Always cleared.
Z Always set.
V Always cleared.
C Always cleared.

Example:

1)
D0 = $FEDCBA98 CLR.W D0

Result:
D0 = $DEDC0000