• edited by
889 views
2 2 votes

Q. 13 A number in 4-bit two's complement representation is $X_{3} X_{2} X_{1} X_{0}$. This number when stored using 8-bits will be

  1. $0000 X_{3} X_{2} X_{1} X_{0}$
  2. $1111 x_{3} x_{2} x_{1} x_{0}$
  3. $X_{3} x_{3} x_{3} X_{3} X_{3} x_{2} X_{1} x_{0}$
  4. $\bar{X}_{3} \bar{X}_{3} \bar{X}_{3} \bar{X}_{3} \bar{X}_{3} X_{2} X_{1} X_{0}$

1 Answer

1 1 vote
A $4$ bit $2’s$ complement representation of a number is $X_3X_2X_1X_0$. To represent it in $8$ bit form just simply copy the sign bit for an extra bit that is :

$X_3X_2X_1X_0$ can be represent in $8$ bit form as: $X_3X_3X_3X_3X_3X_2X_1X_0$.

Option (A),(B) is wrong here it represents positive and negative numbers respectively.

Option (C) is correct.
Position:
Show:

Related questions

0 0 votes
0 0 answers
581
581 views
air1ankit asked Aug 24, 2017
581 views
The once compliment of the given BCD excess -3 code is 9's compliment of the given BCD in the excess -3 form because of this Excess-3 code is named as self complimentry c...
0 0 votes
1 1 answer
1.1k
1.1k views
Jyoti Kumari97 asked Jan 1, 2019
1,058 views
How to solve this? Q. 7 Just before the flip-flops of the counter are cleared (that is, when the counter is in the last used state), the flip flop outputs are made to pas...
0 0 votes
1 1 answer
1.5k
1.5k views
Jyoti Kumari97 asked Dec 31, 2018
1,517 views
How to solve this question? (d) Binary to Excess-Q. 6 A three-bit shift register is shown in the given figure.To have the content ' 000 ' again, the number of clock pulse...
0 0 votes
2 2 answers
2.8k
2.8k views
Jyoti Kumari97 asked Dec 31, 2018
2,846 views
a 4 bit serial in parallel out shift register is used with a feedback as shown in figure below the shifting sequences q3 - >q2- q1- q0. if the output is initially 0000, ...