Hi, Deva wrote: >i am writing an application that needs support for 64-bit long integers >on microchip pic 18f series. i am using ccs c to write this application and >as you may know, ccs c compiler doesn't support 64-bit datatypes. >could anyone suggest a library that i could use? As the pic's native data type is only 8 bits (not counting DSPIC), anything more than that is accomplished by 'chaining' bytes to create an arbitrary data size. If you look at the piclist site you will find alot of multibyte aritmetics done on the pic. About all of these are extendable in the sense that you can just add code for longer variables. I doubt you will find that this is practical in c and that libraries for working with 64 bit data types probably are lacking in regards to pic's. IMHO this should be done in assembler. Personally I've only needed to use 48bit data types (so-far). for example start here: http://www.piclist.com/techref/microchip/math/index.htm /Tony ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.