Download presentation
Presentation is loading. Please wait.
1
CSCE 212 Quiz 5 – 2/23/11 Write out the steps MIPS uses to do multiplication and say why each is necessary. – An example you might use for your explanation is: 0110 (Multiplicand) x 0111 (Multiplier) 0110 0000___ 0101010 (Product)
2
CSCE 212 Quiz 5 Answers 1.Test multiplier: determine if it is the right most bit is 0 or 1 to see if you are going to have to add in the multiplicand. a)Add multiplicand to product if right most bit of multiplier is 1.
3
CSCE 212 Quiz 5 Answers 2.Shift multiplicand to the left: keeps multiplicand lined up with correct positioning in product to do add. 3.Shift multiplier right: puts next test bit in the right most position.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.