Arithmetic // SRA (Shift Right Arithmetic)
0xCB29
- u52009
The contents of c are shifted right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of bit 7 are unchanged.
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": "sra c", "opcode": "sra", "operand": [ "c" ], "code": "CB29", "bytes": 2, "time": 8, "description": "The contents of c are shifted right one bit position. The contents of bit 0 are copied to the carry flag and the previous contents of bit 7 are unchanged.", "category": "Arithmetic", "subCategory": "SRA (Shift Right Arithmetic)" }