mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
test: nasm-t -- Add br3026808
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
7c37fae21d
commit
292d728974
18
travis/test/br3026808.asm
Normal file
18
travis/test/br3026808.asm
Normal 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
|
0
travis/test/br3026808.bin.t
Normal file
0
travis/test/br3026808.bin.t
Normal file
12
travis/test/br3026808.json
Normal file
12
travis/test/br3026808.json
Normal file
@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"description": "Test push and pop directives",
|
||||
"id": "br3026808",
|
||||
"format": "bin",
|
||||
"source": "br3026808.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "br3026808.bin" }
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user