1 Mar 2004 08:48
stack contents at function call
Vadiraj C S <vadiraj <at> mail.cyberneme.com>
2004-03-01 07:48:24 GMT
2004-03-01 07:48:24 GMT
Hello Assembly Gurus I'm working on Assembly programming under linux from few days, here are some issues 1.When a function call is made the parameters are pushed on to the stack and a a call to the function is made. Now the top of the stack is the return address, Please correct me if I'm wrong here, and the parameters above it is the first parameter sent and so on.. 1. Is this OS dependent, or compiler dependent? 2. Does this sequence change when call from C language and call from assembly. Cos I noticed difference with gcc(GNU compiler) and icc (Intell compiler) Help is needed urgent, Thanks in advance... -- -- With Best Regards Vadiraj C S - To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html(Continue reading)
RSS Feed