You might want to take a look at this tutorial.
include '%fasminc%/win32ax.inc'
.code
start:
invoke MessageBox,HWND_DESKTOP,"Hello World!","Win32 Assembly",MB_OK
invoke ExitProcess,0
.end start
Question
The little time I became interested in atraz assembly. Nasm first started with Linux ... I did some basic stuff, but wanted to do in Windows. Hence googled a bit and saw some things for Dos. But depended on emulators. I want to program for Windows 8 64-bit Intel, but everything I search for Windows redirects to Dos ...
In linux to do is interrupt int 80h
, int 21h
in Dos, Windows I have no idea how to get a code!
One Hello World and an assembler has helped ...
Solution
You might want to take a look at this tutorial.
include '%fasminc%/win32ax.inc'
.code
start:
invoke MessageBox,HWND_DESKTOP,"Hello World!","Win32 Assembly",MB_OK
invoke ExitProcess,0
.end start