rr l

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

0xCB1D - u51997

Description

The contents of l are rotated right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of the carry flag are copied to bit 7.

T States Bytes
8 2

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": "rr l",
  "opcode": "rr",
  "operand": [
    "l"
  ],
  "code": "CB1D",
  "bytes": 2,
  "time": 8,
  "description": "The contents of l are rotated right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of the carry flag are copied to bit 7.",
  "category": "Arithmetic",
  "subCategory": "RRC, RR (Rotate Right Circular, Rotate Right)"
}