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.

Concerto: Protecting assembly code by setting/clearing INTM bit with SYS/BIOS and TI-RTOS

We are using the Concerto F28M36 family of parts.  We are using SYS BIOS as well as TI-RTOS.  In the C28x core, we have a small inlined assembly routine that performs an RMS calculation that we need to protect from getting interupted.  It's only about 10-12 CPU cycles.  We cannot afford to use Task_disable() / restore() functions as they take too much time to execute (about 1uS).

Is it permissible to surround the function with the following:

asm("     SETC INTM ");

other asm() statements to perform sum of squares

asm("     CLRC INTM ");

what are the possible ramifications if we do this?