> Are you sure it's resetting because of an MCLR reset? Could it be a > brownout reset, or something like that? How do you know the chip is > resetting at all? Very true, there are a few situations where behaviour that LOOKS like a reset isn't. For example, if your code jumps to an upper location where there is nothing programmed, the code could keep running till the top of memory, and then loop around back to 0x00, where your code would APPEAR to be resetting due to reset. TTYL ---------------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.