CCF

Operation

CY <- !CY

Mnemonic

CCF

Operands

None

b7b6b5b4b3b2b1b0
0 0 1 1 1 1 1 1$3F

Description

The Carry flag in the F Register is inverted.

Condition Bits Affected

Sis not affected.
Zis not affected.
Hprevious carry is copied.
P/Vis not affected.
Nis reset.
Cis set if CY was 0 before operation, otherwise it is reset.