Subtraction by 1’s Complement

In subtraction by 1’s complement we subtract two binary numbers using carried by 1’s complement.


The steps to be followed in subtraction by 1’s complement are:

i) To write down 1’s complement of the subtrahend.

ii) To add this with the minuend.

iii) If the result of addition has a carry over then it is dropped and an 1 is added in the last bit.

iv) If there is no carry over, then 1’s complement of the result of addition is obtained to get the final result and it is negative.

Evaluate:

(i) 110101 – 100101

Solution:

1’s complement of 10011 is 011010. Hence

                                     Minued -              1 1 0 1 0 1

      1’s complement of subtrahend -              0 1 1 0 1 0

                                Carry over -     1       0 0 1 1 1 1

                                                                           1

                                                              0 1 0 0 0 0

The required difference is 10000


(ii) 101011 – 111001

Solution:

1’s complement of 111001 is 000110. Hence

                                    Minued -              1 0 1 0 1 1

                           1’s complement -            0 0 0 1 1 0

                                                              1 1 0 0 0 1

Hence the difference is – 1 1 1 0


(iii) 1011.001 – 110.10

Solution:

1’s complement of 0110.100 is 1001.011 Hence

                                     Minued -              1 0 1 1 . 0 0 1

      1’s complement of subtrahend -              1 0 0 1 . 0 1 1

                                Carry over -     1       0 1 0 0 . 1 0 0

                                                                                1

                                                              0 1 0 0 . 1 0 1

Hence the required difference is 100.101


(iv) 10110.01 – 11010.10

Solution:

1’s complement of 11010.10 is 00101.01

                                                  1 0 1 1 0 . 0 1

                                                  0 0 1 0 1 . 0 1

                                                  1 1 0 1 1 . 1 0

Hence the required difference is – 00100.01 i.e. – 100.01

Binary Numbers

  • Decimal Number System
  • Why Binary Numbers are Used
  • Binary to Decimal Conversion
  • Conversion of Numbers
  • Hexa-decimal Number System
  • Conversion of Binary Numbers to Octal or Hexa-decimal Numbers
  • Octal and Hexa-Decimal Numbers
  • Signed-magnitude Representation
  • Radix Complement
  • Diminished Radix Complement
  • Arithmetic Operations of Binary Numbers


From Subtraction by 1’s Complement to HOME PAGE




Didn't find what you were looking for? Or want to know more information about Math Only Math. Use this Google Search to find what you need.



New! Comments

Have your say about what you just read! Leave me a comment in the box below. Ask a Question or Answer a Question.

Share this page: What’s this?

Recent Articles

  1. Shifting of Digits in a Number |Exchanging the Digits to Another Place

    May 19, 24 06:35 PM

    Shifting of Digits in a Number
    What is the Effect of shifting of digits in a number? Let us observe two numbers 1528 and 5182. We see that the digits are the same, but places are different in these two numbers. Thus, if the digits…

    Read More

  2. Formation of Greatest and Smallest Numbers | Arranging the Numbers

    May 19, 24 03:36 PM

    Formation of Greatest and Smallest Numbers
    the greatest number is formed by arranging the given digits in descending order and the smallest number by arranging them in ascending order. The position of the digit at the extreme left of a number…

    Read More

  3. Formation of Numbers with the Given Digits |Making Numbers with Digits

    May 19, 24 03:19 PM

    In formation of numbers with the given digits we may say that a number is an arranged group of digits. Numbers may be formed with or without the repetition of digits.

    Read More

  4. Arranging Numbers | Ascending Order | Descending Order |Compare Digits

    May 19, 24 02:23 PM

    Arranging Numbers
    We know, while arranging numbers from the smallest number to the largest number, then the numbers are arranged in ascending order. Vice-versa while arranging numbers from the largest number to the sma…

    Read More

  5. Comparison of Numbers | Compare Numbers Rules | Examples of Comparison

    May 19, 24 01:26 PM

    Rules for Comparison of Numbers
    Rule I: We know that a number with more digits is always greater than the number with less number of digits. Rule II: When the two numbers have the same number of digits, we start comparing the digits…

    Read More