edited by
25,942 views
77 77 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}$

3 Answers

Best answer
115 115 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$
edited by
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)

Answer:
Position:
Show:

Related questions

71 71 votes
14 answers 14 answers
42.9k
42.9k views
go_editor asked Sep 29, 2014
42,867 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$, $...
43 43 votes
6 answers 6 answers
19.3k
19.3k views
go_editor asked Sep 29, 2014
19,302 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...
70 70 votes
2 answers 2 answers
27.2k
27.2k views
go_editor asked Sep 29, 2014
27,191 views
The main memory unit with a capacity of $4$ $\text{megabytes}$ is built using $1\text{M} \times \text{1-bit}$ DRAM chips. Each DRAM chip has $1\text{K}$ rows of cells wit...
41 41 votes
3 answers 3 answers
12.7k
12.7k views
go_editor asked Sep 29, 2014
12,669 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$