recategorized by
9,066 views
2 votes
2 votes

The two numbers represented in signed $\text{2s}$ complement form are $\text{P}= 11101101$ and $\text{Q}= 11100110.$ If $\text{Q}$ is subtracted from $\text{P},$ the value obtained in signed $\text{2s}$ complement form is: 

  1. $1000001111$
  2. $00000111$
  3. $11111001$
  4. $111111001$
recategorized by

2 Answers

1 votes
1 votes

Ans.b) 0000 0111

The most significant bit is 1 in P and Q, so the both represents a negative value

P= 1110 1101= (-19)10

Q= 1110 0110= (-26)10

P-Q=(-19) - (-26) = -19 + 26 = 7 =(0000 0111)2

0 votes
0 votes
P = 11101101

Q = 11100110

P-Q = P+(-Q) [Here (-Q) means 2's complement of Q]

So, 2's complement of Q = 0001 1001 + 1 = 0001 1010

Now P + Q = 1110 1101 + 0001 1010 = 0000 0111

Answer is option (b)
edited by

Related questions

1 votes
1 votes
1 answer
1
sh!va asked Feb 27, 2017
1,631 views
What is the division factor of the given clock divider circuit?$2$$3$$1.5$$2.5$
4 votes
4 votes
1 answer
2
sh!va asked Feb 27, 2017
4,034 views
If a counter having $10$ flip flops is initially at $0,$ what count will it hold after $2060$ pulses?$000\; 000\; 1100$$000 \;001\; 1100$$000 \;001\; 1000$$000 \;000\; 11...
1 votes
1 votes
2 answers
3
sh!va asked Feb 27, 2017
1,097 views
Which of the following is the Boolean function for majority voting, assuming $\text{A, B, C}$ are inputs and $\text{Y}$ is output?$\text{Y = AB + AC + BC}$$\text{Y = A + ...
2 votes
2 votes
2 answers
4