Maarten Hofman wrote: > 1) Relocatable code, in its basic form, is apt to add additional code > for bank switching Completely untrue. Bank switching is required when you go back and forth between locations in different banks. This has nothing to do with absolute versus relocatable mode. You generally do assume that anything outside the current module can be in another code page. However, that is only because you have the option of letting the linker place the modules. If you really want to, you can force specific modules to specific pages, then not include PCLATH diddling when you go between modules known to be on the same page. This is no worse than absolute mode where you manually allocate the location of everything. At least with modules on fixed pages in relocatable mode you can still gurantee that no code section crosses a page boundary. There is no way to automatically guarantee that in absolute mode. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist