Advertisement
Guest User

Untitled

a guest
Jun 30th, 2020
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. .file "test01.c"
  2. .intel_syntax noprefix
  3. .text
  4. .section .rodata.str1.1,"aMS",@progbits,1
  5. .LC0:
  6. .string "result = %d\n"
  7. .section .text.startup,"ax",@progbits
  8. .p2align 4,,15
  9. .globl main
  10. .type main, @function
  11. main:
  12. .LFB23:
  13. .cfi_startproc
  14. lea rsi, .LC0[rip]
  15. sub rsp, 8
  16. .cfi_def_cfa_offset 16
  17. mov edx, 21
  18. mov edi, 1
  19. xor eax, eax
  20. call __printf_chk@PLT
  21. xor eax, eax
  22. add rsp, 8
  23. .cfi_def_cfa_offset 8
  24. ret
  25. .cfi_endproc
  26. .LFE23:
  27. .size main, .-main
  28. .text
  29. .p2align 4,,15
  30. .globl func01
  31. .type func01, @function
  32. func01:
  33. .LFB24:
  34. .cfi_startproc
  35. add edi, esi
  36. add edx, edi
  37. add ecx, edx
  38. add ecx, r8d
  39. lea eax, [rcx+r9]
  40. ret
  41. .cfi_endproc
  42. .LFE24:
  43. .size func01, .-func01
  44. .ident "GCC: (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0"
  45. .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement