At 08:59 AM 8/14/02 -0400, you wrote: >I am also using C18 compiler. I found another issue: it seems that the C18 >stores "const" variables both at the program memory and data memory. Yes, some compilers do this. It is (obviously) stored in program memory, and the startup code copies it to RAM. The compiler needs some other instruction to use it directly from code memory, which you will have to find in the manual etc. Best regards, Spehro Pefhany --"it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com 9/11 United we Stand -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu