BR 2781900: handle common labels while optimizing
[nasm.git] / test / local.asm
blob8a42bb865f830c2ed90ccf49bae0f06b9ee17567
1 ;Testname=test; Arguments=-fbin -olocal.bin; Files=stdout stderr local.bin
2 bits 32
4 %push bluttan
6 %define %$localsize 0
8 %stacksize flat
9 %local l1:qword, l2:dword, l3:dword, l4:qword
10 %arg a1:qword, a2:dword, a3:dword, a4:qword
12 mov eax,[a1]
13 mov ebx,[a2]
14 mov ecx,[a3]
15 mov edx,[a4]
16 mov [l1],eax
17 mov [l2],ebx
18 mov [l3],ecx
19 mov [l4],edx