summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-04 23:22:37 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commit84d263812642b9743603570501b4ab050495545d (patch)
tree21c501e93faa5a8a1be2314431524bc8aa5e2cfa /travis
parentb8556e7e20ad24bfcb5ea0b03b160436cca5043e (diff)
downloadnasm-84d263812642b9743603570501b4ab050495545d.tar.gz
test: nasm-t -- Add far64
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/far64.asm9
-rw-r--r--travis/test/far64.bin.t1
-rw-r--r--travis/test/far64.json11
3 files changed, 21 insertions, 0 deletions
diff --git a/travis/test/far64.asm b/travis/test/far64.asm
new file mode 100644
index 00000000..a4ecb8d3
--- /dev/null
+++ b/travis/test/far64.asm
@@ -0,0 +1,9 @@
+; BR 2039212
+ bits 64
+
+ call qword far [rax]
+ jmp qword far [rax]
+ call dword far [rax]
+ jmp dword far [rax]
+ call far [rax]
+ jmp far [rax]
diff --git a/travis/test/far64.bin.t b/travis/test/far64.bin.t
new file mode 100644
index 00000000..087f6e6b
--- /dev/null
+++ b/travis/test/far64.bin.t
@@ -0,0 +1 @@
+HÿHÿ(ÿÿ(HÿHÿ( \ No newline at end of file
diff --git a/travis/test/far64.json b/travis/test/far64.json
new file mode 100644
index 00000000..c6f121df
--- /dev/null
+++ b/travis/test/far64.json
@@ -0,0 +1,11 @@
+[
+ {
+ "description": "Test 64 bit far call",
+ "id": "far64",
+ "format": "bin",
+ "source": "far64.asm",
+ "target": [
+ { "output": "far64.bin" }
+ ]
+ }
+]