摘要 |
PURPOSE:To allow both of decimal division and integer division to share one division part by switching the bit digits of a dividend respectively in accordance with the decimal division and the integer division. CONSTITUTION:The divider is provided with a selector circuit 11 to be switched to the 1st state or the 2nd state in accordance with a mode. The selector circuit 11 switches a dividend data constituted of 2alpha bits to the 1st state for turning the nXi bits (provided that 0<=i<=alpha-1) of the data to '0' and turning the nXii+d bits (provided that 0<=i<=alpha-1) to a significant state corresponding to a dividend data constituted of alpha bits or the 2nd state for turning the nXi bits (provided that 0<=i<=alpha-1) of the dividend data constituted of 2alpha bits to a significant state corresponding to the dividend data constituted of alpha bits and turning the nXi bits (provided that alpha<=i<=2alpha-1) to '0'. Since both the functions of decimal division and integer division can be displayed by using only one division part 12, the size of the circuit can be reduced. |