Skip to content

Instantly share code, notes, and snippets.

@itsfarseen
Created April 3, 2019 12:31
Show Gist options
  • Save itsfarseen/042c7830a7518171c1d80a5f99ae49c7 to your computer and use it in GitHub Desktop.
Save itsfarseen/042c7830a7518171c1d80a5f99ae49c7 to your computer and use it in GitHub Desktop.
extern fputs
extern stdout
section .data
hw: db "Hello World!", 10, 0
section .text
global main
main:
enter 0,0
push dword [stdout]
;push stdout
push hw
call fputs
leave
mov eax, 0
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment