Adding binary numbers
Adding binary numbers is very similar to adding decimal numbers, first 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
reference: helpwithpcs.com

No comments:
Post a Comment