April 19, 2024

Binary Addition

 

  0   0   1                 1
 +0 +1 +0               +1
  0   1   1     carry(1)0

 

If a carry is generated, it is carried one position to the left as in decimal arithmetic.

Example:

Add binary numbers 101 and 111

   101
 +111
 1100

Starting from the rightmost column, 1 + 1 means that you write 0 and carry 1 to the next column on the left.
Move to the left, add 0 + 1 plus the 1 you carried. Therefore you write 0 and carry 1 to the next column.
Move to the left, add 1 + 1 plus the 1 that you carried. Therefore you write 1 and carry 1 to the next column.
Move to the left, nothing to add other than the 1 you carried. Therefore the 1 is placed in front of the other 3 binary digits.
Result 1100.

Next page » Number system exercises

Previous page « Conversion of Numbers

 

 

 

 

 

 

 

 

 

 

 

 

Up to top of page