Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->CLR
CLR Clear operand
CLR sets the operand to zero.
Formats:
Description | Mnemonic | Bytes | Cycles |
a Clear Accumulator: | CLR A | 1 | 1 |
b Clear Carry Flag: | CLR C | 1 | 1 |
c Clear Bit: | CLR <bit address> | 2 | 1 |
PSW: | C | AC | F0 | RS1 | RS0 | OV | P |
a | N/A | N/A | N/A | N/A | N/A | N/A | * |
b | * | N/A | N/A | N/A | N/A | N/A | N/A |
c | N/A | N/A | N/A | N/A | N/A | N/A | N/A |