Have to agree with Olin and Nigel.....I've done this many a time and its always worked. IMHO, the best way to debug is with the ICD, just watch the registers and step thru it. Sometimes the most obvious errors are made totally clear when you single step. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.