When I run the code im the simulator MPLAB SIM, it will not run, but the little green arrow appears at the data or db line and the program doesnt run. then I hit run again and the little arrow goes to the next line and the MPLAB SIM output shows the error. It is not only a simulator problem, it doesnt run in the real setup either. Lembit ----- Original Message ----- From: "Jan-Erik Soderholm" To: Sent: Thursday, September 07, 2006 12:57 PM Subject: RE: [PIC] defining data in Program Memory > Lembit Soobik wrote : > >> PAGA_table ;table for standard code >> db 0x52 >> db 0x01 >> db 0x51 ;First stop >> db 0x01 >> db 0x10 ;Second Stop >> db 0x52 >> db 0x01 >> db 0x52 >> db 0x04 >> >> when I do a build all, I get no errors and a BUILD SUCCEEDED >> then I run it in the MPLAB SIM and it stops where I have >> added the comment... > > What does "stop" mean ? A breakpoint ? > > You can't (normaly) execute table data as if it was code... > > Jan-Erik. > > > > -- > 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.1/440 - Release Date: 06.09.2006 > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist