Arithmetic // SRA (Shift Right Arithmetic)

`0xCB2F`

- `u52015`

The contents of a 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 a", "opcode": "sra", "operand": [ "a" ], "code": "CB2F", "bytes": 2, "time": 8, "description": "The contents of a 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)" }