Created
June 20, 2016 09:59
-
-
Save avicoder/e8423b0421d43a29d16ccb9d608ba448 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_CONST SEGMENT ; or _DATA | |
$SG1234 DB 'Hello, World',0AH,00H | |
_CONST ENDS | |
_TEXT SEGMENT | |
push ebp | |
move ebp,esp | |
push OFFSET $SG1234 | |
call _printf | |
add ebp,4 | |
xor eax,eax | |
pop ebp | |
ret 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment