Q. Illustrate Arithmetic shifts with example?
Arithmetic shifts ARITHMETIC SHIFT LEFT and ARITHMETIC SHIFT RIGHT are same as LOGICAL SHIFT LEFT and LOGICAL SHIFT RIGHTexcept that sign bit it remains unaltered. On an arithmetic shift right, sign bit is replicated in the bit position to its right. On an arithmetic shift left, a logical shift left is performed on all bits though the sign bit that is retained.The arithmetic left shift and a logical left shift when performed on numbers signified in two's complement notation cause multiplication by 2 when there is no overflow. Arithmetic shift right corresponds to a division by 2 provided that there is no underflow.