Hi all, I have two 8-bit numbers. I need a routine for dividing these two numbers. The dividend is always less than the divisor. The range of the dividend is 0-128 and the divisor is in the range 0-256. So the answer will always lie between 0-1. The 16-bit/8-bit division routine given in microchip application notes takes a lot of cycles. Is there any fast routine for dividing 2 8-bit numbers. Thanks, Amey ------------------------------------------------------------------------------- AMEY A. DEOSTHALI ------------------------------------------------------------------------------- Lab Address: Home Address: ESPL, ENS526E 3110 Red River, Apt # 208 Dept. of ECE Austin, TX 78705 University of Texas at Austin, Tel:(512)-499-8957 Austin, TX 78712 - 1084. Tel:(512)-232-2769 Email:amey@vision.ece.utexas.edu Web :http://anchovy.ece.utexas.edu/~amey -------------------------------------------------------------------------------