1 2 3 4 5 6 7 8 9 10 11
.set noreorder .section .text .global EnterCriticalSection .type EnterCriticalSection, @function EnterCriticalSection: addiu $a0, $0, 1 syscall 0 jr $ra nop