pr27016a.d 842 B

1234567891011121314151617181920212223
  1. #source: pr27016a.s
  2. #source: pr27016b.s
  3. #as: --64 -mx86-used-note=no -mrelax-relocations=no
  4. #ld: -m elf_x86_64 -z max-page-size=0x200000 -z noseparate-code -e main
  5. #objdump: -dw
  6. .*: +file format .*
  7. Disassembly of section .text:
  8. 0+4000e8 <main>:
  9. +[a-f0-9]+: 55 push %rbp
  10. +[a-f0-9]+: 48 89 e5 mov %rsp,%rbp
  11. +[a-f0-9]+: 4c 8d 1d 39 3f 00 00 lea 0x3f39\(%rip\),%r11 # 40402c <thesym>
  12. +[a-f0-9]+: 41 8b 03 mov \(%r11\),%eax
  13. +[a-f0-9]+: 8d 50 01 lea 0x1\(%rax\),%edx
  14. +[a-f0-9]+: 4c 8d 1d 2c 3f 00 00 lea 0x3f2c\(%rip\),%r11 # 40402c <thesym>
  15. +[a-f0-9]+: 41 89 13 mov %edx,\(%r11\)
  16. +[a-f0-9]+: b8 00 00 00 00 mov \$0x0,%eax
  17. +[a-f0-9]+: 5d pop %rbp
  18. +[a-f0-9]+: c3 ret
  19. #pass