Presentation is loading. Please wait.

Presentation is loading. Please wait.

Addition and Substraction

Similar presentations


Presentation on theme: "Addition and Substraction"— Presentation transcript:

1 Addition and Substraction
Binary 3 Addition and Substraction

2 Binary Addition Binary addition follows the same rules as decimal addition Put the two numbers you want to add one above the other Add them up column by column, and bring any carry’s to the following column (Once you have calculated your result – check your result again the decimal result)

3 Binary Addition 01101 + 01110 -------------
NOTE: 0 + 0 = 0 0 + 1 = 1 1 + 1 = 0 + carry of 1 = 1 + carry of 1 01101 Convert each number to decimal and see if your calculation was correct

4 Binary Addition Complete the following additions 01001 01100
01100

5 Binary Addition Complete the following additions 01001 01100
11000 01100 11010

6 Binary Subtraction To subtract, Convert the positive numbers
take a two’s complement of any negative numbers take a two’s complement of any number to be subtracted Add the two numbers and interpret the result If the left most bit is a 1, the number is negative and we take a two’s complement to determine what negative number it is

7 Binary Subtraction 5  3  Add together: 1) Ignore the carry, and the result is positive 2

8 Binary Subtraction 3  5  Add together: The left most bit indicates its negative, take a two’s answer is -2

9 Binary addition & subtraction
Complete the following exercises (convert to two’s complement binary representation before completing the addition. Interpret your two’s complement result) 11 – – 22 8 – – 5

10 Addition Marble Adding


Download ppt "Addition and Substraction"

Similar presentations


Ads by Google