repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
compiler.h: for newer gcc attributes, we can use __has_attribute()
[nasm.git]
/
test
/
org.asm
blob
792c39a5da04c6f707bb53c715c0202731ae6fd4
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
3
4
;
5
; Simple test of a 64-bit org directive
6
;
7
bits
64
8
org
0xffffffffffff0000
9
10
hello:
jmp
there
11
nop
12
nop
13
there:
14
add
rax
,[
rsp
+
rbx
]
15
inc
eax
16
17
section
.data
18
there_ptr
dq
there