title: How to treat the parameters from C to x86 assembly
body: <p>I'm doing an assembly x86 program that resolves the determinant of a 2x2 matrix. Well, i've done the <em>driver</em> in C and then I made a function that will be processed in the assembly x86 code.
  That's the function in C: int det(int,int,int,int) <strong>atribute</strong>((_cdecl));
  My question is: how do I take these four ints (that i passed like as parameters in that function) in x86? how can I operate with them in the x86 code?
  I think that it could be with the stack, but I don't know how.</p>