Arithmetic // SRL (Shift Right Logical)
0xCB3A
- u52026
The contents of d are shifted right one bit position. The contents of bit 0 are copied to the carry flag and a zero is put into 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": "srl d", "opcode": "srl", "operand": [ "d" ], "code": "CB3A", "bytes": 2, "time": 8, "description": "The contents of d are shifted right one bit position. The contents of bit 0 are copied to the carry flag and a zero is put into bit 7.", "category": "Arithmetic", "subCategory": "SRL (Shift Right Logical)" }