indr

Input and Output // IND, INDR (INput and Decrement, INput and Decrement Repeated)

0xEDBA - u60858

Description

A byte from port c is written to the memory location pointed to by hl. Then hl and b are 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": "indr",
  "opcode": "indr",
  "operand": [],
  "code": "EDBA",
  "bytes": 2,
  "time": 21,
  "description": "A byte from port c is written to the memory location pointed to by hl. Then hl and b are decremented. If b is not zero, this operation is repeated. Interrupts can trigger while this instruction is processing.",
  "category": "Input and Output",
  "subCategory": "IND, INDR (INput and Decrement, INput and Decrement Repeated)"
}