A <- !A
CPL
None
| b7 | b6 | b5 | b4 | b3 | b2 | b1 | b0 | |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | $2F |
The contents of the Accumulator (Register A) are inverted (one’s complement).
| S | is not affected. |
| Z | is not affected. |
| H | is set. |
| P/V | is not affected. |
| N | is set. |
| C | is not affected. |
If the Accumulator contains 1011 0100, then upon the execution of
CPL
the Accumulator contains 0100 1011.