Jump to content

Binary addition

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 61.0.139.118 (talk) at 03:06, 15 November 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Addition of binary numbers is very similar to adding decimal numbers, take an example:

Let's look at the above example step by step:

1 + 1 = 0 (carry one) 1 + 1 (+ the carry) = 1 (carry one) 0 + 1 (+ the carry) = 0 (carry one) 1 + 0 (+ the carry) = 0 (carry one) 1 + 0 (+ the carry) = 0 (carry one) 0 + 1 (+ the carry) = 0 (carry one) 1 + 0 (+ the carry) = 0 (carry one)

The last carry is placed at the left hand side of the result giving: 10000010