Binary subtraction

Binary subtraction

We all are familiar with subtraction of decimal numbers. Similar operation can be performed on  binary numbers. In fact binary arithmetic is much simpler than decimal, since only two digits are involved ,0 and 1.Binary arithmetic is essential part of all the digital computers .lets go for it,

Rules for binary subtraction

ABdifferenceborrow
0000
1010
1100
0111
Binary subtraction

In first three rows, there is no borrow ,while in last row (b=1)  .Similar to decimal number system ,it will be subtracted from the next higher binary position. See the example,

Example − SUBTRACTION

How to subtract two binary numbers?
1110-0011=?

010
11 1 10
0011
1011

How to subtract two binary numbers?
1000-0111=?

011
110 1010
0111
0001

follow us at youtube raulstutorial electronics

2 thoughts on “Binary subtraction”

  1. amazing tutorial.thank u thank u very much , You helped me more than my teacher,
    i learned from u lot ..

Comments are closed.