Block Search // CPI (ComPare and Increment)
0xBE - u190
Subtracts (hl) from a and affects flags according to the result. a is not modified.
| T States | Bytes |
|---|---|
| 7 | 1 |
S affected as defined
Z affected as defined
H affected as defined
P/V detects overflow
N affected as defined
C affected as defined
{
"flags": {
"S": "affected as defined",
"Z": "affected as defined",
"H": "affected as defined",
"P/V": "detects overflow",
"N": "affected as defined",
"C": "affected as defined"
},
"operation": "cp (hl)",
"opcode": "cp",
"operand": [
"(hl)"
],
"code": "BE",
"bytes": 1,
"time": 7,
"description": "Subtracts (hl) from a and affects flags according to the result. a is not modified.",
"category": "Block Search",
"subCategory": "CPI (ComPare and Increment)"
}