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. Worksheet on Area, Perimeter and Volume | Square, Rectangle, Cube,Cubo

    Jul 25, 25 12:21 PM

    In this worksheet on area perimeter and volume you will get different types of questions on find the perimeter of a rectangle, find the perimeter of a square, find the area of a rectangle, find the ar…

    Read More

  2. Worksheet on Volume of a Cube and Cuboid |The Volume of a RectangleBox

    Jul 25, 25 03:15 AM

    Volume of a Cube and Cuboid
    We will practice the questions given in the worksheet on volume of a cube and cuboid. We know the volume of an object is the amount of space occupied by the object.1. Fill in the blanks:

    Read More

  3. Volume of a Cuboid | Volume of Cuboid Formula | How to Find the Volume

    Jul 24, 25 03:46 PM

    Volume of Cuboid
    Cuboid is a solid box whose every surface is a rectangle of same area or different areas. A cuboid will have a length, breadth and height. Hence we can conclude that volume is 3 dimensional. To measur…

    Read More

  4. Volume of a Cube | How to Calculate the Volume of a Cube? | Examples

    Jul 23, 25 11:37 AM

    Volume of a Cube
    A cube is a solid box whose every surface is a square of same area. Take an empty box with open top in the shape of a cube whose each edge is 2 cm. Now fit cubes of edges 1 cm in it. From the figure i…

    Read More

  5. 5th Grade Volume | Units of Volume | Measurement of Volume|Cubic Units

    Jul 20, 25 10:22 AM

    Cubes in Cuboid
    Volume is the amount of space enclosed by an object or shape, how much 3-dimensional space (length, height, and width) it occupies. A flat shape like triangle, square and rectangle occupies surface on…

    Read More