Professional Documents
Culture Documents
TECHNOLOGY
Department of ECE
18CS502 COMPUTER ARCHITECTURE 2
COURSE OUTCOME
• CO1 Identify the basic structure of a digital computer and instruction
sets with addressing modes.
Department of ECE
18CS502 COMPUTER ARCHITECTURE 3
Module contents
Structure of Computers: Addition and subtraction of signed numbers-
Design of fast adders- Multiplication of positive numbers-
FAST MULTIPLIER
• Methods
• 1. Bit pair recoding of Multipliers.
• 2. Carry-save addition of summands
Bit pair recoding of Multipliers.
• Consider the Multiplier 111010
• Add imaginary zero to the RIGHT of LSB
• Group into three bits
• Refer the truth table
• Identify the Multiplicand
• Append the previous group MSB to the next Group of three
bits.
• Refer the Truth table
• Identify the Multiplicand.
Department of ECE
18CS502 COMPUTER ARCHITECTURE 5
Department of ECE
18CS502 COMPUTER ARCHITECTURE 6
Department of ECE
18CS502 COMPUTER ARCHITECTURE 7
Department of ECE
18CS502 COMPUTER ARCHITECTURE 8
Department of ECE
18CS502 COMPUTER ARCHITECTURE 9
• So 10011 x 10
• Since -2, sign extension is 1
• Summand should be shifted two positions
• Step 2
• Multiply with -1
• Take 2’s complement of Multiplicand and multiply with -1
• So 10011 x 01
Department of ECE
18CS502 COMPUTER ARCHITECTURE 10
Department of ECE
18CS502 COMPUTER ARCHITECTURE 11
Department of ECE
18CS502 COMPUTER ARCHITECTURE 12
DIVISION
• Two methods
• Restoring division
• Nonrestoring division
• Restoring Division
• Accumulator value will be restored to the previous value.
Department of ECE
18CS502 COMPUTER ARCHITECTURE 13
Division
Department of ECE
18CS502 COMPUTER ARCHITECTURE 14
Restoring division
Department of ECE
18CS502 COMPUTER ARCHITECTURE 15
Restoring division
Department of ECE
18CS502 COMPUTER ARCHITECTURE 16
Department of ECE
18CS502 COMPUTER ARCHITECTURE 17
Department of ECE
18CS502 COMPUTER ARCHITECTURE 18
Department of ECE
18CS502 COMPUTER ARCHITECTURE 19