Coa Unit - 3
Coa Unit - 3
The bit from E is shifted into the most significant position of A, and 0
is shifted into E.
After the shift, one bit of the partial product is shifted into Q, pushing
the multiplier bits one position to the right.
Initially, the multiplicand is in B and the multiplier in Q. Their
corresponding signs are in Bs, and Qs, respectively.
Registers A and E are cleared .
The sequence counter SC is set to a number equal to the number of
bits of the multiplier.
After the initialization, the low-order bit of the multiplier in Q, is
tested.
If Qn is a 1, the multiplicand in B is added to the present partial
product in A.
Register EAQ is then shifted once to the right to form the new partial
product .
The sequence counter is decremented by 1
If Qn is 0, nothing is done.
Register EAQ is then shifted once to the right to form the new partial
product .
The sequence counter is decremented by 1 and its new value checked.
• The partial product formed in A if it is not equal to zero, the process is
repeated.
• The process stops when SC = 0.
• Shifted into Q one bit at a time and eventually replaces the multiplier.
• The final product is available in both A and Q
• A holding the most significant bits
• Q holding the least significant bits.
Booth’s Multiplication Algorithm (signed-2’s complement)
2. The multiplicand is added to the partial product when we get the first
Q (provided that there was a previous 1) in a string of 0's in the
multiplier.
3. The partial product does not change when the multiplier bit is the
same as the previous multiplier bit.
Division Algorithms