summaryrefslogtreecommitdiff
path: root/test/jmp64.asm
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:36 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-12 15:14:36 +0900
commit993d65531741fccf26fc10fc5789a5c9fca8c5ae (patch)
tree996be9095a97ff2aac0d98963b6044d47a0ec60c /test/jmp64.asm
parent65c26d26fb72cec0d43d199c72ed27513d17f4c9 (diff)
downloadnasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.tar.gz
nasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.tar.bz2
nasm-993d65531741fccf26fc10fc5789a5c9fca8c5ae.zip
Diffstat (limited to 'test/jmp64.asm')
-rw-r--r--test/jmp64.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/jmp64.asm b/test/jmp64.asm
new file mode 100644
index 0000000..f007b9e
--- /dev/null
+++ b/test/jmp64.asm
@@ -0,0 +1,15 @@
+;Testname=test; Arguments=-fbin -ojmp64.bin; Files=stdout stderr jmp64.bin
+
+ bits 64
+ jmp rcx
+ jmp [rax]
+ jmp qword [rax]
+ jmp far [rax]
+ jmp far dword [rax]
+ jmp far qword [rax]
+ call rcx
+ call [rax]
+ call qword [rax]
+ call far [rax]
+ call far dword [rax]
+ call far qword [rax]