nasm/travis/test/org.asm
Cyrill Gorcunov 0cbb3df7f4 test: nasm-t -- Add org test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-11-11 21:43:45 +03:00

16 lines
183 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