diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-09-02 06:23:29 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-09-02 06:23:29 +0000 |
commit | 4768f5f6f272328522a792e572672cf229d91ea6 (patch) | |
tree | e3db262b782cadc456b4f45a933bf2a4b232bad0 /test | |
parent | e3e9e9fa0df139e49c57fed528b38ae28d028387 (diff) | |
download | nasm-4768f5f6f272328522a792e572672cf229d91ea6.tar.gz |
Simple 64-bit org test
Diffstat (limited to 'test')
-rw-r--r-- | test/org.asm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/org.asm b/test/org.asm new file mode 100644 index 00000000..ae73ab62 --- /dev/null +++ b/test/org.asm @@ -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 |