Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. .section .text
  2. .globl _start
  3. _start:
  4. movl %esp, %ebp
  5. movl (%ebp), %esi
  6. movl $1, %edi
  7. print_loop:
  8. movl (%ebp, %edi, 4), %eax
  9. pushl %eax
  10. call puts
  11. incl %edi
  12. decl %esi
  13. test %esi, %esi
  14. jnz print_loop
  15. movl $1, %eax
  16. movl $0, %ebx
  17. int $0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement