[NOTE] The _li a0, 0_ *could* be executed more than once, but is included in the atomic section for convenience. [source,sail] -- //This is not SAIL, it's pseudo-code. The SAIL hasn't been written yet. asm("li a0, 0"); sp+=stack_adj; asm("ret"); --