Arithmetic // CPL (ComPLement)
0x2F - u47
The contents of a are inverted (one's complement).
| T States | Bytes |
|---|---|
| 4 | 1 |
S unaffected
Z unaffected
H set
P/V unaffected
N set
C unaffected
{
"flags": {
"S": "unaffected",
"Z": "unaffected",
"H": "set",
"P/V": "unaffected",
"N": "set",
"C": "unaffected"
},
"operation": "cpl",
"opcode": "cpl",
"operand": [],
"code": "2F",
"bytes": 1,
"time": 4,
"description": "The contents of a are inverted (one's complement).",
"category": "Arithmetic",
"subCategory": "CPL (ComPLement)"
}