cp iyl

Block Search // CPI (ComPare and Increment)

0xFDBD - u64957

Description

Subtracts iyl from a and affects flags according to the result. a is not modified.

T States Bytes
8 2

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 iyl",
  "opcode": "cp",
  "operand": [
    "iyl"
  ],
  "code": "FDBD",
  "bytes": 2,
  "time": 8,
  "description": "Subtracts iyl from a and affects flags according to the result. a is not modified.",
  "category": "Block Search",
  "subCategory": "CPI (ComPare and Increment)"
}