aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:12:35 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 14:21:34 +0300
commitb07ef092735af7f86cc3c5b9cda6980b62e8ad55 (patch)
treeee079c057be6573714e10160837ff1b4d892ec42
parent35b3e9074172dfa55ef639ae548ee70e8fb5af72 (diff)
downloadnasm-b07ef092735af7f86cc3c5b9cda6980b62e8ad55.tar.gz
nasm-b07ef092735af7f86cc3c5b9cda6980b62e8ad55.tar.xz
nasm-b07ef092735af7f86cc3c5b9cda6980b62e8ad55.zip
travis: add splitea test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/splitea.asm11
-rw-r--r--travis/test/splitea.bin.tbin0 -> 24 bytes
-rw-r--r--travis/test/splitea.json12
3 files changed, 23 insertions, 0 deletions
diff --git a/travis/test/splitea.asm b/travis/test/splitea.asm
new file mode 100644
index 00000000..a2d980b2
--- /dev/null
+++ b/travis/test/splitea.asm
@@ -0,0 +1,11 @@
+ bits 32
+
+ mov eax,[eax]
+ mov eax,[eax+ecx]
+ mov eax,[eax+ecx*4]
+ mov eax,[eax+ecx*4+8]
+
+ mov eax,[eax]
+ mov eax,[eax,ecx]
+ mov eax,[eax,ecx*4]
+ mov eax,[eax+8,ecx*4]
diff --git a/travis/test/splitea.bin.t b/travis/test/splitea.bin.t
new file mode 100644
index 00000000..359658d9
--- /dev/null
+++ b/travis/test/splitea.bin.t
Binary files differ
diff --git a/travis/test/splitea.json b/travis/test/splitea.json
new file mode 100644
index 00000000..5359b22a
--- /dev/null
+++ b/travis/test/splitea.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Split EA test",
+ "id": "splitea",
+ "format": "bin",
+ "source": "splitea.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "splitea.bin" }
+ ]
+ }
+]