JohnSanderson wrote: > UDATA_ACS for shared variables > UDATA 0x0100 for the maths source > UDATA 0x0200 for the main source Making sections absolute when they don't really need to be is a bad idea. Only one module in the whole project can use UDATA h'100'. If another module tries to do this too, the two sections will collide and you will get the "can not fit section" linker error. You would also be hard coding where the banked memory in bank 0 starts, which varies between parts. Yucc. Why not just do it right? If you want to force particular banks at assembly time, create named sections in the linker for each bank. Then reference these named sections in the source code: bank1 udata Any number of modules can do this, and there won't be a error unless the total memory requested for bank 1 exceeds the size of bank 1. See my linker files where I set up named sections for exactly this purpose. > For debugging I want to watch what's happening with a whole > selection of fregs. What's a "freg"? ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist