In binary number system there are only 2 digits 0 and 1, and any number can be represented by these two digits. The arithmetic of binary numbers means the operation of addition, subtraction, multiplication and division. Binary arithmetic operation starts from the least significant bit i.e. from the right most side. We will discuss the different operations one by one in the following article.
Binary AdditionThere are four steps in binary addition, they are written below
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 0 (carry 1 to the next significant bit)
An example will help us to understand the addition process. Let us take two binary numbers 10001001 and 10010101 The above example of binary arithmetic clearly explains the binary addition operation, the carried 1 is shown on the upper side of the operands.
Binary SubtractionHere are too four simple steps to keep in memory
- 0 - 0 = 0
- 0 - 1 = 1, borrow 1 from the next more significant bit
- 1 - 0 = 1
- 1 - 1 = 0
Binary MultiplicationHere are also four steps to be followed, which are
- 1×1=1 (there is no carry or borrow for this)