> I know you go on and on about using the linker. However, I have recently > done one job on an '876 that just plain would not have worked using a > linker. I don't believe that. How familiar are you with the linker, Bob? There seem to be a lot of myths out there about relocatable mode that just aren't true. I suspect that you haven't used the linker much (at all?) and therefore aren't aware of all the things you can do in relocatable mode. One way to think of it is that relocatable mode is a superset of absolute mode. If you want to specify every last address, you can. However, for the vast majority of cases when you don't care, you can let the linker do it's allocation magic. In either case you still get nice things like private name spaces for each module. > Timing was very tight and I had to carefully place code in just the > right places so that PCLATH would be set up right at various points. Note > that I don't just mean in the right 2K pages which would be reasonable with > the linker, but actually aligning code properly across 256-byte boundaries. Of course you can do this in relocatable mode. You can hard wire any section to a specific address if you wish. I've occasionally had tables and critical routines that I stuck at specific addresses just like what you're talking about. I bet that you only needed a small subset of your code at known addresses, and could have let the linker place the rest wherever is wanted to. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads