80 80 votes $P$ is a $16$-bit signed integer. The $2$'s complement representation of $P$ is $(F87B)_{16}$. The $2$'s complement representation of $8\times P$ is $(C3D8)_{16}$ $(187B)_{16}$ $(F878)_{16}$ $(987B)_{16}$ Digital Logic gatecse-2010 digital-logic number-representation normal + – go_editor 26.3k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments niket singh commented Oct 3, 2024 reply Follow flag Is there any overflow 0 0 replyShare js__ commented Sep 24, 2025 reply Follow flag just Left shift is needed 2 2 replyShare hemant_pandey commented 5 days ago reply Follow flag option (A) is correct first convt. into binary and then add 000 zero's at last then again convt. into hexa decimal. 0 0 replyShare Please log in or register to add a comment.
Best answer 114 114 votes Multiplication can be directly carried in $2$’s complement form. $\textsf{F87B} = 1111 1000 0111 1011$ can be left shifted $3$ times to give $8P = 1100 0011 1101 1000 = \textsf{C3D8}.$ Alternate Method: As MSB in $\textsf{(F87B)}$ is $1$, $P$ is a negative number. So, $P = -1 \times 2$'s complement of $\textsf{(F87B)}$ $ P = -1 \times (0785) = -1 \times (0000\; 0111 \;1000 \;0101)$ $8 \ast P = -1 \times (0011 \;1100 \;0010 \;1000)\;\;\; (P$ in binary left shifted $3$ times$)$ In $2$'s complement representation , this equals, $1100 0011 1101 1000 = \textsf{C3D8}$ Correct Answer: $A$ Arjun answered Nov 18, 2014 • edited Sep 25, 2024 by Shaik Masthan Arjun comment Share Follow See all 23 Comments 23 23 Comments reply Show 20 previous comments Shubham Aggarwal commented Dec 1, 2020 reply Follow flag while performing Left shift Trailing bits will be filled with zeros, on right shift leading bits will filled with zeros. 1 1 replyShare Shreed commented Oct 12, 2023 reply Follow flag on right shift leading bits will filled with zeros – this happens only when number is unsigned 0 0 replyShare atomic commented Oct 23, 2025 reply Follow flag "Multiplication can be directly carried in 2’s complement form."Valid only for numbers multiplied by the powers of 2. i.e; 2,4,8,16, and so on.Like, here the given 2's complement number is being multiplied by 2^3.Correct me if i am wrong. 0 0 replyShare Please log in or register to add a comment.
27 27 votes $P=(F87B)_{16}=(1111|1000|0111|1011)_{2}:$ 2's compliment representation What is this number ? $(0000|0111|1000|0100)_{2}+1=(0000|0111|1000|0101)_{2}=1925$ $So, P\ is =-1925$ $-1925\times 8=-15400$ Find 2's compliment representation of $-15400$ $+15400=(0011|1100|0010|1000)_{2}$ $(1100|0011|1101|0111)_{2}+1=(1100|0011|1101|1000)_{2}=(C3D8)_{16}$ Correct Answer is (A) KUSHAGRA गुप्ता answered Jul 14, 2020 KUSHAGRA गुप्ता comment Share Follow 0 reply Please log in or register to add a comment.
12 12 votes Other way to see. Answer - A minimalist answered Dec 20, 2023 minimalist comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes left shift = x2 so we will have to do 3 left shifts convert the number to binary and then left shift 3 times , that will be your ans sanketkh11 answered Sep 26 sanketkh11 comment Share Follow 0 reply Please log in or register to add a comment.