Calling conventions for different C++ compilers and operating systems

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): Fog A.
Year: 2005

Language: English
Pages: 39

Introduction......Page 1
The need for standardization......Page 3
Data representation......Page 4
Data alignment......Page 6
Stack alignment......Page 7
Register usage......Page 8
Can floating point registers be used in 64-bit Windows?......Page 11
Function calling conventions......Page 12
Passing and returning objects......Page 15
Passing and returning SIMD types......Page 17
Name mangling......Page 18
Microsoft name mangling......Page 23
Borland name mangling......Page 27
Watcom name mangling......Page 28
Gnu2 name mangling......Page 29
Gnu3 name mangling......Page 31
Symantec and Digital Mars name mangling......Page 33
Turning off name mangling with extern "C"......Page 34
Exception handling and stack unwinding......Page 35
Communal data......Page 36
Data endian-ness......Page 37
Digital Mars......Page 38
ABIs for Windows......Page 39