Advertisement
Guest User

Assembly code hello world

a guest
Jan 10th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. extern _printf
  2. global _main
  3.  
  4. section .data
  5. msg: db "Hello, world! hahha",10,0
  6.  
  7. section .text
  8. _main:
  9.     push msg
  10.     call _printf
  11.     add esp,4  
  12.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement