preproc: Fix the token in expanding the %+/%- macro-parameters
[nasm.git] / test / masmdisp.asm
blob295d88d7c72f0e39c6e2867be9152a4d5406d6b4
1 %use masm
3 global fproc, nproc
5 bits 64
7 _TEXT segment
9 fproc proc far
10 mov eax,dword ptr foo
11 mov rdx,offset foo
12 mov ecx,bar[rbx]
13 lea rsi,foo
14 lea rsi,dword ptr foo
15 lea rsi,[foo]
16 lea rsi,dword [foo]
17 ret
18 fproc endp
20 nproc proc near
21 mov eax,dword ptr foo
22 mov rdx,offset foo
23 mov ecx,bar[rbx]
24 ret
25 nproc endp
27 _TEXT ends
29 _DATA segment
30 nxx dd 80
31 foo dd 100
32 _DATA ends
34 _BSS segment nobits
35 bar resd 100
36 _BSS ends