Advertisement
LanguageAgnostic

ASM_hellov2

Apr 5th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. section .data
  2. message: db "Hello, World", 10
  3. .len: equ $ - message
  4.  
  5. section .text
  6. global _start
  7.  
  8. _start: mov eax, 4
  9. mov ebx, 1
  10. mov ecx, message
  11. mov edx, message.len
  12. int 0x80
  13.  
  14. mov ebx, 0
  15. mov eax, 1
  16. int 0x80 ; Ou int 80h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement