in Digital Logic
285 views
0 votes
0 votes

WHAT SHOULD BE THE ANSWER?

in Digital Logic
285 views

5 Comments

-48 -23 = -71 

2's complement representation of -71 = 1's complement of 71 + 1

71 = 64+4+2+1 = 01000111 ==>1's complement of 71 = 10111000

2's complement representation of -71 = 10111000+1 =  10111001

option A is right answer.

some good info about 2's complement representation https://gateoverflow.in/209179/self-doubt

1
1
option a

covert both numbers in 2's complement then add or add them then convert to 2's complement
0
0
i was also getting a only, but in the answer key option b was there, so i got confused!
1
1

Gate Fever oops b is correct they want 2's complement of result. 

result is $10111001$ and 2's complement will be $01000111$

 

2
2

@Mk Utkarsh

yes bro.... i also didn't notice that !

0
0

Please log in or register to answer this question.

Related questions