How can parsing parameters in fasm ?
Posted on 2002-11-29 09:53:42 by Anonymous
What you mean? Command line parameters?

If yes, look at the fasm source itself :)
Posted on 2002-11-29 10:25:40 by bazik
Hello bazik.

You are right.I forgot.
I mean parsing parameters in procedures,like in masm with variables.
In masm, for example,i do:

MyProc proc x:dword,y:dword
...........................
ret
MyProc endp

Regards,Manos.
Posted on 2002-11-29 11:09:56 by Anonymous
I think this will work.....


proc MyProc, x,y
;Code here
ret
Posted on 2002-12-02 11:48:23 by CyberGuy
And why not working directly with stack :confused: :

push y
push x
call MyProc

MyProc:
; your code
ret 8
Posted on 2002-12-02 12:45:59 by longer
Yes,
but how and where i 'll declare the variables ?

Thanks,Manos.
Posted on 2002-12-02 13:55:16 by Anonymous


proc MyProc, x,y

.localvar1 dd ?
.localvar2 dd ?

enter

; put instructions here

return
Posted on 2002-12-02 15:45:06 by Tomasz Grysztar
Thanks,
i understand.

Regards,Manos.
Posted on 2002-12-02 15:59:30 by Anonymous