Tool/software: TI C/C++ Compiler
Hello,
I'm writing an inline assembly using the __asm statement.
As in the example below, It was written as \n as in the example below and checked in debugging mode.
__asm ("PUSH RPC \n"
...
"MOVL ACC, * -SP [2]");
I checked the breakpoint in that asm and ran the line with the "step into" command.
As a result, it was executed at once until the last line. =>(MOVL ACC, * -SP [2] ");
Can i think of this result in atomic code?
Atomic code is code that runs to the end when executed.
I'm wondering if the context switch occurs when an interrupt comes in the middle of the assembly code belonging to "..."
Thanks, Regards
Han