> I hope you have the patience to tell me how that is used. > Where would it be useful to have different CODE sections. Ever done OOP programmes? You can (sort of) do encapsulation of your code in assembler using CODE sections. It does not totally stop you from stuffing things up (especially in machines with banks, and you forget to make sure you are in the correct bank) but it does go a long way towards helping separate things and stop one lot of code from stepping on another lot. It also allows you to have modules that you can re-use. I now have modules for I2C (both master and slave) built from the Microchip app notes, Serial Comms with UART built from Fr. MacGhees picuart file, and an analogue module, along with a number of miscellaneous others. These were all done using Olins development environment, and are all re-useable modules by linking them in. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist