Page 48 - Digital Electronics by harish
P. 48
3) Add the binary numbers 11010 and 1100.
Answer :(100110) 2
4) Add (3) 10 and (3) 10 in binary.
First convert the decimal numbers to binary.
Answer :(110) 2 = (6) 10
2.1.2 Binary subtraction
In subtraction, the first number is called minuend and the second number is called is
subtrahend. The result is called the difference. Sometimes, we may get borrow also.
Minuend
- Subtrahend
Borrow Difference
The following rules are used in binary subtraction.
0 1 1 0
- 0 - 0 - 1 - 1
0 1 0 11 Difference =1, Borrow = 1
Subtraction must be carried out bit by bit starting from the LSB.
When we borrow a 1 from the next bit, we will get 10 (ie. 2 in decimal).
Examples :
1) Subtract : 1011 – 1001
1 0 1 1
- 1 0 0 1
Answer : (10) 2 0 0 1 0
2) Subtract 1010 from 100101
Answer :(11011) 2
48

