Chapter 3 Digital Arithmetics
Chapter 3 Digital Arithmetics
Chapter Three : 3
Binary Addition & Subtraction
2
Binary Arithmetic
Rules of Binary Addition
Procedure of Binary Addition
Examples of Binary Addition
Rules of Binary Subtraction
Procedure of Binary Subtraction
Examples of Binary Subtraction
Binary Arithmetic
3
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
In binary 1 + 1 = 10, not 2
Rules of Binary Addition
5
Decimal Binary
60 00111100
42 00101010
102 01100110
EXAMPLE
9
• Related Problem
Add 1111 and 1100
EXAMPLE
10
Solution:
• First, the two given decimal numbers will be converted
into their equivalent binary numbers (as further
discussed in Chapter 1).
❖ (275.75)10 = (100010011.11)2 & (37.875)10 =
(100101.111)2
Cont.…
11
000100101.111
_____________
100111001.101
12
Binary Subtraction
13
(110101)2 – (100101)2 = ?
Solution:
(42)10 = (00101010) 2
The carry has been discarded
1’s complement of -42 = 11010101
Binary Multiplication
Rules of Binary Multiplication
Procedure of Binary Multiplication
Examples of Binary Multiplication
Binary Division
Rules of Binary Division
Examples of Binary Division
Binary Multiplication
24
0÷1 = 0
0÷0 = Meaningless
Remove the zero’s in the MSB in both the dividend and divisor.
You will get the result value as 62 when you divide 124 by 2. So
the binary equivalent of 62 is (111110)2 = 6210
Both the binary and the decimal system produce the same
Result.
Example: Solve (01111100)2 ÷ (0010)2
33
Solution: