Digital Logic Circuits: Unit I: (a) Number Systems

Complements

Number Systems

The l's complement of a binary number is the number that results when we change all l's to zeros and the zeros to ones.

Complements

AU : May-11

 

1. 1’s Complement Representation

The l's complement of a binary number is the number that results when we change all l's to zeros and the zeros to ones.

 

Ex. 1.4.1 Find 1's complement of (11010100)2,

Sol . :


 

2. 2's Complement Representation

• The 2's complement is the binary number that results when we add 1 to the l's complement. It is given as,

2's complement = l's complement + 1


Ex. 1.4.2 Find 2's complement of (11000100)2.

Sol. :


 

Ex. 1.4.3 Represent the decimal number - 200 and 200 using 2's complement binary form.

Sol.:

To represent 200 and - 200 we need 9-bit number system.


Digital Logic Circuits: Unit I: (a) Number Systems : Tag: : Number Systems - Complements