> Are you expecting it to write to the internal flash of the PIC? Yes... That's the way I read the description of the function: memcpy memcpypgm memcpypgm2ram memcpyram2pgm Function: Copy the contents of the source buffer into the destination buffer. Include: string.h Prototype: void * memcpy(void * dest, const void * src, size_t memsize ); rom void * memcpypgm(rom void * dest, const rom void * src, sizerom_t memsize ); void * memcpypgm2ram(void * dest, const rom void * src, sizeram_t memsize ); rom void * memcpyram2pgm(rom void * dest,const void * src,sizeram_t memsize ); Arguments: dest Pointer to destination array. src Pointer to source array. memsize Number of bytes of src array to copy into dest. Remarks: This function copies the first memsize number of bytes in src to the array dest. If src and dest overlap, the behavior is undefined. Return Value: This function returns the value of dest. File Names: memcpy.asm memcpyp2p.asm memcpyp2r.asm memcpyr2p.asm -- FCC Rules Updated Daily at http://www.hallikainen.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist