> I think all this has something to do with the Program counter > jumping over the 4000h boarder. Note that it isn't just your > main CALL's to subroutines, but every GOTO inside any routine > (that happens to be placed around the address 4000h) have > this problem. So *any* GOTO that your C source produces will/may > show this problem depending on where the linker places the code. The problem within a module is easily fixed by defining separate linker sections from 0h-3FFFh and 4000h on. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body