2008-10-07 01:27:30 +00:00
|
|
|
;Testname=elf64; Arguments=-Ox -felf64 -oorg.o; Files=stdout stderr org.o
|
|
|
|
;Testname=win64; Arguments=-Ox -fwin64 -oorg.o; Files=stdout stderr org.o
|
2008-04-23 13:05:31 +00:00
|
|
|
|
2007-09-02 06:23:29 +00:00
|
|
|
;
|
|
|
|
; 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
|