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.

TI CCS assembly intrinsics format.

Hi all,

I am using TI compiler V5.5 in CCS and trying to compile inline assembly code in .c file.

I am using the below format for writing inline assembly intrinsics,

 asm("MOV   out_val, a, LSL b");

Here out_val, a and b are the c program variables.

I am getting an error " Destination operand Rd must be a register " . This is because its not able to recognize the C variables.

Please suggest me the work around for this and how to use the c variables effectively in asm inline instruction.

Dont know if this query is already posted. Looking for help!! :)

Thansk and Regards,

Sreenivasa U