>Is there any mileage in having a register that you use as an internal >counter of how deep in the stack you are, and setting an external pin and Yes, someone already suggested this. It turns out that a loose connection was causing resets and spurious code execution with my new program, not a stack issue. But these suggestions and information about the overflow/reset bits on the 17 and 18 series PICs are useful to the list, anyway. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.