Sean, On Fri, 6 Jan 2006 15:32:44 +0100, Sean Schouten wrote: > > relocatable programming is a bit harder to learn at 1st, but better in > > the long run and works fine in MPlab or MPASM. > > > > Is relocatable ("dynamic") code just as efficient as absolute code? In the PIC world, relocatable code isn't dynamic! Addresses are resolved at Link, rather than Compile, time, so the executable file (*.HEX) uses fixed addresses, and is indistinguishable from code written as absolute in the first place. You're thinking of mainframe-style relocatable code, where the executable code is relocatable, and has its addresses resolved as it's loaded into memory - PICs don't do that! Cheers, Howard Winter St.Albans, England -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist