mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
7b4dc622c6
Handle indirect far jumps in 64-bit mode. Default to 64 bit unless overridden, for consistency with other jumps.
11 lines
217 B
NASM
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]
|