Block Search // CPI (ComPare and Increment)
0xEDA1 - u60833
Compares the value of the memory location pointed to by hl with a. Then hl is incremented and bc is decremented.
| T States | Bytes |
|---|---|
| 16 | 2 |
S affected as defined
Z affected as defined
H affected as defined
P/V exceptional
N set
C unaffected
{
"flags": {
"S": "affected as defined",
"Z": "affected as defined",
"H": "affected as defined",
"P/V": "exceptional",
"N": "set",
"C": "unaffected"
},
"operation": "cpi",
"opcode": "cpi",
"operand": [],
"code": "EDA1",
"bytes": 2,
"time": 16,
"description": "Compares the value of the memory location pointed to by hl with a. Then hl is incremented and bc is decremented.",
"category": "Block Search",
"subCategory": "CPI (ComPare and Increment)"
}