In standard nasmx example demo1 for win32 is
;// the start of our program as defined with the ENTRY macro
proc demo1, ptrdiff_t argcount, ptrdiff_t cmdline
locals none
invoke my_p, szContentTwo, szTitleTwo
invoke MessageBox, NULL, szContent, szTitle, MB_OK
invoke ExitProcess, NULL
endproc
If I try use argcount: mov eax,argcount is error: symbol `argcount' undefined
If I try preproces only -E is errors:
..\..\..\inc\nasmx.inc:358: error: symbol references not supported in preprocess-only mode
..\..\..\inc\nasmx.inc:358: error: non-constant value given to `%assign'
..\..\..\inc\nasmx.inc:360: fatal: unknown size0_t: 0