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.

CCS/TM4C123GH6PM: Using C Variable in inline assembly

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Hi

I am trying to use C structure variable used as stack for tasks, in inline assembly which can be used easily in the Keil ARM or IAR workbench but I am unable to get the syntax in CCStudio. I am using CC Studio 8.3 and compiler of 18.12...... Kindly help me out here .

Thanks in advance.

  • Unfortunately, the TI ARM compiler does not support the __asm statement provided by GCC ARM compilers.  I don't know what kind of __asm statement is supported by Keil or IAR, but it is a good guess that it is close, and perhaps the same, as the GCC ARM compilers.

    Thanks and regards,

    -George