hiiiiiiii

sometimes i have a cases
example


push eax; save it for later
invoke function,para1,para2,para3,eax
; now i want to use the old eax
;and its all ready on the stack
can someone build a macro just like invoke but if i use PUSHED or somelike that as parameter it wont do anything . (it will skip to the next one )

bye
thanks

eko
Posted on 2002-07-07 11:25:11 by eko
xinvoke MACRO procedure, arguments:VARARG

pushad
IFB <arguments>
call procedure
ELSE
call procedure, arguments
ENDIFM
popad
ENDM


From now on, just use xinvoke instead of invoke.
Posted on 2002-07-07 12:31:41 by comrade