ccf

Arithmetic // CCF (Complement Carry Flag)

0x3F - u63

Description

Inverts the carry flag.

T States Bytes
4 1

Condition Bits Affected

S unaffected
Z unaffected
H exceptional
P/V unaffected
N reset
C exceptional

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "exceptional",
    "P/V": "unaffected",
    "N": "reset",
    "C": "exceptional"
  },
  "operation": "ccf",
  "opcode": "ccf",
  "operand": [],
  "code": "3F",
  "bytes": 1,
  "time": 4,
  "description": "Inverts the carry flag.",
  "category": "Arithmetic",
  "subCategory": "CCF (Complement Carry Flag)"
}