Mathematics [ Mathematical libraries, for calculation and useful algorithms.. ]
Divide 16-bit by 8-bit
Author Ajay
Author email [email protected]
Author website www.rickeyworld.tk
Description Inputs to this routine are a 16-bit dividend and an 8-bit divisor. Outputs are a 16-bit quotient and an 8-bit remainder. Inputs and outputs are unsigned integers. Accuracy of the calculation has been verified with all possible values of dividend and divisor. Running time varies from 145 to 276 usecs at 12MHz, the average being 232 usecs.
Image no image available
Filesize 2.25 kB
Date
Downloads 8324
Download
Rating
Not rated  
<< Previous [CRC code in asm and C] Back to list [FFT for 8051] Next >>



You must be logged in to make comments on this site - please log in, or if you are not registered click here to signup