> > >-----Original Message----- >From: pic microcontroller discussion list >[mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Hopkins >Sent: Saturday, February 21, 2004 5:49 PM >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: Include file and header management > > >Can any one supply examples on how to convert to relocatable code? >************************************************* >Roy Hopkins :-) If you'd like an example of a complete, advanced, and feature-laden environment then you might look at the development environment provided by Olin. That can be found at http://www.embedinc.com/pic While an excellent example of where you might want to end up, it might be a bit more than you were asking for. For more simple examples, download the application maestro from Microchip. It creates relocatable code for a number of different purposes. Be warned, the code is sometimes buggy, but the mechanics of writing relocatable code can be learned by reading the files. www.microchip.com/1010/suppdoc/appnote/maestro/ Have Fun! Lyle Hazelwood -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads