Operation:
0 -->; Destination
Compatibility: 68000 Family
Assembler Syntax:
CLR <ea>
Attributes: Size = (Byte, Word, Long)
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.
Instruction Format:
\i1-+----+-2Size,u6Effective Address,3Mode,3Reg,
Instruction Fields:
Size field -- Specifies the size of the operation.
00 -- Byte operation.
01 -- Word operation.
10 -- Long operation.
Effective Address field -- Specifies the destination location. Only
data alterable addressing modes are allowed as shown:
\mBF8
Note: In the MC68000 a memory location is read before it is cleared.