![]() ![]() Hardware extensions and all software standards (save for a BIOS calling convention) were thrown open to market competition.Ī multitude of independent software firms offered operating systems, compilers for many programming languages, and applications. ![]() The only hardware standard for IBM PC-compatible machines was defined by the Intel processors (8086, 80386) and the literal hardware IBM shipped. The IBM PC came with Microsoft's fore-runner to Windows, the Disk Operating System ( DOS), but it did not come with a compiler. The calling convention(s) for each platform were those defined by the manufacturer's programming tools.Įarly microcomputers before the Commodore Pet and Apple II generally came without an OS or compilers. Prior to microcomputers, the machine manufacturer generally provided an operating system and compilers for several programming languages. On the other hand, conventions which are used as an API standard (such as stdcall) are very uniformly implemented. 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. Calling conventions, type representations, and name mangling are all part of what is known as an application binary interface (ABI). This is intimately related with the assignment of sizes and formats to programming-language types.Īnother closely related topic is name mangling, which determines how symbol names in the code are mapped to symbol names used by the linker. How the task of preparing the stack for, and restoring after, a function call is divided between the caller and the callee.Which registers the called function must preserve for the caller (also known as: callee-saved registers or non-volatile registers).How parameters are passed (pushed on the stack, placed in registers, or a mix of both).The order in which atomic (scalar) parameters, or individual parts of a complex parameter, are allocated.This article describes the calling conventions used when programming x86 architecture microprocessors.Ĭalling conventions describe the interface of called code: ( Learn how and when to remove this template message) ( February 2015) ( Learn how and when to remove this template message) The references used may be made clearer with a different or consistent style of citation and footnoting. This article has an unclear citation style. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |