org.asm 333 B

12345678910111213141516171819
  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. ; Simple test of a 64-bit org directive
  5. ;
  6. bits 64
  7. org 0xffffffffffff0000
  8. hello: jmp there
  9. nop
  10. nop
  11. there:
  12. add rax,[rsp+rbx]
  13. inc eax
  14. section .data
  15. there_ptr dq there