> This time it is a difficult program to simulate because of the IO. =A0It = would > 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 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .