Presentation is loading. Please wait.

Presentation is loading. Please wait.

How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B 0 0 0 1 1 0 1 1 0 0 0 1 A B 0 0 0 1 1 0 1 1 0 1 1 1.

Similar presentations


Presentation on theme: "How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B 0 0 0 1 1 0 1 1 0 0 0 1 A B 0 0 0 1 1 0 1 1 0 1 1 1."— Presentation transcript:

1 How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B 0 0 0 1 1 0 1 1 0 0 0 1 A B 0 0 0 1 1 0 1 1 0 1 1 1

2 Exclusive OR gate: XOR Gate A B Output A B 0 0 0 1 1 0 1 1 0 1 1 0

3 Simple Adder Circuit: AND Gate 0 0 Carry over = 0 XOR Gate 0 0 Output = 0 AND Gate 1 0 Carry over = 0 XOR Gate 1 0 Output = 1 + +

4 Simple Adder Circuit: AND Gate 0 1 Carry over = 0 XOR Gate 0 1 Output = 1 AND Gate 1 1 Carry over = 1 XOR Gate 1 1 Output = 0 + +

5 Full Adder circuit 0 + 0, carry = 0 AND Gate 0 0 Carry over = 0 XOR Gate Carry over input = 0 0 Output = 0 OR Gate AND Gate 0 XOR Gate 0 0 0 0 0 0 0 +

6 Full Adder circuit 0+1, carry = 0: AND Gate 0 1 Carry over = 0 XOR Gate Carry over input = 0 0 Output = 1 OR Gate AND Gate 1 XOR Gate 1 0 0 1 0 0 0 +

7 Full Adder circuit 1+0, carry = 1: AND Gate 1 1 Carry over = 1 XOR Gate Carry over input = 1 0 Output = 0 OR Gate AND Gate 1 XOR Gate 1 0 0 1 1 1 1 +

8 Multi-Bit Adder: X. Y. Z. XYZXYZ XYZXYZ XYZXYZ C. C. C.C.


Download ppt "How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B 0 0 0 1 1 0 1 1 0 0 0 1 A B 0 0 0 1 1 0 1 1 0 1 1 1."

Similar presentations


Ads by Google