I am trying to use a VARARG argument for a macro in TASM 3.2 but i don't seem to be able to get it to work. I need to define a macro identical to that of MASM's INVOKE which accepts a variable number of argument but TASM always complains even when i am using the "FOR" keyword.

Can anybody help me?
Posted on 2006-08-18 02:23:38 by XCHG
Okay i just figured it out. TASM seems to be having some issues with the "FOR" directive so we have to use the rather-obsolete version of "FOR" called "IRP"; Now i coded this macro which pushes a variable lengthed parameter onto the stack.

Posted on 2006-08-21 02:26:43 by XCHG