Binary Arithmetic
ADDITION
or
1 + 1 = 10
Add numbers together as you would in decimal, except that the only additions are
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 10
and
1 + 1 + 1 = 11
There will be a carry digit when you have 10 or 11 as a result.
The red numbers are the carry from the previous column.
Write out the numbers neatly; digits should line up directly under one another
Calculate 0001 0001 + 0011 0111
|
|
|
|
1 |
|
1 |
1 |
1 |
|
|
|
|
|
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
|
|
|
|
0 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
|
|
|
|
0 |
1 |
0 |
0 |
1 |
0 |
0 |
0 |
|
|
0001 0001 + 0011 0111 = 0100 1000
This is the same as
17 + 55 = 72