Dear frined: I have many function calling in my program, and i want to know if it has some side-effect such as tack lost or overflow ? TKS Morris
You could fill the top few bytes of the stack space with a certain value at the beginning of main(). Run the program trying to exercise the most deeply nested functions then take a look at the top of the stack to see whether it has been used. Don't forget that interrupts, if you have any enabled, will asyncronously increase stack usage. Stefan