Presentation is loading. Please wait.

Presentation is loading. Please wait.

– Digital Circuit 1 Choopan Rattanapoka

Similar presentations


Presentation on theme: "– Digital Circuit 1 Choopan Rattanapoka"— Presentation transcript:

1 350151 – Digital Circuit 1 Choopan Rattanapoka
Binary Arithmetic – Digital Circuit 1 Choopan Rattanapoka

2 Binary Arithmetic Addition ( + ) Subtraction ( - )
Multiplication ( x ) Division ( / )

3 Binary Addition (1) Recall decimal addition

4 Binary Addition (2) Binary addition

5 Example Add the following binary numbers : 10010011 + 01001011 1 1
1 1 +

6 Exercise 1 Add the following binary numbers (answer in binary and decimal number) :

7 Binary Subtraction (1) Recall decimal subtraction 100 – 28 9 0 10 10
1 0 0 - 2 8 7 2

8 Binary Subtraction (2) 0 - 0 = 0  0 borrow = 1  1 borrow = 1  1 borrow = 0  0 borrow 0 0 2 10 – 01  - 0 1

9 Example 11011 – 10101 0 2

10 Exercise 2 Subtract the following binary numbers (answer in binary and decimal number) :

11 Binary Multiplication (1)
Recall decimal multiplication 125 x 12 1 2 5 x 1 2 2 5 0 +

12 Binary Multiplication (2)
A basic rules for binary multiplication 0 x 0  0 0 x 1  0 1 x 0  0 1 x 1  1

13 Example x 1101 x + + +

14 Exercise 3 Multiply the following binary numbers: 110 x 10 0110 x 1010

15 Binary Division Recall decimal devision 125 / 5 2 5 1 0 - -

16 Example / 101

17 Exercise 4 Divide in binary: 10001101 / 110 110000011 / 1011
/ 1010

18 Exercise 5 (TODO) Add, Subtract, and multiply in binary:
Divide in binary: / 101 / 1110 / 1001


Download ppt "– Digital Circuit 1 Choopan Rattanapoka"

Similar presentations


Ads by Google