Digital Electronics
Principles & Applications
Fifth Edition
Chapter 10
Arithmetic Circuits
©1999 Glencoe/McGraw-Hill
Roger L. Tokheim
CHAPTER 10 PREVIEW
• Binary Addition
• Half & Full Adders
• Binary Subtraction
• Half & Full Subtractors
• Parallel Adders and Subtractors
• Using Adders for Subtraction
• Binary Multiplication
• Binary Multipliers
• Half & Full Adders
• 2s Complement
• Conceptually similar to decimal addition
• Example: Add the binary numbers 1010 and 11
BINARY ADDITION
1 0 1 0
+ 1 1
(carry)
1
1
0
1
1
Add the Binary numbers 11010 and 1100
TEST
1 1 0 1 0
+ 1 1 0 0
(carry)
1
0
1
1
0
0
1
(carry)
1
• Logic device that adds two binary numbers
• Only adds Least Significant Digit (LSD) column
(1s column) in binary addition
HALF ADDER
A
B
 (sum)
C0 (carry out)
Half
Adder
Input Output
Logic
Symbol:
Logic
Diagram:
Used for adding binary place values other than the 1s place
FULL ADDER
Logic
Symbol:
Logic
Diagram:
A
B
 (sum)
C0 (carry out)
Full
Adder
Input Output
Cin
Example: Subtract binary number 101 from 1011
BINARY SUBTRACTION
1 0 1 1
- 1 0 1
(borrow)
0
1
1
0
1
0
Subtract binary number 11 from 1010
TEST
1 0 1 0
- 1 1
1
1
1
0
1
10
0 0
01
1
Subtracts LSD column in binary subtraction
HALF SUBTRACTOR
A
B
Di (difference)
B0 (borrow out)
Half
Subtractor
Input Output
Logic
Symbol:
Logic
Diagram:
Used for subtracting binary place
values other than the 1s place
FULL SUBTRACTOR
Logic
Symbol:
Logic
Diagram:
A
B
Di (difference)
B0 (borrow out)
Full
Subtractor
Input Output
Bin
A
B
Di
B0
H. S.
H. S.
Bin
• Use half adder for LSD
• Use full adder for other digits
PARALLEL ADDING
A2 A1 A0
+ B2 B1 B0
PARALLELADDER
1s place uses half-adder
2s, 4s, 8s places use full adders
SUM appears here
0 0 1 1 + 1 0 0 0
0 1 0 1 1
1 1 0 0 + 1 1 1 1
1 1 0 1 1
1 0 1 0 0
1 1 1 0 + 0 1 1 0
Parallel adders are available in IC form.
PARALLEL SUBTRACTOR
USING FULL ADDERS
Note the use of four full adder
circuits
Also notice the addition of four
inverters on the B inputs to the FAs
Inverters
1 1 1 1 - 0 0 1 1
The result (difference) of the
subtraction problem will appear here.
1 1 0 0
1 0 0 1 - 0 1 1 1
0 0 1 0
Example: Multiply the binary numbers 111 and 101.
BINARY MULTIPLICATION
1
1
1
0
0
0
1
1
1
1
1
0
0
0
1
1 1 1
x 1 0 1
Multiplicand
Multiplier
1st partial product
2nd partial product
3rd partial product
Product
111 x 101 can also be calculated: 111 + 111 + 111 + 111 + 111
Multiply the binary numbers 101 and 100.
1 0 1
x 1 0 0
0
0
0
0
0
0
1
0
1
0
0
1
0
1
TEST
Binary multiplier circuits - utilize repeated addition.
BINARY MULTIPLIERS
Block
Diagram:
Multiplicand
register
Multiplier
down counter
Product
register
Adder
• 2s complement representation - widely used
in microprocessors.
• Represents sign and magnitude
2s COMPLEMENT NOTATION
Decimal: +7 +4 +1 0 -1 -4 -7
2s Complement: 0111 0100 0001 0000 1111 1100 1001
MSB LSB
Sign bit (0 = + ; 1 = -)
• Converting positive numbers to 2s complement:
• Same as converting to binary
• Converting negative numbers to 2s complement:
2s COMPLEMENT - CONVERSIONS
- 4 (decimal)
0 1 0 0
1 0 1 1
- 4 = 1 1 0 0 (2s Complement)
Decimal to 2s
Complement
Convert decimal
to binary
1s
complement
Add 1
2s Complement to
Binary
1 1 0 0 (2s C)
0 0 1 1
0 1 0 0 (Binary)
1s
complement
Add 1
2s complement notation makes it possible
to add and subtract signed numbers
ADDING/SUBTRACTING
IN 2s COMPLEMENT
(- 1)
+ (- 2)
(- 3)
1 1 1 1
+ 1 1 1 0
1
0
1
1
1
Discard
(+1)
+ (- 3)
(- 2)
0 0 0 1
+ 1 1 0 1
0
1
1
1
(Decimal) 2s
Complement
2s complement
2s complement
Add the following 2s complement numbers:
0 1 0 1
+ 1 1 0 0
1
0
0
TEST
0
1
(+5)
+ (- 4)
(+1)
Discard
PRACTICAL SUGGESTION
FOR BINARY MATH
• Use a scientific calculator.
• Most scientific calculators have
DEC, BIN, OCT, and HEX modes
and can either convert between
codes or perform arithmetic in
different number systems.
• Most scientific calculators also
have other functions that are
valuable in digital electronics
such as AND, OR, NOT, XOR,
and XNOR logic functions.

More Related Content

PPT
Arithmetic circuits
PDF
Module 4_Digital Electronics till complements.pdf
PPTX
Adder substracter
PPTX
CA UNIT II.pptx
PPTX
Arithmetic Logic
PPTX
Digital Electronics Unit_2.pptx
PDF
digital-electronics (1)_watermark.pdfhindi
PPT
Comp Arithmetic Basic.ppt
Arithmetic circuits
Module 4_Digital Electronics till complements.pdf
Adder substracter
CA UNIT II.pptx
Arithmetic Logic
Digital Electronics Unit_2.pptx
digital-electronics (1)_watermark.pdfhindi
Comp Arithmetic Basic.ppt

Similar to tCh10.ppt (20)

PPT
Computer Architecture refers to those attributes of a system that have a dire...
PPT
ARITHMETIC LOGIC UNIT.ppt
PPTX
Arithmetic Micro Operations.pptx
PPTX
Arithmetic logic units
PPTX
Number system
PDF
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
PDF
2.1COMPUTER ORG_ Computer Arithmetic.pdf
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
PPT
index of all of the financial accounts in a company's general ledger. In shor...
PDF
DL&CO'S-1.pdf deep learning & computer orgonization
PPTX
digital-electronics.pptx
PPTX
Computer arithmetic
PPTX
Datapath design
PDF
Computer arithmetics coa project pdf version
PPTX
18CSC203J_COA_Unit 2 final.pptx
PDF
Arithmetic Microoperation.pdf
PPTX
L3 ARITHMETIC OPERATIONS.pptx
PDF
Computer arithmetic
PPT
Combinational circuits
PPTX
AddersIn digital logic design, an adder is a combinational circuit that perfo...
Computer Architecture refers to those attributes of a system that have a dire...
ARITHMETIC LOGIC UNIT.ppt
Arithmetic Micro Operations.pptx
Arithmetic logic units
Number system
FYBSC IT Digital Electronics Unit III Chapter II Arithmetic Circuits
2.1COMPUTER ORG_ Computer Arithmetic.pdf
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
index of all of the financial accounts in a company's general ledger. In shor...
DL&CO'S-1.pdf deep learning & computer orgonization
digital-electronics.pptx
Computer arithmetic
Datapath design
Computer arithmetics coa project pdf version
18CSC203J_COA_Unit 2 final.pptx
Arithmetic Microoperation.pdf
L3 ARITHMETIC OPERATIONS.pptx
Computer arithmetic
Combinational circuits
AddersIn digital logic design, an adder is a combinational circuit that perfo...
Ad

More from ChristineTorrepenida1 (20)

PPTX
Worded Problems on age, clock, mixture.pptx
PPTX
Operational Amplifier Alternating Current Circuits
PPTX
AC alternating current and power analysis
PPTX
Differential Calculus application of calculus
PPTX
Unbalanced Three Phase Systems and circuits.pptx
PPTX
Kirchoff’s Law in the Frequency Domain.pptx
PPTX
RLC Circuits elements Phasor Representation
PPTX
sinusoids and phasors in AC circuits.pptx
PPTX
conversion of number system.pptx
PPTX
digital-communication-report.pptx
PPTX
color coding.pptx
PPT
Resistor Color Code power point.ppt
PPTX
week 2-REGISTER.pptx
PPTX
PPT
Lesson_8_2--Asynchronous_Counters1.ppt
PPTX
Battle of the brain cells Quiz Bee.pptx
PPTX
WEEK 6-8 LESSON.pptx
PPT
week 6 -Multiplexer & Demultiplexer.ppt
PPTX
False Position Method.pptx
PPT
DiffEqPresent.ppt
Worded Problems on age, clock, mixture.pptx
Operational Amplifier Alternating Current Circuits
AC alternating current and power analysis
Differential Calculus application of calculus
Unbalanced Three Phase Systems and circuits.pptx
Kirchoff’s Law in the Frequency Domain.pptx
RLC Circuits elements Phasor Representation
sinusoids and phasors in AC circuits.pptx
conversion of number system.pptx
digital-communication-report.pptx
color coding.pptx
Resistor Color Code power point.ppt
week 2-REGISTER.pptx
Lesson_8_2--Asynchronous_Counters1.ppt
Battle of the brain cells Quiz Bee.pptx
WEEK 6-8 LESSON.pptx
week 6 -Multiplexer & Demultiplexer.ppt
False Position Method.pptx
DiffEqPresent.ppt
Ad

Recently uploaded (20)

PPTX
Software Engineering and software moduleing
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
introduction to high performance computing
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
communication and presentation skills 01
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PDF
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Software Engineering and software moduleing
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Categorization of Factors Affecting Classification Algorithms Selection
August 2025 - Top 10 Read Articles in Network Security & Its Applications
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
introduction to high performance computing
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
communication and presentation skills 01
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
distributed database system" (DDBS) is often used to refer to both the distri...
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...

tCh10.ppt

  • 1. Digital Electronics Principles & Applications Fifth Edition Chapter 10 Arithmetic Circuits ©1999 Glencoe/McGraw-Hill Roger L. Tokheim
  • 2. CHAPTER 10 PREVIEW • Binary Addition • Half & Full Adders • Binary Subtraction • Half & Full Subtractors • Parallel Adders and Subtractors • Using Adders for Subtraction • Binary Multiplication • Binary Multipliers • Half & Full Adders • 2s Complement
  • 3. • Conceptually similar to decimal addition • Example: Add the binary numbers 1010 and 11 BINARY ADDITION 1 0 1 0 + 1 1 (carry) 1 1 0 1 1
  • 4. Add the Binary numbers 11010 and 1100 TEST 1 1 0 1 0 + 1 1 0 0 (carry) 1 0 1 1 0 0 1 (carry) 1
  • 5. • Logic device that adds two binary numbers • Only adds Least Significant Digit (LSD) column (1s column) in binary addition HALF ADDER A B  (sum) C0 (carry out) Half Adder Input Output Logic Symbol: Logic Diagram:
  • 6. Used for adding binary place values other than the 1s place FULL ADDER Logic Symbol: Logic Diagram: A B  (sum) C0 (carry out) Full Adder Input Output Cin
  • 7. Example: Subtract binary number 101 from 1011 BINARY SUBTRACTION 1 0 1 1 - 1 0 1 (borrow) 0 1 1 0 1 0
  • 8. Subtract binary number 11 from 1010 TEST 1 0 1 0 - 1 1 1 1 1 0 1 10 0 0 01 1
  • 9. Subtracts LSD column in binary subtraction HALF SUBTRACTOR A B Di (difference) B0 (borrow out) Half Subtractor Input Output Logic Symbol: Logic Diagram:
  • 10. Used for subtracting binary place values other than the 1s place FULL SUBTRACTOR Logic Symbol: Logic Diagram: A B Di (difference) B0 (borrow out) Full Subtractor Input Output Bin A B Di B0 H. S. H. S. Bin
  • 11. • Use half adder for LSD • Use full adder for other digits PARALLEL ADDING A2 A1 A0 + B2 B1 B0
  • 12. PARALLELADDER 1s place uses half-adder 2s, 4s, 8s places use full adders SUM appears here 0 0 1 1 + 1 0 0 0 0 1 0 1 1 1 1 0 0 + 1 1 1 1 1 1 0 1 1 1 0 1 0 0 1 1 1 0 + 0 1 1 0 Parallel adders are available in IC form.
  • 13. PARALLEL SUBTRACTOR USING FULL ADDERS Note the use of four full adder circuits Also notice the addition of four inverters on the B inputs to the FAs Inverters 1 1 1 1 - 0 0 1 1 The result (difference) of the subtraction problem will appear here. 1 1 0 0 1 0 0 1 - 0 1 1 1 0 0 1 0
  • 14. Example: Multiply the binary numbers 111 and 101. BINARY MULTIPLICATION 1 1 1 0 0 0 1 1 1 1 1 0 0 0 1 1 1 1 x 1 0 1 Multiplicand Multiplier 1st partial product 2nd partial product 3rd partial product Product 111 x 101 can also be calculated: 111 + 111 + 111 + 111 + 111
  • 15. Multiply the binary numbers 101 and 100. 1 0 1 x 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 TEST
  • 16. Binary multiplier circuits - utilize repeated addition. BINARY MULTIPLIERS Block Diagram: Multiplicand register Multiplier down counter Product register Adder
  • 17. • 2s complement representation - widely used in microprocessors. • Represents sign and magnitude 2s COMPLEMENT NOTATION Decimal: +7 +4 +1 0 -1 -4 -7 2s Complement: 0111 0100 0001 0000 1111 1100 1001 MSB LSB Sign bit (0 = + ; 1 = -)
  • 18. • Converting positive numbers to 2s complement: • Same as converting to binary • Converting negative numbers to 2s complement: 2s COMPLEMENT - CONVERSIONS - 4 (decimal) 0 1 0 0 1 0 1 1 - 4 = 1 1 0 0 (2s Complement) Decimal to 2s Complement Convert decimal to binary 1s complement Add 1 2s Complement to Binary 1 1 0 0 (2s C) 0 0 1 1 0 1 0 0 (Binary) 1s complement Add 1
  • 19. 2s complement notation makes it possible to add and subtract signed numbers ADDING/SUBTRACTING IN 2s COMPLEMENT (- 1) + (- 2) (- 3) 1 1 1 1 + 1 1 1 0 1 0 1 1 1 Discard (+1) + (- 3) (- 2) 0 0 0 1 + 1 1 0 1 0 1 1 1 (Decimal) 2s Complement 2s complement 2s complement
  • 20. Add the following 2s complement numbers: 0 1 0 1 + 1 1 0 0 1 0 0 TEST 0 1 (+5) + (- 4) (+1) Discard
  • 21. PRACTICAL SUGGESTION FOR BINARY MATH • Use a scientific calculator. • Most scientific calculators have DEC, BIN, OCT, and HEX modes and can either convert between codes or perform arithmetic in different number systems. • Most scientific calculators also have other functions that are valuable in digital electronics such as AND, OR, NOT, XOR, and XNOR logic functions.