ccf
Complement carry flag
Inverts C, copying its old value into H and clearing N.
1 byte4 cycles
SZHP/VNC ––●–0●
- ● depends on the result
- 0 always 0
- – not changed
Forms
ccfInverts the carry flag. The half-carry flag receives the previous value of the carry flag.
.org 0x8000
ccf
halt