Binary Arithmetic
Binary Arithmetic
Addition
Subtraction
Multiplication
Division
ADDICTION
The four basic rules for adding binary digits (bits) are as follows:
0 + 0 = 0 Sum of 0 with a carry of 0
0 + 1 = 1 Sum of 1 with a carry of 0
1 + 0 = 1 Sum of 1 with a carry of 0
1 + 1 = 10 Sum of 0 with a carry of 1
Notice that the first three rules result in a single bit and in the fourth rule the
addition of two 1s yields a binary two (10). When binary numbers are added, the
last condition creates a sum of 0 in a given column and a carry of 1 over to the
next column to the left, as illustrated in the following examples:
Example: Add 11 + 1
In the right column, 1 + 1 = 0 with a carry of 1 to the next column to the left. In
the middle column, 1 + 1 + 0 = 0 with a carry of 1 to the next column to the left.
In the left column, 1 + 0 + 0 = 1.
Binary Division Rules
The binary division is much easier than the decimal division when you remember the following division
rules. The main rules of the binary division include:
1÷1 = 1
1÷0 = Meaningless
0÷1 = 0
0÷0 = Meaningless
Similar to the decimal number system, the binary division is similar, which follows the four-step process:
Divide
Multiply
Subtract
Bring down
Important Note: Binary division follows the long division method to find the resultant in an easy way.
Comparison with Decimal Value
(01111100)2 = (1111100)2 = 12410
(0010)2 = (10)2 = 210
You will get the resultant value as 62 when you divide 124 by 2.
So the binary equivalent of 62 is (111110) 2
(111110)2 = 6210
Both the binary and the decimal system produce the same result.
Binary Division Examples
Example 1.
Question: Solve 01111100 ÷ 0010
Solution:
Given
01111100 ÷ 0010
Here the dividend is 01111100, and the divisor is 0010
Remove the zero’s in the Most Significant Bit in both the dividend and divisor, that doesn’t change the
value of the number.
So the dividend becomes 1111100, and the divisor becomes 10.
Now, use the long division method.
Step 1: First, look at the first two numbers in the dividend
and compare with the divisor. Add the number 1 in the
quotient place. Then subtract the value, you get 1 as
remainder.
Step 2: Then bring down the next number from the
dividend portion and do the step 1 process again
Step 3: Repeat the process until the remainder becomes
zero by comparing the dividend and the divisor value.
Step 4: Now, in this case, after you get the remainder
value as 0, you have zero left in the dividend portion, so
bring that zero to the quotient portion.
Therefore, the resultant value is quotient value which is equal
to 111110
So, 01111100 ÷ 0010 = 111110
Example 2: Solve using the long division method: 101101 ÷ 101
Solution: