Block Search // CPD (ComPare and Decrement)
0xEDA9 - u60841
Compares the value of the memory location pointed to by hl with a. Then hl and bc are 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": "cpd",
"opcode": "cpd",
"operand": [],
"code": "EDA9",
"bytes": 2,
"time": 16,
"description": "Compares the value of the memory location pointed to by hl with a. Then hl and bc are decremented.",
"category": "Block Search",
"subCategory": "CPD (ComPare and Decrement)"
}