I suggest you to use the instruction 'bra' instead of 'goto $-1'. A few months ago I found that mpasm sometimes do a wrong jump if you use 'goto $...'. I don't know if that bug is solved in the last version of mpasm. Regards, Carlos Ojea -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.