Debian Codegraph @

test/org.asm

raw
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