![]() |
|
| << Previous | Next >> | |
| | |
SRA (HL) Shift Right Arithmetic Rabbit 2000/3000/4000/5000 Instruction
CB 2E SRA (HL) (HL) = {(HL)[7],(HL)[7,1]}
CF = (HL)[0]
Rabbit 2000/3000/4000 Rabbit 5000
Description
Arithmetically shifts to the right the bits in the data whose address is HL.
Bits 7 through 1 are shifted to the next lowest-order bit position (bit 7 is shifted to bit 6, etc.). Bit 7 is also copied to itself. Bit 0 is shifted to the C flag. See Figure 22 for an illustration.
| Rabbit Instructions | << Previous | Next >> | rabbit.com |