nasm/test/far64.asm
H. Peter Anvin 7b4dc622c6 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.
2008-08-28 17:35:25 -07:00

11 lines
217 B
NASM

;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]