Thank you very much for your help, Olin thomas >From: Olin Lathrop >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC]: Please help! Global Calls and Global Gotos >Date: Thu, 5 Jul 2001 18:05:23 -0400 > > > Thank you for your quick response! The code you wrote can be compiled >under > > MPLAB IDE, right? (I will try it tonight) > >Yes, I use the official Microchip tools exclusively. > > > Let say I cut and paste your code into my project, will the code section > > that I don't use get compiled into the program as well? > >Depends on what it is. Macro definitions don't create any code. Note that >many of my macros are nested, so you may have to grab a lot of them. >Notice >also the various assembly symbols assumed, and that some of the code >assumes >the linker is used. I always include STD_DEF.INS.PAS and STD.INS.PAS in my >projects so I don't worry about what parts might or might not be needed by >what other parts. You can see the HAL project as an example of how I use >these files and some of the macros. > > > Do you have the code for the 16-Family only? > >No, see STD_DEF.INS.ASPIC. > > >******************************************************************** >Olin Lathrop, embedded systems consultant in Littleton Massachusetts >(978) 742-9014, olin@embedinc.com, http://www.embedinc.com > >-- >http://www.piclist.com hint: To leave the PICList >mailto:piclist-unsubscribe-request@mitvma.mit.edu > > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu