Topic Content:
- Binary Arithmetic Operations – Subtraction
This operation is similar to the basic arithmetic subtraction performed on decimal numbers in Maths. Hence, when we subtract 1 from 0, we need to borrow 1 from the next higher order digit, to reduce the digit by 1 and the remainder left here is also 1.
The subtraction of binary numbers is given by:
Binary Number | Subtraction Value |
0 – 0 | 0 |
1 – 0 | 1 |
0 – 1 | 1 (Borrow 1 from next high order digit) |
1 – 1 | 0 |
When you borrow a number during subtraction, it becomes the number of the base you are subtracting from.
For example, in Base 2 if you borrow a number the number you borrow becomes 2.
Worked Example 2.2.1:
Subtract the following:
i. 1001two from 11001two
ii. 11011two from 111010two
iii. 1101two – 111two
iv. 10001two – 1110two
v. 1111two – 101two
Solution
i. 1001two from 11001two
Explanation
1st Column (from right to left): 1 – 1 = 0. Write 0.
You are viewing an excerpt of this Topic. Subscribe Now to get Full Access to ALL this Subject's Topics and Quizzes for this Term!
Click on the button "Subscribe Now" below for Full Access!
Subscribe Now
Note: If you have Already Subscribed and you are seeing this message, it means you are logged out. Please Log In using the Login Button Below to Carry on Studying!
A job well done. You are truly a blessing to the education sector.
well done kofa study