James Newton wrote: > Solved... apparently. > > Although I could see no differences, I simply used the project setup > wizard again and choose the option to re-setup the current project. > Suddenly it worked without the asm. Compare the two linker maps and see where BTEMP got placed and what module it was defined in. I suspect it will be defined inside a C library routine= .. Your new setup probably fixed something so that the right libraries now got presented to the linker. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .