mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
test: nasm-t -- Add imacro
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
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<EFBFBD>f1<EFBFBD>
|
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" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
Reference in New Issue
Block a user