summaryrefslogtreecommitdiff
path: root/test/org.asm
blob: ae73ab622ca340ea6ea916463d27266d4af53afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;
; 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