From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:54
|
Commit-ID: 99f9870d1b1e162774c0b5d3e3bc6e8456fed49c Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=99f9870d1b1e162774c0b5d3e3bc6e8456fed49c Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 22:26:21 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:46 +0300 test: nasm-t -- Add imacro Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- travis/test/imacro.asm | 6 ++++++ travis/test/imacro.bin.t | 1 + travis/test/imacro.json | 11 +++++++++++ 3 files changed, 18 insertions(+) diff --git a/travis/test/imacro.asm b/travis/test/imacro.asm new file mode 100644 index 0000000..252a67d --- /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 0000000..0e583a1 --- /dev/null +++ b/travis/test/imacro.bin.t @@ -0,0 +1 @@ +f1f1 \ No newline at end of file diff --git a/travis/test/imacro.json b/travis/test/imacro.json new file mode 100644 index 0000000..2323cb6 --- /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" } + ] + } +] |