#navi_header|C言語系|
''x86(80x86)CPUにおける各種「呼び出し規約」, "Calling Convention(s)" が実際にどのようなアセンブラコードになるのか延々と載せていくページ''
- C言語, Cコンパイラ, x86アセンブラの知識を前提としてます。C++も"thiscall"呼び出し規約でちょっとだけ必要。
- 各種呼び出し規約が、各種コンパイラでどのようなアセンブラコードになるのか、延々と載せていきます。
- 呼び出し規約それ自体の解説は殆どしてません。末尾の「参考資料」に図入りで詳しいページもありますので、各自適当に調べて下さい。
- ある程度御存知の方は、末尾の「参考資料」のみリンクショートカットとしてご利用下さい。
#ls||
----
* 参考資料
書籍:
- &amazon() {エキスパートCプログラミング―知られざるCの深層 (Ascii books)
}
Webページ:
- x86 calling conventions - Wikipedia, the free encyclopedia
-- http://en.wikipedia.org/wiki/X86_calling_conventions
- Procedures and Functions - RAD Studio
-- http://docwiki.embarcadero.com/RADStudio/en/Procedures_and_Functions
- unixwiz.net, Using Win32 calling conventions
-- http://unixwiz.net/techtips/win32-callconv.html
- unixwiz.net, Intel x86 Function-call Conventions - Assembly View
-- http://unixwiz.net/techtips/win32-callconv-asm.html
- Calling Conventions Demystified - CodeProject
-- http://www.codeproject.com/KB/cpp/calling_conventions_demystified.aspx
- Calling conventions on the x86 platform
-- http://www.angelcode.com/dev/callconv/callconv.html
- Microsoft Calling Conventions
-- http://www.cs.cornell.edu/courses/cs412/2001sp/resources/microsoft-calling-conventions.html
- MSDN : C++ Language Reference, Calling Conventions
-- http://msdn.microsoft.com/en-us/library/k2b2ssfy%28VS.71%29.aspx
--- MSDN -> MSDN Library -> Development Tools and Languages -> Visual Studio .NET -> Visual C++ -> Reference -> C/C++ Languages -> C++ Language Reference -> Microsoft-Specific Modifiers -> Calling Conventions
- SYSTEM V APPLICATION BINARY INTERFACE Intel386O Architecture Processor Supplement Fourth Edition
-- http://www.sco.com/developers/devspecs/abi386-4.pdf
- The Old New Thing : The history of calling conventions, part 1 - 5
-- http://blogs.msdn.com/oldnewthing/archive/2004/01/02/47184.aspx
-- http://blogs.msdn.com/oldnewthing/archive/2004/01/07/48303.aspx
-- http://blogs.msdn.com/oldnewthing/archive/2004/01/08/48616.aspx
-- http://blogs.msdn.com/oldnewthing/archive/2004/01/13/58199.aspx
-- http://blogs.msdn.com/oldnewthing/archive/2004/01/14/58579.aspx
#navi_footer|C言語系|