This is a list of x86 calling conventions. There are subtle differences in how various compilers implement these conventions, so it is often difficult to interface code which is compiled by different compilers. Floating point return values are returned in XMM0. May the source be with you, stranger …. However, this does give us an insight into the mechanics of parameter-passing and stack allocation and cleanup, which should be relevant even today.
nest...