Hi all,
1. I have a code with some inline functions written with cortex-A8 assembly instructions and arm instructions. With in that I used __inline keyword to define the function and written statements with asm("instruction op1, op2, op3"); using optimisation level 3 and required options which works fine for all other code.
with this above mentioned syntax and options I compiled the code, It shown error in console saying that invalid mnemonic specified. ERROR: D:\Document and settings\data\localsettings\temp\6\3400021..
ex: invalid mnemonic specified
mov r0, r1
so any one can help in this regard to solve this?
2. can any one tell me the example of writting the inline function with syntax to work on my code.
__inline sample(int i, int j)
{
asm("MOV i, j");
return i;
}
->
3. can i use directly C variables along with asm statements?
is there need of any other option to mention along while using inline statements?
for this i followed the given TMS470 c/c++ compiler and assembler guides. there i followed with some inline function topic.
Thanks,
Vinay.