Booth's trick

You will learn

How radix-4 Booth recoding turns eight rows into four and handles signed numbers with no special case.

Read the multiplier three bits at a time, overlapping by one, with an implicit 0 below bit 0. Each group becomes a digit from -2 to +2, and each digit one partial product: digit x a x 4^k. For 3 x 6 the digits of 6 are -2, +2, 0, 0, so the product is -6 + 24 = 18. The negative digits are what make two's complement work without a correction step. The spec checks the recoding against a x b for every pair of 8-bit numbers, all 65536 of them.

Open the interactive lesson →