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.

EK-TM4C129EXL: C and assembly mix

Part Number: EK-TM4C129EXL

 Hi Experts,

I am building my own RTOS and there are some functions that MUST be written in assembly for specific register access.  I have a few functions that are in the assembly that need to be called in C and vice versa.  I am using Code Composer Studio.  How can this be done?  I cannot find anything that is not for Keil.

Upon checking 3.6. Interfacing C and C++ With Assembly Language — TI Arm Clang Compiler Tools User's Guide, but what I need is the opposite direction.

I need to call C variables from within the assembly, not calling assembly within C.  Where is that information?

Best regards,

Jonathan