mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
Implement the JMPABS instruction, which can also be specified as JMP ABS for consistency. Since ABS is already a keyword, this does not pollute the namespace. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
16 lines
154 B
NASM
16 lines
154 B
NASM
bits 64
|
|
start:
|
|
jmp [rel .next]
|
|
.next:
|
|
dq hello
|
|
|
|
align 16
|
|
jmp abs hello
|
|
jmpabs hello
|
|
jmp abs qword hello
|
|
jmpabs qword hello
|
|
|
|
align 16
|
|
hello:
|
|
nop
|