mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-25 18:10:23 +08:00
test: nasm-t -- Add imacro
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
34a3e114ae
commit
99f9870d1b
6
travis/test/imacro.asm
Normal file
6
travis/test/imacro.asm
Normal file
@ -0,0 +1,6 @@
|
||||
%imacro Zero 1
|
||||
xor %1,%1
|
||||
%endmacro
|
||||
|
||||
Zero eax
|
||||
zero eax
|
1
travis/test/imacro.bin.t
Normal file
1
travis/test/imacro.bin.t
Normal file
@ -0,0 +1 @@
|
||||
f1Àf1À
|
11
travis/test/imacro.json
Normal file
11
travis/test/imacro.json
Normal file
@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"description": "Test imacro directive",
|
||||
"id": "imacro",
|
||||
"format": "bin",
|
||||
"source": "imacro.asm",
|
||||
"target": [
|
||||
{ "output": "imacro.bin" }
|
||||
]
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user