Divide 16-bit by 8-bit
Basic Level Skills: Not specified Thu Aug 10 2006, 12:36 am
- 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.
Filesize
2.25 kB
Downloads
8077
Rating Not rated