mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-12 18:40:23 +08:00
Simple 64-bit org test
This commit is contained in:
parent
e3e9e9fa0d
commit
4768f5f6f2
15
test/org.asm
Normal file
15
test/org.asm
Normal file
@ -0,0 +1,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
|
Loading…
x
Reference in New Issue
Block a user