edited by
16,227 views
53 votes
53 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

  1. $(C3D8)_{16}$
  2. $(187B)_{16}$
  3. $(F878)_{16}$
  4. $(987B)_{16}$
edited by

3 Answers

Best answer
84 votes
84 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}.$

Or, we can do as follows:

MSB in $\textsf{(F87B)}$ is $1.$ So, $P$ is a negative number. So, $P = -1 \ast 2$'s complement of $\textsf{(F87B)} = -1 \ast (0785) = -1 \ast (0000 0111 1000 0101)$

$8 \ast P = -1 \ast  (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$
edited by
16 votes
16 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)

Answer:

Related questions

53 votes
53 votes
10 answers
1
go_editor asked Sep 29, 2014
30,446 views
In the sequential circuit shown below, if the initial value of the output $Q_1Q_0$ is $00$. What are the next four values of $Q_1Q_0$? $11$, $10$, $01$, $00$$10$, $11$, $...
30 votes
30 votes
4 answers
2
go_editor asked Sep 29, 2014
11,492 views
What is the boolean expression for the output $f$ of the combinational logic circuit of NOR gates given below?$\overline{Q+R}$$\overline{P+Q}$$\overline{P+R}$$\overline{P...
25 votes
25 votes
3 answers
4
go_editor asked Sep 29, 2014
7,334 views
The minterm expansion of $f(P,Q,R) = PQ +Q \bar{R}+P\bar{R}$ is$m_2+m_4+m_6+m_7$$m_0+m_1+m_3+m_5$$m_0+m_1+m_6+m_7$$m_2+m_3+m_4+m_5$