Phillip wrote: > I was going to use my previously asm routines to do EEPRM reads and > writes in my C program. So I tried using the _asm directive to > make a function out of them. Why not just write a MPASM subroutine directly, especially since your "C" subroutine is all ASM inside anyway? ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist