Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .386
- .MODEL flat, stdcall
- Include kernel32.inc
- Include masm32.inc
- IncludeLib kernel32.lib
- IncludeLib masm32.lib
- .DATA
- msg db "Hello world!" , 0
- msg1 db 0,0,0,0,0 ;4 octeti si 0 pt end of the string (apar 2 de H)
- .CODE
- start:
- Invoke StdOut, ADDR msg
- mov al, msg
- mov ah, 'A'
- add eax, 65660000h
- mov dword ptr msg1, eax
- Invoke StdOut, ADDR msg1
- Invoke ExitProcess, 0
- END start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement