inir

Input and Output // INIR (INput and Increment Repeated)

0xEDB2 - u60850

Description

A byte from port c is written to the memory location pointed to by hl. Then hl is incremented and b is decremented. If b is not zero, this operation is repeated. Interrupts can trigger while this instruction is processing.

T States Bytes
21 2

Condition Bits Affected

S unknown
Z set
H unknown
P/V unknown
N set
C unaffected

source
{
  "flags": {
    "S": "unknown",
    "Z": "set",
    "H": "unknown",
    "P/V": "unknown",
    "N": "set",
    "C": "unaffected"
  },
  "operation": "inir",
  "opcode": "inir",
  "operand": [],
  "code": "EDB2",
  "bytes": 2,
  "time": 21,
  "description": "A byte from port c is written to the memory location pointed to by hl. Then hl is incremented and b is decremented. If b is not zero, this operation is repeated. Interrupts can trigger while this instruction is processing.",
  "category": "Input and Output",
  "subCategory": "INIR (INput and Increment Repeated)"
}