Computer Org Chapter - 03 J
Computer Org Chapter - 03 J
5
Edition
th
Chapter 3
Arithmetic for Computers
§3.1 Introduction
Arithmetic for Computers
Operations on integers
Addition and subtraction
Multiplication and division
Dealing with overflow
Floating-point real numbers
Representation and operations
Length of product is
the sum of operand
lengths
Initially 0
Can be pipelined
Several multiplication performed in parallel
Chapter 3 — Arithmetic for Computers — 20
MIPS Multiplication
quotient
dividend
1001
1000 1001010
-1000
divisor
10
101
1010
-1000
remainder 10
Initially dividend
normalized
not normalized
Single Precision
Double Precision
S Exponent Fraction