2025 26 1f

Computer Organization and Architecture2025-262 marksNumericalMultiplication

Explain signed number multiplication using Booth's Algorithm. Multiply A x B where A= -5 and B=3 using Booth's Algorithm.

Explain signed number multiplication using Booth's Algorithm. Multiply A x B where A= -5 and B=3 using Booth's Algorithm.

Booth's algorithm multiplies signed 2's complement numbers. For each bit pair $Q_0Q_{-1}$: $10$ subtracts $M$, $01$ adds $M$, otherwise nothing. Then it shifts right (ASR).

Here $M = -5 = 1011$, $-M = 0101$ and $Q = 3 = 0011$.

CycleActionAQQ-1
1A - M001010011
2shift000101001
3A + M111000100
4shift111100010

$AQ = 11110001 = -15$. Therefore $(-5) \times 3 = -15$.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.

Up nextExplain floating-point representation and its components.