[nasm:master] travis: add imm
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Thu Oct 15 13:09:11 PDT 2020
Commit-ID: 4431776fc003111e6bc4139d5d237d350bea372f
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=4431776fc003111e6bc4139d5d237d350bea372f
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Thu, 15 Oct 2020 22:12:02 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Thu, 15 Oct 2020 22:12:02 +0300
travis: add imm
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
{test => travis/test}/imm.asm | 3 +++
travis/test/imm.json | 12 ++++++++++++
travis/test/imm.o.t | Bin 0 -> 800 bytes
3 files changed, 15 insertions(+)
diff --git a/test/imm.asm b/travis/test/imm.asm
similarity index 92%
copy from test/imm.asm
copy to travis/test/imm.asm
index 6b24c880..d68a43dd 100644
--- a/test/imm.asm
+++ b/travis/test/imm.asm
@@ -16,6 +16,9 @@
xor ecx,dword -1
xor ecx,strict dword -1
add edx,byte ($-$$)
+
+ mov rax, 0xfafafafaafafafaf
+
%ifnidn __OUTPUT_FORMAT__,bin
extern foo, bar
add eax,byte foo
diff --git a/travis/test/imm.json b/travis/test/imm.json
new file mode 100644
index 00000000..f2d9a119
--- /dev/null
+++ b/travis/test/imm.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test immediates",
+ "id": "imm",
+ "format": "elf64",
+ "source": "imm.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "imm.o" }
+ ]
+ }
+]
diff --git a/travis/test/imm.o.t b/travis/test/imm.o.t
new file mode 100644
index 00000000..4d8c5d56
Binary files /dev/null and b/travis/test/imm.o.t differ
More information about the Nasm-commits
mailing list