3,799 views

3 Answers

1 votes
1 votes
1001(-7) + 1010(-6) =10011(result is in 2's form)

10011(-13)

01100

+1

=1101(+13)
0 votes
0 votes
-7 + (-6) = -13

13 = 00001101 (in 8 bit format,,,,,,+ve number represent in true form)
-13 = 11110011 (in 2's compliment)
0 votes
0 votes
+Range of 2s compliment is -(2^n) to +(2^n-1). So with 4 bits we can represent numbers between -8 to +7.

-7 in 2s compliment = 1001

-6 in 2s compliment = 1010

1001+1010= 0011 with carry 1. Carry of the sign bit and carry into the sign bit are different so overflow occured here.

Answer is 1-0011 in 2s compliment.

so answer is 011 in 2s compliment.

Related questions

0 votes
0 votes
1 answer
1
Parimal Paritosh asked Sep 21, 2017
431 views
How are negative numbers represented in unsigned binary representation?Example: 0001-0010==== 1111The result is the negative of 2's complement = -0001But how is this -000...
5 votes
5 votes
1 answer
2
0 votes
0 votes
0 answers
3
kd..... asked Jun 7, 2018
246 views
did there is any number which has the recursive decimal and it is irrational?did there is any number which is neither recursive nor terminating decimal still expressed as...
1 votes
1 votes
0 answers
4
Ketty asked Jun 8, 2016
545 views