1) An 8-bit register contains the Hex value 67. What is the register value after an arithmetic shift right? Starting from the initial number 67, 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.
R = 10011100 Arithmetic shift right: 11001110
Arithmetic shift left: 00111000 overflow because a negative number changed to positive.
Comments
Leave a comment