Tool/software: Code Composer Studio
I have included assembly instructions in my CLA code and I am getting the following error message.
"C:\Users\shaddad\AppData\Local\Temp\{3A67ACC4-28FF-4611-9051-A07F84F6F092}", ERROR! at line 311: [E0000] CLA instructions cannot appear with non-CLA instructions in the same section
RPT #4 || NOP
I am trying to implement a delay in my CLA code.
for (index = 0; index < 20; index++) //10uS delay running @20MHz to
asm(" RPT #4 || NOP"); //allow conversion to complete
The code builds adn runs and I can measure the delay on a scope.
Thanks
Steve Haddad
Ametek Aerospace