Hopkins wrote : > With relocatable code the *.lst file does not seem > to show memory used or memory map. Hi. I'm not sure, I think it might show how *much* mem i used, but not what addresses (of course, since it's the linker that assignes the addresses...). What you should look in, is the MAP file. Note that you have to explicit say that you want to MAP file in the MPLAB config (or on the MPLINK command line, if run outside of MPLAB). Everyone using the linker *should* enable the MAP fil, IMHO. It would have been better if MPLAB could have checked the "MAP-file" checkbox whenever one adds a linker script to the project... > Therefore how do you know how much memory has been used? > Or have I missed the obvious ;-( Obvious to some, maybe :-) Anyway, just see the MAP file. everything you need to know is there. Jan-Erik -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist