I want special macro.
calling:
macroname sampleparam
want output:
db "samplename" ; store parameter variable name as sting
mov eax,[sampleparam]
2. output no problem, but how to declare macro, store label as string
only 1 macro and 1 parameter good and nice.
thx
Several such macros are included in the MASM32 macros.asm. See SADD, CTXT, CADD, and chr$.
Hi korte,
Have a look at MASM Programmer's Guide :
http://webster.cs.ucr.edu/Page_TechDocs/MASMDoc/ProgrammersGuide/Chap_09.htm
It provides all the technical information you need.