Booth's multiplication algorithm: Difference between revisions

Content deleted Content added
Line 9:
 
* Count how many bits are in the multiplier. That many times, do these two steps :
*# If the two rightmost bits in the product are...
*#* 00 or 11: do nothing.
*#* 01: add the multiplicand to the far left of the product. Ignore any overflow.
*#* 10: add the negative of the multiplicand to the far left of the product. Ignore any overflow.
*# Perform a right [[arithmetic shift]] on the resultproduct.
 
* Remove the rightmost bit from the product.