Professional Documents
Culture Documents
Edition
DESIGN
The Hardware/Software Interface
Week 4
Arithmetic operations
(Chapter 2, 3)
§3.1 Introduction
Contents
■ Operations on integers
■ Addition and subtraction
■ Multiplication
■ Dealing with overflow
■ Operations on Fixed/Floating-point
numbers
■ Addition and multiplication
Length of product is
the sum of operand
lengths
Initially 0
■ Can be pipelined
■ Several multiplication performed in parallel
Chapter 3 — Arithmetic for Computers — 7
Fixed-Point Multiplication
■ Ex) 6.5625 x 4.25
Step 1
Step 2
Step 3
Step 4
Initially dividend