From 99f9870d1b1e162774c0b5d3e3bc6e8456fed49c Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sun, 4 Nov 2018 22:26:21 +0300 Subject: [PATCH] test: nasm-t -- Add imacro Signed-off-by: Cyrill Gorcunov --- travis/test/imacro.asm | 6 ++++++ travis/test/imacro.bin.t | 1 + travis/test/imacro.json | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 travis/test/imacro.asm create mode 100644 travis/test/imacro.bin.t create mode 100644 travis/test/imacro.json diff --git a/travis/test/imacro.asm b/travis/test/imacro.asm new file mode 100644 index 00000000..252a67de --- /dev/null +++ b/travis/test/imacro.asm @@ -0,0 +1,6 @@ +%imacro Zero 1 + xor %1,%1 +%endmacro + + Zero eax + zero eax diff --git a/travis/test/imacro.bin.t b/travis/test/imacro.bin.t new file mode 100644 index 00000000..0e583a15 --- /dev/null +++ b/travis/test/imacro.bin.t @@ -0,0 +1 @@ +f1Àf1À \ No newline at end of file diff --git a/travis/test/imacro.json b/travis/test/imacro.json new file mode 100644 index 00000000..2323cb6c --- /dev/null +++ b/travis/test/imacro.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test imacro directive", + "id": "imacro", + "format": "bin", + "source": "imacro.asm", + "target": [ + { "output": "imacro.bin" } + ] + } +]