Saturday, March 10, 2012

Subtracting Binary Numbers


These are the steps in SUBTRACTING Binary Numbers:
  • Just like in adding, you must first align the binary numbers accordingly.
  • Apply the rules of subtracting in each column remember that (0-0=0, 1-0=1, 1-1=0, 0-1=1borrow 1)
  • Repeat  the steps for other columns.
Examples of Subtracting Binary Numbers:
• 1011011 − 10010 = 1001001:
1011011
−10010
1001001
• 1010110 − 101010 = 101100:
00
×110×110110
−101010
101100
• 1000101 − 101100 = 11001:
011
×1×10×1010101
−101100
11001
• 100010110 − 1111010 = 10011100:
011110
×1×10×10×10×110110
−1111010
10011100
• 101101 − 100111 = 110:
010
10×1×1101
−100111
110
• 1110110 − 1010111 = 11111:
01011010
1×1×1×10×1×110
−1010111
11111



1 comment: