Lec4 Computer Architecture
Lec4 Computer Architecture
E M
Mantissa (1:N)2𝐸−127
(1:N)2𝐸−1023
E
E M
Mantissa
Representation of Floating-Point Numbers
• (5.625)10=(101.101)2
• (5.625)10 (0.5625x101 ) Exponent
Mantissa
• (101.101)2 (0.101101x23 ) Exponent
• Mantissa
❑ Unsigned multiplication
❑ Signed multiplication
Block diagram
Method 1:
Try: Multiply 7 X 6
Example: Multiply 15 X 11
Example : 3 X -7
Example : 6 X -2
Multiply 9 X -3
Multiplication for signed numbers (Booth method) 2’s complement
Q Q-1
AC+M’+1
M
AC+M M’
AC+M’+1
The END of the Lecture
for
Your Attention