0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/test/jmpabs.asm
H. Peter Anvin fd08822070 apx: implement JMPABS
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>
2024-07-30 17:32:00 -07:00

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