Tuesday, 11 March 2014

In cdecl, is the callee required to preserve the arguments passed to it?

In cdecl, is the callee required to preserve the arguments passed to it?



1.x86 calling conventions - Wikipedia, the free encyclopedia

Description:The calling function cleans the stack after the function call
returns. There are some variations in the interpretation of cdecl,
particularly in how to return values.



2.Calling convention - Wikipedia, the free encyclopedia

Description:PowerPC . The PowerPC architecture has a large number of
registers so most functions can pass all arguments in registers for single
level calls. Additional arguments ...



3.Application Note 129 - Keil

Description:Application Note Function Pointers in C51 APNT_129 Page 3 of
10 Revision date: 27-Apr-99 POINTERS TO FUNCTIONS WITH NO ARGUMENTS
Function pointers are variables that ...



4.Embedded Systems/Mixed C and Assembly Programming ...

Description:The name decoration for FASTCALL prepends an @ to the function
name, and follows the function name with @x, where x is the number (in
bytes) of arguments passed to ...



5.Cisco Unified Border Element (SP Edition) Configuration ...

Description:Cisco Unified Border Element (SP Edition) by default passes
through all a= lines in SIP messages containing SDP offers and answers
that it forwards.



6.The details of C function stack (and heap) operation when ...

Description:If an argument passed to a function is wider than the width of
the stack slot, it will occupy more than one slot in the stack frame. For
example a 64-bit value ...



7.assembly - ret, retn, retf - how to use them - Stack Overflow

Description:Stack Overflow is a question and answer site for professional
and enthusiast programmers. It's 100% free, no registration required.



8.LLVM Language Reference Manual — LLVM 3.4 documentation

Description:Identifiers ¶ LLVM identifiers come in two basic types: global
and local. Global identifiers (functions, global variables) begin with the
'@' character.



9.c - What is __stdcall? - Stack Overflow

Description:__stdcall is the calling convention used for the function.
This tells the compiler the rules that apply for setting up the stack,
pushing arguments and getting a ...



10.msg.txt

Description:... of its own variables to the callee. ... context that
required a computation such as an argument to an ... macro was passed an
argument with ...

No comments:

Post a Comment