flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Use string as func param |
Author |
|
revolution 20 Oct 2008, 17:19
Have a look at the sample program that comes with the Windows version download hello.asm
Code: ; example of simplified Win32 programming using complex macro features include 'win32ax.inc' .code start: invoke MessageBox,HWND_DESKTOP,"Hi! I'm the example program!","Win32 Assembly",MB_OK invoke ExitProcess,0 .end start |
|||
20 Oct 2008, 17:19 |
|
LocoDelAssembly 20 Oct 2008, 18:06
Note however that the invoke macro embeds the string on the code instead of storing it on a data section as MASM does.
|
|||
20 Oct 2008, 18:06 |
|
vador 21 Oct 2008, 12:14
and if you use a string several times, it will be repeated in the executable
|
|||
21 Oct 2008, 12:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.