Olin.L wrote: I don't use deliberate GOTO 0 >much, but one example is when an unexpected interrupt occurs. That can only >happen do to a firmware bug which somehow enabled an interrupt condition >that it wasn't supposed to. There is no good answer at this point. >Resetting everything, including the interrupt system, is probably the least >of the evils. > GOTO 0 [or somewhere near 0] is also a good way to break out of an infinite loop [planned or accidental] in your firmware, provided you have interrupts available. Send an escape character [not necessarily 1Bh] to the unit, and you are back to full ops. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.