I'm implementing some signal processing algorithm on my msp430f5418a board. In the debug mode, I have observed that some varaibles will turn to wrong values after some computation. The computation has a lot of for loops inside but has nothing to do my observed varaible. I guess it is because of some overflow issue. Has anyone has similar problems and would like to give me hint?
Here are my memory allocation and stack usage. I hope they can help diagnose my issue.
Thanks!

