PPT: Binary Arithmetic | Digital Electronics - Electrical Engineering (EE) PDF Download

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


Chapter 1            19
ARITHMETIC OPERATIONS - Binary
Arithmetic
§ Single Bit Addition with Carry
§ Multiple Bit Addition
§ Single Bit Subtraction with Borrow
§ Multiple Bit Subtraction
§ Multiplication
§ BCD Addition
Page 2


Chapter 1            19
ARITHMETIC OPERATIONS - Binary
Arithmetic
§ Single Bit Addition with Carry
§ Multiple Bit Addition
§ Single Bit Subtraction with Borrow
§ Multiple Bit Subtraction
§ Multiplication
§ BCD Addition
Chapter 1            20
Single Bit Binary Addition with Carry
Given two binary digits (X,Y), a carry in (Z) we get the
following sum (S) and carry (C):
Carry in (Z) of 0:
Carry in (Z) of 1:
Z 1 1 1 1
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 1 1 0 1 0 1 1
Z 0 0 0 0
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 0 0 1 0 1 1 0
Page 3


Chapter 1            19
ARITHMETIC OPERATIONS - Binary
Arithmetic
§ Single Bit Addition with Carry
§ Multiple Bit Addition
§ Single Bit Subtraction with Borrow
§ Multiple Bit Subtraction
§ Multiplication
§ BCD Addition
Chapter 1            20
Single Bit Binary Addition with Carry
Given two binary digits (X,Y), a carry in (Z) we get the
following sum (S) and carry (C):
Carry in (Z) of 0:
Carry in (Z) of 1:
Z 1 1 1 1
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 1 1 0 1 0 1 1
Z 0 0 0 0
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 0 0 1 0 1 1 0
Chapter 1            21
§ Extending this to two multiple bit
examples:
Carries 0 0
Augend 01100     10110
Addend     +10001 +10111
Sum
§ Note:  The 0 is the default Carry-In to the
least significant bit.
Multiple Bit Binary Addition
Page 4


Chapter 1            19
ARITHMETIC OPERATIONS - Binary
Arithmetic
§ Single Bit Addition with Carry
§ Multiple Bit Addition
§ Single Bit Subtraction with Borrow
§ Multiple Bit Subtraction
§ Multiplication
§ BCD Addition
Chapter 1            20
Single Bit Binary Addition with Carry
Given two binary digits (X,Y), a carry in (Z) we get the
following sum (S) and carry (C):
Carry in (Z) of 0:
Carry in (Z) of 1:
Z 1 1 1 1
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 1 1 0 1 0 1 1
Z 0 0 0 0
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 0 0 1 0 1 1 0
Chapter 1            21
§ Extending this to two multiple bit
examples:
Carries 0 0
Augend 01100     10110
Addend     +10001 +10111
Sum
§ Note:  The 0 is the default Carry-In to the
least significant bit.
Multiple Bit Binary Addition
Chapter 1            22
§ 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:
Single Bit Binary Subtraction with Borrow
Z 1 1 1 1
X 0 0 1 1
-Y -0 -1 -0 -1
BS 11 1 0 0 0 1 1
Z 0 0 0 0
X 0 0 1 1
-Y -0 -1 -0 -1
BS 0 0 1 1 0 1 0 0
Page 5


Chapter 1            19
ARITHMETIC OPERATIONS - Binary
Arithmetic
§ Single Bit Addition with Carry
§ Multiple Bit Addition
§ Single Bit Subtraction with Borrow
§ Multiple Bit Subtraction
§ Multiplication
§ BCD Addition
Chapter 1            20
Single Bit Binary Addition with Carry
Given two binary digits (X,Y), a carry in (Z) we get the
following sum (S) and carry (C):
Carry in (Z) of 0:
Carry in (Z) of 1:
Z 1 1 1 1
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 1 1 0 1 0 1 1
Z 0 0 0 0
X 0 0 1 1
+ Y + 0 + 1 + 0 + 1
C S 0 0 0 1 0 1 1 0
Chapter 1            21
§ Extending this to two multiple bit
examples:
Carries 0 0
Augend 01100     10110
Addend     +10001 +10111
Sum
§ Note:  The 0 is the default Carry-In to the
least significant bit.
Multiple Bit Binary Addition
Chapter 1            22
§ 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:
Single Bit Binary Subtraction with Borrow
Z 1 1 1 1
X 0 0 1 1
-Y -0 -1 -0 -1
BS 11 1 0 0 0 1 1
Z 0 0 0 0
X 0 0 1 1
-Y -0 -1 -0 -1
BS 0 0 1 1 0 1 0 0
Chapter 1            23
§ Extending this to two multiple bit examples:
Borrows 0 0
Minuend 10110     10110
Subtrahend - 10010 - 10011
Difference
§ Notes: The 0 is a Borrow-In to the least significant
bit. If the Subtrahend > the Minuend, interchange
and append a – to the result.
Multiple Bit Binary Subtraction
Read More
115 videos|71 docs|58 tests

Top Courses for Electrical Engineering (EE)

FAQs on PPT: Binary Arithmetic - Digital Electronics - Electrical Engineering (EE)

1. What is binary arithmetic?
Ans. Binary arithmetic refers to the mathematical operations, such as addition, subtraction, multiplication, and division, that are performed on binary numbers. Binary numbers are a base-2 numeral system that uses only two digits, 0 and 1, to represent numbers.
2. How is addition carried out in binary arithmetic?
Ans. Addition in binary arithmetic is similar to addition in decimal arithmetic. Each digit of the binary numbers is added column-wise, starting from the rightmost digit. If the sum of two digits is 0 or 1, it is written as it is. If the sum is 2, it is written as 0 and a carry of 1 is added to the next column.
3. Can you explain binary subtraction?
Ans. Binary subtraction is similar to decimal subtraction. Each digit of the binary numbers is subtracted column-wise, starting from the rightmost digit. If the minuend digit is smaller than the subtrahend digit, a borrow of 1 is taken from the next higher-value digit. The difference is then calculated accordingly.
4. How is multiplication performed in binary arithmetic?
Ans. Multiplication in binary arithmetic is similar to multiplication in decimal arithmetic. Each digit of the multiplier is multiplied with each digit of the multiplicand, and the results are added together with proper placement of zeroes. The final result is the product of the two binary numbers.
5. What about division in binary arithmetic?
Ans. Division in binary arithmetic is similar to division in decimal arithmetic. The divisor is subtracted from the dividend, and if the result is non-negative, it becomes the new dividend. This process is repeated until the dividend becomes smaller than the divisor. The quotient is formed by keeping track of the number of subtractions performed and the remainders obtained.
115 videos|71 docs|58 tests
Download as PDF
Explore Courses for Electrical Engineering (EE) exam

Top Courses for Electrical Engineering (EE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

mock tests for examination

,

practice quizzes

,

study material

,

shortcuts and tricks

,

Summary

,

PPT: Binary Arithmetic | Digital Electronics - Electrical Engineering (EE)

,

ppt

,

past year papers

,

MCQs

,

Viva Questions

,

Previous Year Questions with Solutions

,

Sample Paper

,

PPT: Binary Arithmetic | Digital Electronics - Electrical Engineering (EE)

,

Extra Questions

,

Free

,

Exam

,

PPT: Binary Arithmetic | Digital Electronics - Electrical Engineering (EE)

,

video lectures

,

Important questions

,

pdf

,

Objective type Questions

,

Semester Notes

;