/opcodes/cpl

Description

The contents of the Accumulator (Register A) are inverted (one’s complement).

Example

If the Accumulator contains 1011 0100, then upon the execution of a CPL instruction, the Accumulator contains 0100 1011.

Opcodes