rrca

Arithmetic // RLCA, RLA, RRCA, RRA

0x0F - u15

Description

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

T States Bytes
4 1

Condition Bits Affected

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

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "reset",
    "P/V": "unaffected",
    "N": "reset",
    "C": "affected as defined"
  },
  "operation": "rrca",
  "opcode": "rrca",
  "operand": [],
  "code": "0F",
  "bytes": 1,
  "time": 4,
  "description": "The contents of a are rotated right one bit position. The contents of bit 0 are copied to the carry flag and bit 7.",
  "category": "Arithmetic",
  "subCategory": "RLCA, RLA, RRCA, RRA"
}