test: nasm-t -- Add imacro

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 22:26:21 +03:00
parent 34a3e114ae
commit 99f9870d1b
3 changed files with 18 additions and 0 deletions

6
travis/test/imacro.asm Normal file
View file

@ -0,0 +1,6 @@
%imacro Zero 1
xor %1,%1
%endmacro
Zero eax
zero eax

1
travis/test/imacro.bin.t Normal file
View file

@ -0,0 +1 @@
f1Àf1À

11
travis/test/imacro.json Normal file
View file

@ -0,0 +1,11 @@
[
{
"description": "Test imacro directive",
"id": "imacro",
"format": "bin",
"source": "imacro.asm",
"target": [
{ "output": "imacro.bin" }
]
}
]