aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/larlsl.asm21
-rw-r--r--travis/test/larlsl.bin.t1
-rw-r--r--travis/test/larlsl.json11
3 files changed, 33 insertions, 0 deletions
diff --git a/travis/test/larlsl.asm b/travis/test/larlsl.asm
new file mode 100644
index 00000000..c3c12997
--- /dev/null
+++ b/travis/test/larlsl.asm
@@ -0,0 +1,21 @@
+ bits 64
+
+ lar ax,bx
+ lar ax,[rsi]
+ lar ax,word [rsi]
+ lar eax,bx
+ lar eax,[rsi]
+ lar eax,word [rsi]
+ lar rax,bx
+ lar rax,[rsi]
+ lar rax,word [rsi]
+
+ lsl ax,bx
+ lsl ax,[rsi]
+ lsl ax,word [rsi]
+ lsl eax,bx
+ lsl eax,[rsi]
+ lsl eax,word [rsi]
+ lsl rax,bx
+ lsl rax,[rsi]
+ lsl rax,word [rsi]
diff --git a/travis/test/larlsl.bin.t b/travis/test/larlsl.bin.t
new file mode 100644
index 00000000..ea846b8d
--- /dev/null
+++ b/travis/test/larlsl.bin.t
@@ -0,0 +1 @@
+fffHHHfffHHH \ No newline at end of file
diff --git a/travis/test/larlsl.json b/travis/test/larlsl.json
new file mode 100644
index 00000000..a56d76c6
--- /dev/null
+++ b/travis/test/larlsl.json
@@ -0,0 +1,11 @@
+[
+ {
+ "description": "Test lar and lsl instructions",
+ "id": "larlsl",
+ "format": "bin",
+ "source": "larlsl.asm",
+ "target": [
+ { "output": "larlsl.bin" }
+ ]
+ }
+]