Re: c_proc/func() bug ?
- Posted by "Bernard W. Ryan" <xotron at bluefrognet.net> Nov 11, 2003
- 646 views
>Yeah I can see now it was correct. I just remembered something was supposed >to be reversed. It's been too long since I messed around with those kinda >things.. >What's weird though, is that my program didn't crash when i had forgot do >"ret 12" instead of just "ret" which i had put at first. Maybe that was just >"luck". Mic: Pascal pushs stack left to right. "C" pushs stack right to left. The raeson "C" is right to left was because "C" added the capability to use a variable number of arguments in a call. Bernie