Hi, I'm working on a small code that I want to be portable on couple of processors. I'm using the following code to set ramtop depending on processor. Assembling this code on gpasm spits errors while mpasm happily assembles it. . . . 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 . . . What could I be possibly doing wrong that offends gpasm? Regards, -- Chetan Bhargava Web: http://www.bhargavaz.net Blog: http://microz.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist