Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 3 – Binary Arithmetic

Similar presentations


Presentation on theme: "Lecture 3 – Binary Arithmetic"— Presentation transcript:

1 Lecture 3 – Binary Arithmetic

2 Outline Single Bit Addition with Carry Multiple Bit Addition Single Bit Subtraction with Borrow Multiple Bit Subtraction Multiplication

3 Single Bit Binary Addition with Carry

4 Multiple Bit Binary Addition
Extending this to a multiple bit examples: Carries 1 1 Augend 1 1 Addend 1 1 1 1 Sum Carries Augend Addend Sum

5 Multiple Bit Binary Addition
Extending this to a multiple bit examples: 1 1 Carries 1 1 1 Augend 1 1 1 1 Addend 1 1 1 1 Sum Carries Augend Addend Sum

6 Single Bit Binary Subtraction with Borrow
Given two binary digits (X,Y), a borrow in (Z) we get the following difference (S) and borrow (B): Borrow in (Z) of 0: Borrow in (Z) of 1: Z X 1 - Y -0 -1 BS 0 0 1 1 0 1 Z 1 X - Y -0 -1 BS 11 1 0 0 0 1 1

7 Multiple Bit Binary Subtraction
Extending this to a multiple bit example: Notes: The 0 is a Borrow-In to the least significant bit. If the Subtrahend > the Minuend, interchange and append a – to the result. Borrows 1 1 1 Minuend 1 1 Borrows Minuend Subtrahend – –10011 Difference Subtrahend 1 Difference

8 Multiple Bit Binary Subtraction
Extending this to a multiple bit examples: Notes: The 0 is a Borrow-In to the least significant bit. If the Subtrahend > the Minuend, interchange and append a – to the result. 1 1 Borrows 1 1 1 Minuend 1 1 1 Borrows Minuend Subtrahend – –10011 Difference Subtrahend 1 1 Difference

9 Binary Multiplication

10 Summary Single Bit Addition with Carry Multiple Bit Addition Single Bit Subtraction with Borrow Multiple Bit Subtraction Multiplication

11 Terms of Use © 2004 by Pearson Education,Inc. All rights reserved.
The following terms of use apply in addition to the standard Pearson Education Legal Notice. Permission is given to incorporate these materials into classroom presentations and handouts only to instructors adopting Logic and Computer Design Fundamentals as the course text. Permission is granted to the instructors adopting the book to post these materials on a protected website or protected ftp site in original or modified form. All other website or ftp postings, including those offering the materials for a fee, are prohibited. You may not remove or in any way alter this Terms of Use notice or any trademark, copyright, or other proprietary notice, including the copyright watermark on each slide. Return to Title Page


Download ppt "Lecture 3 – Binary Arithmetic"

Similar presentations


Ads by Google