Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. .data
  2. str1: .string "hello"
  3. str2: .string "world"
  4. .text
  5. .globl _start
  6. _start:
  7. pushl $str1
  8. call puts
  9. call strcall
  10. call finish
  11.  
  12. strcall:
  13. pushl $str2
  14. call puts
  15. ret
  16. finish:
  17. movl $1, %eax
  18. movl $0, %ebx
  19. int $0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement