summaryrefslogtreecommitdiff
path: root/test/jmp64.asm
diff options
context:
space:
mode:
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]