compiler.h: for newer gcc attributes, we can use __has_attribute()
[nasm.git] / test / org.asm
blob792c39a5da04c6f707bb53c715c0202731ae6fd4
1 ;Testname=elf64; Arguments=-Ox -felf64 -oorg.o; Files=stdout stderr org.o
2 ;Testname=win64; Arguments=-Ox -fwin64 -oorg.o; Files=stdout stderr org.o
5 ; Simple test of a 64-bit org directive
6 ;
7 bits 64
8 org 0xffffffffffff0000
10 hello: jmp there
11 nop
12 nop
13 there:
14 add rax,[rsp+rbx]
15 inc eax
17 section .data
18 there_ptr dq there