Function definition: Difference between revisions

Content added Content deleted
(→‎i386 Unix: link to SVR5 ABI manual)
Line 1,803: Line 1,803:


===Unix===
===Unix===
Function definition and calling conventions on a Unix-like system are specified in the book "System V Application Binary Interface: Intel 386 Architecture Processor Supplement". These are the conventions used by the C language and also most other languages.
Function definition and calling conventions on a Unix-like system are specified in the book "System V Application Binary Interface: Intel 386 Architecture Processor Supplement" ([https://web.archive.org/web/20000818171113/http://www.sco.com/developer/devspecs/abi386-4.pdf from SCO at archive.org]). These are the conventions used by the C language and also most other languages.


The stack, for two 32-bit integer parameters, is
The stack, for two 32-bit integer parameters, is