Crossware

Table of Contents        Previous topic       Next topic       

MICROPROCESSOR INSTRUCTION REFERENCE->CLR

CLR    Clear an Operand

Compatibility: 68000, 68010, 68020, CPU32 families

0 -> Destination


Assembler Syntax:    CLR <ea>


<ea> - data alterable

Size:    Byte, Word, Long

Clears the destination operand to zero.

Condition Codes:

N    Always cleared
Z    Always set
V    Always cleared
C    Always cleared
X    Not affected

    
Allowable Addressing Modes
    
CLRDn
CLR(An)
CLR(An)+
CLR-(An)
CLR(d16,An)
CLR(d8,An,Xn)
CLR(bd,An,Xn) 2
CLR([bd,An,Xn],od) 1
CLR([bd,An],Xn,od) 1
CLR(xxx).W
CLR(xxx).L
1   68020 only
2   6820 and CPU32 only