mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
16 lines
184 B
NASM
16 lines
184 B
NASM
;
|
|
; Simple test of a 64-bit org directive
|
|
;
|
|
bits 64
|
|
org 0xffffffffffff0000
|
|
|
|
hello: jmp there
|
|
nop
|
|
nop
|
|
there:
|
|
add rax,[rsp+rbx]
|
|
inc eax
|
|
|
|
section .data
|
|
there_ptr dq there
|