Witam, po skompilowaniu a.asm --> a.obj --> a.exe wyskakuje mi w windowsie(64)
nasm a.asm -f win32 -p a.obj
ld a.obj -o a.exe c:\Windows\System32\msvcrt.dll
[bits 32]
extern _puts
extern _exit
section .data
test: db "Test123", 0xa, 0
section .text
_WinMain@16:
push test
call _puts
push 0
call _exit
i nie mam bladego pojęcia gdzie i co jest nie tak
EDIT: W cmd wypisuje prócz tego co na png,"Odmowa dostępu."