Adding Binary Numbers
The addition of binary numbers is similar to the addition of decimal numbers. Numbers in each column are added together with a possible carry from a previous column. The primitive addition operations are:
Subtracting Binary Numbers
To subtract one binary number from another, convert the number to be subtracted into negative and then add the two numbers.