Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->CPL
CPL Complement Operand
Each bit of the operand is logically complemented.
Formats:
Description | Mnemonic | Bytes | Cycles |
a Complement Accumulator: | CPL A | 1 | 1 |
b Complement Carry Flag: | CPL C | 1 | 1 |
c Complement Bit: | CPL <bit address> | 2 | 1 |
PSW: | C | AC | F0 | RS1 | RS0 | OV | P |
a,c | N/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 |