3 ms·
> Note that the x86 was originally designed as a Pascal machine, which is why there are instructions to support nested functions (enter, leave), the pascal call
by 35bge57dtjku 10y ago
> Note that the x86 was originally designed as a Pascal machine, which is why there are instructions to support nested functions (enter, leave), the pascal calling convention in which the callee pops a known number of arguments from the stack (ret K), bounds checking (bound), and so on. Many of these operations are now obsolete.
http://stackoverflow.com/questions/26323215/do-any-languages-compilers-utilize-the-x86-enter-instruction-with-a-nonzero-ne http://stackoverflow.com/questions/26323215/do-any-languages...
- chkras 10y agoExcept windows still uses stdcall which is pascal style return with c styled parameter ordering.