mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
4402af0c59
Not all covered but still worth to put in Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
21 lines
292 B
NASM
21 lines
292 B
NASM
;Testname=br3026808; Arguments=-Ox -fbin -obr3026808.o; Files=stdout stderr br3026808.o
|
|
|
|
%imacro proc 1
|
|
%push proc
|
|
%assign %$arg 1
|
|
%endmacro
|
|
|
|
%imacro arg 0-1 1
|
|
%assign %$arg %1+%$arg
|
|
%endmacro
|
|
|
|
%imacro endproc 0
|
|
%pop
|
|
%endmacro
|
|
|
|
;----------------------------
|
|
|
|
proc Test
|
|
%$ARG arg
|
|
endproc
|