Arithmetic // SRA (Shift Right Arithmetic)


An arithmetic shift right 1 bit position is performed on the contents of operand m. The contents of bit 0 are copied to the Carry flag and the previous contents of bit 7 remain unchanged. Bit 0 is the least-significant bit.


Index Register IX contains 1000h and memory location 1003h contains the following data. 76534 2 10 10111 0 00 Upon the execution of an SRA (IX+3h) instruction, memory location 1003h and the Carry flag now contain: 76534 2 10C 0 101 1 1 10 0