Binary Adding, Subtraction, Multiplication and Division
Adding, subtracting, multiplying and dividing binary numbers. A binary signal or number is one that can take only one value: 1 or 0 -or on or off.
Binary Operations
A binary signal or number is one that can take only one value: 1 or 0 -or on or off.
Addition Binary Numbers
Rule to follow when binary numbers are added:
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 0 (with a carry of 1)
Subtraction Binary Numbers
Rule to follow when binary numbers are subtracted:
- 0 - 0 = 0
- 1 - 0 = 1
- 1 - 1 = 0
- 0 - 1 = 1 (with a borrow of 1)
Multiplication of Binary Numbers
Rule to follow when binary numbers are multiplied:
- 0 × 0 = 0
- 0 × 1 = 0
- 1 × 0 = 0
- 1 × 1 = 1
Division of Binary Numbers
Rule to follow when binary numbers are divided:
- 0 / 1 = 0
- 1 / 1 = 1