Tamas Rudnai wrote: > The linker script is however generally a good idea and > even unavoidable if the source is separated into files - but even > then a 'res' here and there is not a good practise. Not at all. This is old absolute mode thinking. RES has the extra checks such that it is perfectly fine, even desirable, to have variable definitions in different places. Regardless of how many places variables are defined with RES, they are still all guaranteed not to overlap and not to overflow a linker memory region. Local variables of a module should be defined in that module. Putting all local variable definitions in a central place is really bad programming practise. ******************************************************************** 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