in Digital Logic recategorized
3,784 views
0 votes
0 votes

Perform the following operation for the binary equivalent of the decimal numbers $(-14)_{10}+(-15)_{10}$. The solution in 8 bit representation is

  1. 11100011
  2. 00011101
  3. 10011101
  4. 11110011
in Digital Logic recategorized
3.8k views

4 Comments

if u perform addition in sign magnitude form then option 3

but generally we use 2's complement representation hence 1 is right
0
0
yes we use 2's complemnt form.to store -ve numbers due to its correctness..!
0
0
i think ans is B ? if i wrong then correct me
0
0

3 Answers

2 votes
2 votes

To add 2 negative binary numbers, change them into 2's complement form, and then add it.
So in this case,

  • $-(14)_{10}$ = $00001110_2$ 
  • $-(15)_{10}$ =$00001111_2$

2's complement of $(00001110)_2 \longrightarrow  11110001+1 = 11110010$
2's complement of $(00001111)_2 \longrightarrow 11110000+1 = 11110001$

add them to get the solution:

$(11110010)_2$ + $(11110001)_2= (11100011)_2$

Option $(A)$ is correct.

edited by
1 vote
1 vote

By default we use 2's complement representation.

 

1 vote
1 vote

Option A 11100011
 

(−14)10+(−15)10  

(−29)10 

=    1        1     1      0    0    0   1   1
   -128    64    32    16   8   4   2   1

Related questions