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.

stack is not intialized properly.

I am working on ccsv4.1. I am running a simple program and I encountered a strange issue. When I debug the program, In the thread section I am getting this:

0 memcpy(void *, void *, unsigned int) at memcpy62.c:11 0x00000020

And when I run the program I am not getting desired result. I am working on simulator 6713.

I have attached my code also.

abc.asm