Rules of Binary Addition: Addition Subtraction Multiplication Division Notes
Rules of Binary Addition: Addition Subtraction Multiplication Division Notes
Addition
Subtraction
Multiplication
Division
Notes
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0, and carry 1 to the next more significant bit
For example,
0 0 1 0 0 1 1 0 = 38(base 10)
00010011 + 00111110 = 01010001 1 1 1 1 1 carries
0 0 0 1 0 0 1 1 = 19(base 10)
+ 0 0 1 1 1 1 1 0 = 62(base 10)
0 1 0 1 0 0 0 1 = 81(base 10)
Note: The rules of binary addition (without carries) are the same as the truths of the XOR gate.
0 - 0 = 0
0 - 1 = 1, and borrow 1 from the next more significant bit
1 - 0 = 1
1 - 1 = 0
For example,
0 x 0 = 0
0 x 1 = 0
1 x 0 = 0
1 x 1 = 1, and no carry or borrow bits
For example,
Note: The rules of binary multiplication are the same as the truths of the AND gate.
Another Method: Binary multiplication is the same as repeated binary addition; add the
multicand to itself the multiplier number of times.
For example,
Binary Division
For example,
)
1 1 0 0 0 1 1
0 1 0 1 0 = 42(base 10)
- 1 1 0 = 6(base 10)
1 borrows
1 0 1
0 1
- 1 1 0
1 1 0
- 1 1 0
0
10000111 ÷ 00000101 = 1 1 0 1 1 = 27(base 10)
00011011
)
1 0 1 1 0 0 1
0 0 1 1 1 = 135(base 10)
- 1 0 1 = 5(base 10)
1 1 10
- 1 0 1
1 1
- 0
1 1 1
- 1 0 1
1 0 1
- 1 0 1
0
Notes