From: nasm-bot f. C. G. <gor...@gm...> - 2018-11-12 07:00:40
|
Commit-ID: 5bf4d6d2b1523a4c8a7bcbb1a69857c9559369e8 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=5bf4d6d2b1523a4c8a7bcbb1a69857c9559369e8 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sun, 4 Nov 2018 18:22:28 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sun, 11 Nov 2018 21:43:45 +0300 test: nasm-t -- Add nop test --- travis/test/nop.asm | 14 ++++++++++++++ travis/test/nop.bin.t | 1 + travis/test/nop.json | 12 ++++++++++++ 3 files changed, 27 insertions(+) diff --git a/travis/test/nop.asm b/travis/test/nop.asm new file mode 100644 index 0000000..c5c3736 --- /dev/null +++ b/travis/test/nop.asm @@ -0,0 +1,14 @@ + bits 64 + + nop + o64 nop + pause + o64 pause + + xchg ax,ax + xchg eax,eax + xchg rax,rax + + rep xchg ax,ax + rep xchg eax,eax + rep xchg rax,rax diff --git a/travis/test/nop.bin.t b/travis/test/nop.bin.t new file mode 100644 index 0000000..b69bae1 --- /dev/null +++ b/travis/test/nop.bin.t @@ -0,0 +1 @@ +HHfHfH \ No newline at end of file diff --git a/travis/test/nop.json b/travis/test/nop.json new file mode 100644 index 0000000..ba1a769 --- /dev/null +++ b/travis/test/nop.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test nop instruction", + "id": "nop", + "format": "bin", + "source": "nop.asm", + "option": "-Ox", + "target": [ + { "output": "nop.bin" } + ] + } +] |