Thursday 20 December 2018

Filled Under:

2's Complement-Digital Eletronics

2's Complement

In Digital Electronics we generally find 2's complement of any given number. To find 2's complement in digital electronics is very simple.
Here we are going to understand, how to find 2's complement. So, let's get started.

Rules: 
          1.  First, find 1's complement of that given number.
          2.  Add '+1'

To see how to find 1's complement click here

For an example:
                          Let's take 0010
We have to find 2's complement of this number.
So, first, we will find 1's complement.
Which will be:   1101
Now we will add '+1' with that 1's complement.
Therefore the answer will be:  1101+1=1110
This is the 2's complement of that number.
Thus we can find 2's complement of any given number.