Re: c_proc/func() bug ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

>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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu