summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-04 22:19:28 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commit8e2999b41bbcaff3b85ab2b36818889b7edfa4dc (patch)
tree73b36932aa23e33b61114fa32cc85d7d9fe37b9f /travis
parentf2710ca1143a52b9969bc7295c262dedb67bb50f (diff)
downloadnasm-8e2999b41bbcaff3b85ab2b36818889b7edfa4dc.tar.gz
test: nasm-t -- Add invlpga test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis')
-rw-r--r--travis/test/invlpga.asm8
-rw-r--r--travis/test/invlpga.bin.t1
-rw-r--r--travis/test/invlpga.json12
3 files changed, 21 insertions, 0 deletions
diff --git a/travis/test/invlpga.asm b/travis/test/invlpga.asm
new file mode 100644
index 00000000..ae683102
--- /dev/null
+++ b/travis/test/invlpga.asm
@@ -0,0 +1,8 @@
+ bits 32
+ invlpga
+ invlpga ax,ecx
+ invlpga eax,ecx
+ bits 64
+ invlpga
+ invlpga eax,ecx
+ invlpga rax,ecx
diff --git a/travis/test/invlpga.bin.t b/travis/test/invlpga.bin.t
new file mode 100644
index 00000000..9e0d3d5f
--- /dev/null
+++ b/travis/test/invlpga.bin.t
@@ -0,0 +1 @@
+ßgßßßgßß \ No newline at end of file
diff --git a/travis/test/invlpga.json b/travis/test/invlpga.json
new file mode 100644
index 00000000..50d57be2
--- /dev/null
+++ b/travis/test/invlpga.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test invlpga instruction",
+ "id": "invlpga",
+ "format": "bin",
+ "source": "invlpga.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "invlpga.bin" }
+ ]
+ }
+]