rrc (iy+*),a

Arithmetic // RRC, RR (Rotate Right Circular, Rotate Right)

0xFDCB**0F - u64971

Description

The contents of the memory location pointed to by iy plus * are rotated right one bit position. The contents of bit 0 are copied to the carry flag and bit 7. The result is then stored in a.

T States Bytes
23 4

Condition Bits Affected

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

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "reset",
    "P/V": "detects parity",
    "N": "reset",
    "C": "affected as defined"
  },
  "operation": "rrc (iy+*),a",
  "opcode": "rrc",
  "operand": [
    "(iy+*)",
    "a"
  ],
  "code": "FDCB**0F",
  "bytes": 4,
  "time": 23,
  "description": "The contents of the memory location pointed to by iy plus * are rotated right one bit position. The contents of bit 0 are copied to the carry flag and bit 7. The result is then stored in a.",
  "category": "Arithmetic",
  "subCategory": "RRC, RR (Rotate Right Circular, Rotate Right)"
}