Olin Lathrop wrote: >> mov #myvar, w0 ;move the contents of myvar to w0 > > No, it write the address of MYVAR into W0. In other words, W0 is not > a pointer to MYVAR. Oops, typo. That should have been "W0 is *now* a pointer ...". ****************************************************************** 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