cp (iy+*)

Block Search // CPI (ComPare and Increment)

0xFDBE - u64958

Description

Subtracts the value pointed to by iy plus * from a and affects flags according to the result. a is not modified.

T States Bytes
19 3

Condition Bits Affected

S affected as defined
Z affected as defined
H affected as defined
P/V detects overflow
N affected as defined
C affected as defined

source
{
  "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 (iy+*)",
  "opcode": "cp",
  "operand": [
    "(iy+*)"
  ],
  "code": "FDBE",
  "bytes": 3,
  "time": 19,
  "description": "Subtracts the value pointed to by iy plus * from a and affects flags according to the result. a is not modified.",
  "category": "Block Search",
  "subCategory": "CPI (ComPare and Increment)"
}