2,481 views
0 0 votes
Using binary arithmetic, a number c is computed by taking the n-bit two’s complement of ‘a – b’. If n is eleven, a = 10100001001 and b = 10101 then c = ?
(A) 011000011112
(B) 011000011002
(C) 011000111002
(D) 010001111002

explain?

1 Answer

0 0 votes

 10100001001

-00000010101

______________

(10011110100)   

1's is 01100001011

2's is 01100001011

                            +1

________________

         01100001100

-----------------------------

Position:
Show:

Related questions

0 0 votes
3 3 answers
4.6k
4.6k views
Parimal Paritosh asked Sep 20, 2017
4,575 views
Please give me an example of adding two negative numbers using 2's complement number system.Let's say:-7 + (-6)