I was wondering if there was any advantage of passing arguments to functions using stack, in assembly language. Here is what I mean:
readString PROTO :DWORD ;Prototype for function
;Now we call the function by moving a DWORD value into eax and pushing eax
mov eax, FAD37EABh
push eax
CALL readString
Is there any advantage of using this method over the following?
INVOKE readString, FAD37EABh
Regards,
Devjeet