Part Number: TMS320C6657
Tool/software: TI C/C++ Compiler
Hello,
I have a problem in the initialization of my software (compiler 8.3.2).
When run_pinit is executed, the loop seems to execute correctly all the initializers except the last one, which pollutes A11.
A11 is used as pointer on the next initializer to execute, so bad code is then executed
Below is the disassembly of the culprit.
- At the beginning B12,B11,B10,A11,A10 are pushed on the stack
- A11 is modified
- At the end A11,A10 are pushed again on the stack and B10,B11,B12 are restored.
Why A10,A11 are pushed again instead of being restored ?