Dwayne Reid wrote: > I think that you are making the problem more complicated than necessary. > > Try this: > ifdef __PIC685 > include P16F685.INC > endif > > ifdef __PIC628 > include P16F628.INC > endif > > ifdef __PIC84 > include P16F84.INC > endif Wouldn't it make sense to use a single include file that contains constructs like this for all supported PICs, and that can be used simply by "include PIC.INC"? At least this is how I do it in C. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist