Do you want an integer division or floating point?
Andy Warrens 8 bit division code along with a load of other usefull stuff can be found at:
http://home.netcom.com/~fastfwd/answers.html
If you want a 16 bit routine there's lots around, try:
http://www.myke.com/PICMicro/16bit.htm
http://www.dontronics.com/see.html#division
For floating point routines, download AN575 from the microchip site.
Cheers
Mike
-----Original Message-----
From: Longley, Jason [SMTP:Jason.Longley@UWE.AC.UK]
Sent: Saturday, July 03, 1999 8:43 AM
To: PICLIST@MITVMA.MIT.EDU
Subject: Division on a PIC 16C84
Hi does anyone know if there is a way to perform a division
on the PIC16C84 ie 250/10 as i need to do a ratio
comparison routine. If not can any suggest a suitable PIC.
----------------------------------------
Longley, Jason
Email: Jason.Longley@uwe.ac.uk
"University of the West of England"