summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-25 23:45:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-25 23:45:20 -0700
commit0819e3b9a726c8ff905670409504b15d0f569cbf (patch)
tree7bf07603e5812e7eebd5554649de153b9b9af2eb /test
parent6f87180c3f8f30a37d8f0c17cc06070fa1a1c2b6 (diff)
downloadnasm-0819e3b9a726c8ff905670409504b15d0f569cbf.tar.gz
Add more 64-bit jump tests
Diffstat (limited to 'test')
-rw-r--r--test/jmp64.asm13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/jmp64.asm b/test/jmp64.asm
index 440551f7..da6c2ddc 100644
--- a/test/jmp64.asm
+++ b/test/jmp64.asm
@@ -1,4 +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 [rdx]
+ call qword [rax]
+ call far [rax]
+ call far dword [rax]
+ call far qword [rax]