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
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
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.