diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-08-28 17:35:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-08-28 17:35:25 -0700 |
commit | 7b4dc622c695213fa0ee5f8d0b74502412478375 (patch) | |
tree | 355609000a44a217a421f6553d1f7ad6d5a19918 /test | |
parent | 5eff8912bcaede2183c6cca08df9c8535b574ad0 (diff) | |
download | nasm-7b4dc622c695213fa0ee5f8d0b74502412478375.tar.gz nasm-7b4dc622c695213fa0ee5f8d0b74502412478375.tar.bz2 nasm-7b4dc622c695213fa0ee5f8d0b74502412478375.zip |
BR 2039212: Handle indirect far jumps in 64-bit mode
Handle indirect far jumps in 64-bit mode. Default to 64 bit unless
overridden, for consistency with other jumps.
Diffstat (limited to 'test')
-rw-r--r-- | test/far64.asm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/far64.asm b/test/far64.asm new file mode 100644 index 0000000..b7a5108 --- /dev/null +++ b/test/far64.asm @@ -0,0 +1,10 @@ +;Testname=test; Arguments=-fbin -ofar64.bin; Files=.stdout .stderr far64.bin +; BR 2039212 + bits 64 + + call qword far [rax] + jmp qword far [rax] + call dword far [rax] + jmp dword far [rax] + call far [rax] + jmp far [rax] |