plan9port/src/libthread/NetBSD-386-asm.s

8 lines
89 B
ArmAsm
Raw Normal View History

2004-12-27 16:52:46 +00:00
.globl _tas
_tas:
movl $0xCAFEBABE, %eax
movl 4(%esp), %ecx
xchgl %eax, 0(%ecx)
ret