On Tue, 10 Jan 2006, Chetan Bhargava wrote: > 00023 #ifdef PIC16C71 > 00024 include "P16C71.inc" > 00025 processor 16C71 > 00026 __config _XT_OSC & _WDT_OFF & _CP_OFF & _PWRTE_ON > Error [103] : syntax error > 00027 ramtop set 0x0C > 00028 #endif > 00029 > 00030 ;data storage needed for delays and general purpose > 00031 > Error [113] : Symbol not previously defined (ramtop). > 00032 cblock ramtop The way you wrote it gpasm does not have PIC16C71 defined. Mplab probably has the cpu type set in the project file (or on the command line) and thus has PIC1C71 defined. To give gpasm an even chance put this line at the top of your file: #define PIC16C71 1 (the 1 is not necessary but just put it there to be sure) Peter -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist