Sunday, November 29, 2009

BINARY SUBTRACTION


This is the basics of binary subtraction.



We can't subtract 1 from 0 so we'd have to borrow from the 2nd digit.
Every time we borrow, we're actually getting 1 and 1. So we'd have:
1 0 <--- this can be written as--> 1
- 1 + 1
--------- - 1
1 --------
1

Then continue subtracting the next digits, 0 - 0 will be 0. 1 - 0 will be 1.
Final Answer is 1 0 1.

No comments:

Post a Comment