Ken Walker wrote : Hi. I might have missed something from the beginning, but... > Well, with it [the linker script] i don't get my declared EQU's > in the watch window, and without it i do ????? Now, what does the EQU's "point at" that you'd like to watch ? If you *are* using a linker script, you are (more or less) saying that your are using relocatable code. And if so, you should not use EQU to point to RAM variables anyway. (See the RES directive.) So there is some logic in that MPLAB hides the EQU's whenever you include a linker script, one could say. What is it that you'd like to watch ? I was not able to reproduce what you are seeing, since I don't have any code that builds cleanly both with and without the linker script. And without a clean build, the watch windows don't seems to work at all. B.t.w, how come that you have decided to use a linker script ? I'm asking since you asked about the difference between those and header files... Jan-Erik. > > -----Original Message----- > From: Alan B. Pearce [mailto:A.B.Pearce@rl.ac.uk] > Sent: 25 January 2005 2:55pm > To: Microcontroller discussion list - Public. > Subject: Re: [PIC]: Watch window in MPLAB 7 - solved > > > >But i'm confused about linker scripts and header files, has anybody a > simple > >explanation. > > A linker script is not used in the assembler file. It is purely an > instruction to the linker where to put the named bits. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist