/opcodes/ccf

Arithmetic // CCF (Complement Carry Flag)

Description

The Carry flag in the F Register is inverted.

Example

Condition Bits Affected S is not affected. Z is not affected. H, previous carry is copied. P/V is not affected. N is reset. C is set if CY was 0 before operation; otherwise, it is reset.

Opcodes