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.

Compiler/LAUNCHXL-F28377S: Inline Assembly

Part Number: LAUNCHXL-F28377S


Tool/software: TI C/C++ Compiler

Hi,

I already know how to program a assembler function. But is there a way to program in inline assmebly something like:

float a = 10.55;

float b = 3.44;

__asm(" MOVL R0H, _a??"

   " MOVL R1H, _b??"

   " ADD ... "

The question is how can i get access to the variables a and b when i am using inline assembly?

Thank you very much,

Jonas