| << Previous | Next >> | |
| |
SRA r Shift Right Arithmetical Rabbit 2000/3000/4000 Instruction
---- SRA r 4 (2,2)) r = {r[7],r[7,1]}; CF = r[0]
Description
Arithmetically shifts to the right the bits in r (any of the registers A, B, C, D, E, H, or L). 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 the figure below.
| | |
| << Previous | Next >> |