mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -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>
15 lines
154 B
NASM
15 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
|