plan9port/src/libthread/NetBSD-386-asm.s
2005-07-19 17:40:15 +00:00

7 lines
89 B
ArmAsm

.globl _tas
_tas:
movl $0xCAFEBABE, %eax
movl 4(%esp), %ecx
xchgl %eax, 0(%ecx)
ret