Professional Documents
Culture Documents
- Binary Addition: The four basic rules for adding binary digits
(bits) are as follows.
21 December 2022 3
Binary Addition
Examples:
1 1 1 1
1 1 0 1 11
+ 1 0 0 + 0 11
10 1 0 1 0 10
1 1 1 1 1 1
0 0 0 1 1 0 1 0 1 1 1 1
+0 0 0 0 1 1 0 0 + 1 1 1 1
0 0 1 0 0 1 1 0 1 1 1 1 0
Binary Subtraction(-)
• Binary Subtraction: The four basic rules for subtracting binary digits (bits)
are as follows.
0–0=0
0 – 1 = 1, and borrow 1 from the next significant bit.
1–0=1
1–1=0
21 December 2022 5
Binary Subtraction
Examples:
1 1 1 01
- 0 1 - 0 01
10 10 0
10
0 10 0 0 10
00 1 0 0 1 0 1 1 1 0 1 1
- 00 0 1 0 0 0 1 - 0 1 1 1 1
00 0 1 0 1 0 0 0 1 1 0 0
Binary Multiplication(x)
• Binary Multiplication: The four basic rules for multiplication binary digits
(bits) are as follows.
0x0=0
0x1=0
1x0=0
1 x 1 = 1, and no carry or borrow bits.
21 December 2022 7
Binary Multiplication
Examples:
1 1 0 1 Multiplicand
x 0 1 1 0 Multiplier
1 1 0 0 0 0 Partial products
1 1 0 1
1 1 0 1
+ 0 0 0 0
1 0 0 1 1 1 0 Product
21 December 2022 8
Binary Multiplication
Examples:
1 1 0 0 Multiplicand
x 0 1 1 1 Multiplier
1 1 1 0 0 Partial products
1
1 1 1 0 0
1 1 0 0
+ 0 0 0 0
1 0 1 0 1 0 0 Product
21 December 2022 9
Binary Division
The binary division operation is similar to the base 10 decimal system,
except the base 2. there are different ways to solve division problems
using binary operations. Long division is one of them and easiest and the
most efficient way.