
<
2
.75
7UGT U/CPWCN
#FFTGUU5RCEG
=L/2*
7/<:
CLR
Clear
Instruction Format:
CLR dst
Operation:
dst
←
0
The destination operand is set to 00H.
Flags
When the instruction is executed, the flags are set as follows:
Example: Working register
R6
contains
AFH
. The following statement leaves the value
00H
in working
register
R6.
CLR R6
Op Code: B0 E6
Example: Register
A5H
contains the value
23H
. Register
23H
contains the value
FCH
. The following state-
ment leaves the value
00H
in register
23H
.
CLR @A5H
Op Code: B1 A5
C:
The value set by the preceding instruction.
Z:
The value set by the preceding instruction.
S:
The value set by the preceding instruction.
V:
The value set by the preceding instruction.
D:
The value set by the preceding instruction.
H:
The value set by the preceding instruction.
OPC
dst
OPC (Hex)
Address Mode
dst
B0
B1
R
IR