How to know some info?

Andrew Haley aph@redhat.com
Mon Nov 9 12:04:00 GMT 2009


johncaponski wrote:
> This is what I have. But there are some problems, I don't know how could I
> know the number of parameters the function receives and the type of the one
> returned...

Arguments are passed on the stack.  The assembly code you posted has no
arguments.

Int arguments are returned in eax.  As far as I can see the assembly code
doesn't return anything.

Andrew.



More information about the Gcc-help mailing list