This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I would suggest using breakpoints in CCS to see what happens to your program at the 11th loop. For a tutorial on this subject, refer to http://processors.wiki.ti.com/index.php/Tips_and_Tricks_for_CCStudio_IDE for a quick tutorial or http://processors.wiki.ti.com/index.php/CCSv4_Getting_Started_Guide