1)Â Â Â Â An 8-bit register contains the Hex value A9. What is the register value after an arithmetic shift right? Starting from the initial number A9, determine the register value
 i)       after logical shift right
ii) after an arithmetic shift left, and state whether there is an overflow not, explain through the proper diagrams.
1)
A9=10101001
After Arithmetic Shift Right - 11010100
I) After logical shift right - 01010100
II)After Arithmetic Left shift- 01010010
There is overflow due to change in most significant bit from 1 to 0
Comments
Leave a comment