as you may have seen from my last mail, I found where the table interfers with code. now, according to your recommendation, I have put all the tables at the end of the code and NOW it IS working. THANK YOU, everyone who participated in this thread :))) Lembit ----- Original Message ----- From: "Timothy Weber" To: "Microcontroller discussion list - Public." Sent: Friday, September 08, 2006 5:54 PM Subject: Re: [PIC] defining data in Program Memory > Lembit Soobik wrote: >> Timothy, >> I have copied below the relevant paragraphs from the MPASM help. >> from this I see both use program memory, and for both they give examples >> with hex data. > > Yup! I'm just saying the symptoms sound like what would happen if your > table got placed inline in the program ROM, such that the program > counter reached it - instead of at the end, or otherwise out of the way. > > What happens if you move that table to the end of your code? Or precede > it with a jump to the rest of your code? > -- > Timothy J. Weber > http://timothyweber.org > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.405 / Virus Database: 268.12.2/441 - Release Date: 07.09.2006 > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist