otdr

Input and Output // OUTI (Out and Increment), OTIR (Out and Increment Repeated), OUTD (Out and Decrement), OTDR (Out and Decrement Repeated)

0xEDBB - u60859

Description

A byte from the memory location pointed to by hl is written to port c. 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": "otdr",
  "opcode": "otdr",
  "operand": [],
  "code": "EDBB",
  "bytes": 2,
  "time": 21,
  "description": "A byte from the memory location pointed to by hl is written to port c. 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": "OUTI (Out and Increment), OTIR (Out and Increment Repeated), OUTD (Out and Decrement), OTDR (Out and Decrement Repeated)"
}