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.

RM57L843: Inline assembly syntax

Part Number: RM57L843


Hello,

The following statement does not compile: asm volatile ("\tsvc #0" : : "r" (1));

The compiler issue the error: ‘#18 expected a ")"’

Does version ti-cgt-arm_20.2.7 of the C/C++compiler accepts the GCC Inline Assembly full syntax?

__asm volatile (
AssemblerTemplate
: OutputOperands
[: InputOperands
[: Clobbers ]])

Thanks in advance for the response.
Marcio.