Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
_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