test: nasm-t -- Add br3026808

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-11 17:09:53 +03:00
parent 7c37fae21d
commit 292d728974
3 changed files with 30 additions and 0 deletions

18
travis/test/br3026808.asm Normal file
View File

@ -0,0 +1,18 @@
%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

View File

View File

@ -0,0 +1,12 @@
[
{
"description": "Test push and pop directives",
"id": "br3026808",
"format": "bin",
"source": "br3026808.asm",
"option": "-Ox",
"target": [
{ "output": "br3026808.bin" }
]
}
]