Table of Contents

Advertisement

.75
P
Â
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:
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.
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
OPC
dst
Address Mode
OPC (Hex)
B0
B1
dst
R
IR

Advertisement

Table of Contents
loading

Table of Contents