SRA
Arithmetic shift right 1 bit, bit 0 goes to carry flag, bit 7 remains unchanged.
Syntax
SRA A
SRA B
SRA C
SRA D
SRA E
SRA H
SRA L
SRA (HL)
SRA (IX+d)
SRA (IY+d)
Allowed Instructions
Effects
S and Z set according to definition, H and N reset, C from bit 0, P/V if parity is 0.
Uses
T-States
r denotes 8-bit register.r | 8 |
(hl) | 15 |
(ix+X) | 23 |
(iy+X) | 23 |
See Also
page revision: 2, last edited: 16 Dec 2014 18:44