Arithmetic // RRC, RR (Rotate Right Circular, Rotate Right)
0xCB1A
- u51994
The contents of d 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 |
S affected as defined
Z affected as defined
H reset
P/V detects parity
N reset
C affected as defined
{ "flags": { "S": "affected as defined", "Z": "affected as defined", "H": "reset", "P/V": "detects parity", "N": "reset", "C": "affected as defined" }, "operation": "rr d", "opcode": "rr", "operand": [ "d" ], "code": "CB1A", "bytes": 2, "time": 8, "description": "The contents of d 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)" }