rrc (ix+*),b

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

0xDDCB**08 - u56779

Description

The contents of the memory location pointed to by ix 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 b.

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 (ix+*),b",
  "opcode": "rrc",
  "operand": [
    "(ix+*)",
    "b"
  ],
  "code": "DDCB**08",
  "bytes": 4,
  "time": 23,
  "description": "The contents of the memory location pointed to by ix 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 b.",
  "category": "Arithmetic",
  "subCategory": "RRC, RR (Rotate Right Circular, Rotate Right)"
}