Phillip wrote: > Error [1111] undefined label 'W' in 'write_EEPROM' > I looked in the header (p18f6520.h) and they are all defined in there. > Can any one tell me how to make the inline asm code see the literals in the > h file? Usually symbols defined in C are mangled in assembler, often with a prepended underscore. Check out the compiler docs or look at some compiler-generated assembler files. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist