Olin Lathrop embedinc.com> writes: > > Look at that document and see. > > No. You're the one asking the question. If you want me to see something > you have to copy the relevant paragraph where it's easy for me to read it. Very funny to post this as an answer to the email that contained the quotation. > > I will quote it below. > > ... > > * You cannot, in MPASM, switch back and forth to a section in a single > > file, e.g., you cannot do this: > > OK, now go back and actually read what you quoted. Now read my response. > Now do this again until you understand why your original statement had > absolutely nothing to do with the passage you quoted. Ok, NOW that the question and the quotation are both available, is there a workarund ? I would like code parts that belong in a segment to be interspersed with, among other things, data they reference, and parts of code that are closely related (like stubs). If they cannot be in the same file, then can they be grouped somehow together ? Is this limitation deleted in newer MPLINK ? I understand that something like a C compiler would logically emit assembly for each function with its local data declared in overlayable vars etc, and this information would appear grouped, with more than one function per file. But apparently such an output cannot be assembled by MPASM ? Can gpasm do it ? thanks, Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist