nasm is not executing file in Windows 8
问题 Recently started learning Assembly so I'm relatively new to this. We use Linux back at school but I wanted to try coding on my PC. I'm using nasm on a Win8.1 64-bit system. Here's the code: section .text global _WinMain@16 _WinMain@16: mov edx, len mov ecx, msg mov ebx, 1 mov eax, 4 ret 16 mov eax, 1 ret 16 section .data msg db 'Hello, world!', 0xA len equ $ - msg nasm seems to be running since it responds to the commands, but it doesn't execute the program: How can I run the program? Is