RussellMc wrote 2011-06-01 17:27: >> This time it is a difficult program to simulate because of the IO. It w= ould >> be a lot of work to write the stimulation files and I'm not sure that is >> even possible. > > Without digging into what stack access and manipulation is possible on > that device: > > Is it not possible to prewrite the stack with known data and then > examine it explicitly or implicitly after running the program or on > diagnostic occasions during operation to see how close it has come to > its bounds, or whether it has exceeded them. > > > > Russell > Maybe, *IF* the stack is read/writeable at runtime. Or do you mean in some kind of simulated environment such as MPLAB/SIM ? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .