main.s 369 B

123456789101112131415161718192021
  1. .file "main.c"
  2. .text
  3. .globl main
  4. .type main, @function
  5. main:
  6. pushq %rbp
  7. movq %rsp, %rbp
  8. subq $16, %rsp
  9. movb $65, -4(%rbp)
  10. movb $66, -3(%rbp)
  11. movb $67, -2(%rbp)
  12. movb $0, -1(%rbp)
  13. leaq -4(%rbp), %rax
  14. movq %rax, %rdi
  15. call puts@PLT
  16. movl $0, %eax
  17. leave
  18. ret
  19. .size main, .-main
  20. .ident "GCC: (Debian 12.2.0-14) 12.2.0"
  21. .section .note.GNU-stack,"",@progbits