Yet Some More ASM
why isn't this simple working like I want it to. I don't understand what I did wrong, all i did was use WriteConsole, and I want it to Print Heloo Man. Here is my code:
Code:
.386 .model flat, stdcall option casemap :none include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\user32.inc includelib \masm32\lib\kernel32.lib includelib \masm32\lib\user32.lib .data writedata db "HELOO MAN", 0 .data? consoledata db ? .code start: mov eax, 9 push 0 push 0 push eax push offset writedata push GENERIC_WRITE call WriteConsole push 10000 call Sleep push 0 call ExitProcess end start
