Hi, try to make the asm statements memory barriers like this: __asm volatile ("mrs %0,PRIMASK" : "=r" (status) :: "memory"); that should prevent moving the call out of the critical section. Bernd.
Hi, try to make the asm statements memory barriers like this: __asm volatile ("mrs %0,PRIMASK" : "=r" (status) :: "memory"); that should prevent moving the call out of the critical section. Bernd.