Binary Arithmetic

Addition

0 + 0 = 0 carry 0

0 + 1 = 1 carry 0

1 + 0 = 1 carry 0

1 + 1 = 0 carry 1

For Example:

Add the binary numbers 00111 and 10101 and show the equivalent decimal addition.

Subtraction

0 – 0 = 0 borrow 0

0 – 1 = 1 borrow 1

1 – 0 = 1 borrow 0

1 – 1 = 0 borrow 0

For Example:

Subtract the binary number 00111 from 10101 and show the equivalent decimal subtraction.