I am developing code for MC9SG8S08 microcontroller from HCS08 family. I want to verify that stack is not getting overflowed. I have some of following question w.r.t. stack overflow
1)What is good verification method for that?How to detect stack is not getting overflowed?
2)If stack get overflow will it MC9SG8S08 cpu generate reset(I couldn't find anything in datasheet about this)?Will be there any indication for that from CPU?
Prasad S Udawant