> I *may* be having a problem with stack overflow (or underflow, for that > matter), but I can't seem to nail it down with 2000 lines of code. Can > anyone suggest how this can be done? Both the simulator and emulator have facilities for trapping this. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body