Booth's multiplication algorithm: Difference between revisions

Content deleted Content added
Line 21:
 
* The multiplicand, 3, is 0011; its negative is 1101.
* The multiplier,product starts as -4, which is 1100; with all zeroes added, it is 000011000.
 
* Perform the loop four times :
Line 34:
** 1111 01001. A right shift.
 
* The resultproduct is 111101001111 0100, which is -12.
 
==Why does Booth's algorithm work ?==