CLR_____

Clear Destination

Das adressierte „Byte“ wird auf „0x00h“ gesetzt („ge-cleared“).

CLR dst

Operand 1:         siehe unten

Operand 2:         -

Flag:                     -                                                                                                                                       

Offset:                 -

Index:                   -

Ergebniss:           in „dst“

Ergebniss Flags:

Bit

Funktion

 

 

V

Bei Überlauf gesetzt

I1

 

H

Bei Überlauf Bit3>Bit4

I0

 

N

wird rückgesetzt = 0

Z

wird gesetzt = 1

C

Bei Überlauf Bit7>

Operand 1:

·         „A“ = Akkumulator

·         „(X)“ = X-Register

·         „(Y)“ = Y-Register

·         Speicherzelle

Adr. $Byte oder $Wort

·         Inhalt von ($Byte,X)

Index (X oder Y)

+ Offset (Byte,Word)

·         Inhalt von ($10,SP)

Offset (Byte)

+ SP  (Stackpointer)

·         Inhalt von [ptr.w]

·         Inhalt von

([ptr.w],X)