aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/Linux-386-asm.s
blob: 197f12b54d646eb2eaf297eaacfe923aec2b9a43 (plain)
1
2
3
4
5
6
7
.globl _tas
_tas:
	movl $0xCAFEBABE, %eax
	movl 4(%esp), %ecx
	xchgl %eax, 0(%ecx)
	ret