diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-11-04 23:33:58 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2018-11-11 21:43:46 +0300 |
commit | f399fa73bb55d7b184897a9b7a178eb4ebcf4b2c (patch) | |
tree | 77fe9c0d8b3c6328e6bdf0eb08636d228bc305b2 /travis | |
parent | 1cd96a3a0ecc6783bb4f506ef03a83c2d0609c26 (diff) | |
download | nasm-f399fa73bb55d7b184897a9b7a178eb4ebcf4b2c.tar.gz |
test: nasm-t -- Add br2003451
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r-- | travis/test/br2003451.asm | 15 | ||||
-rw-r--r-- | travis/test/br2003451.bin.t | bin | 0 -> 16 bytes | |||
-rw-r--r-- | travis/test/br2003451.json | 12 |
3 files changed, 27 insertions, 0 deletions
diff --git a/travis/test/br2003451.asm b/travis/test/br2003451.asm new file mode 100644 index 00000000..fb309a99 --- /dev/null +++ b/travis/test/br2003451.asm @@ -0,0 +1,15 @@ + cpu 8086 + org 0 + + ; MOV r/m16,imm16 + ; (imm16 given as number) + mov word [bx], 10h + + ; MOV r/m16,imm16 + ; (imm16 given as label) + mov word [bx], label + + align 10h + + ; This label is at address 10h +label: diff --git a/travis/test/br2003451.bin.t b/travis/test/br2003451.bin.t Binary files differnew file mode 100644 index 00000000..9c0f4d4d --- /dev/null +++ b/travis/test/br2003451.bin.t diff --git a/travis/test/br2003451.json b/travis/test/br2003451.json new file mode 100644 index 00000000..cdc51820 --- /dev/null +++ b/travis/test/br2003451.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test br2003451", + "id": "br2003451", + "format": "bin", + "source": "br2003451.asm", + "option": "-Ox", + "target": [ + { "output": "br2003451.bin" } + ] + } +] |