summaryrefslogtreecommitdiff
path: root/test/hle.asm
blob: e59b4f58902d139ca473be88c35b4d0f07b509aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	bits 32

	xacquire lock add [esi],eax
	xacquire xchg [eax],ebx
	xrelease lock mov [eax],ecx
	xrelease mov [eax],ecx
	xacquire add ecx,[eax]
	xrelease mov [eax],ecx

	; Different opcodes!
	mov [sym],eax
	xrelease mov [sym],eax
	xacquire mov [sym],eax

	mov [sym],al
	xrelease mov [sym],al
	xacquire mov [sym],al

sym	dd 0