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
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?