Professional Documents
Culture Documents
system architecture, every value that you are saving or getting into/from
computer memory has a defined number system.
Binary Subtraction :
Borrow method :
To perform subtraction of binary numbers by using this method
perform the following steps :
1. If the lower digit is larger than the upper digit, borrow from
the column to the left. The value borrowed depends upon the
base of the number.
2. Subtract the lower value from the upper value. The table for
binary subtraction is given below.
0-0=0
1-0=1
1-1=0
0-1=1 (with borrow from the next left column)
1’s compliment method :
To perform subtraction of binary numbers by using 1’s compliment
perform the following steps :
1. Find the 1’s compliment of the number to be subtracted
2. Add it to the number from which it is to be subtracted
3. If the sum results in a carry 1, then add it in the least
significant bit(LSB) of the sum.