calling-convention
Why are there so many different calling conventions?
Historically, why does it seem like just about everyone and their kid brother defined their own calling conventions?You\'ve got C, C++, Windows, Pascal, Fortran, Fastcall and probably a zillion others[详细]
2023-01-10 09:21 分类:问答ARM calling conventions on WinCE and Linux?
Do WinCE and Linux use the same calling convention on ARM? What are the differences? The documents I\'ve found so far do not explain very well. For example on http://msdn.microsoft.com/en-us/library/[详细]
2023-01-07 11:43 分类:问答How to pass a pointer to a member function to a C function? [duplicate]
This question already has answers here: Closed 12 years ago. Possible Duplicate: Using a C++ class member function as a C callback function[详细]
2023-01-04 09:34 分类:问答Any real use case for using the calling convention fastcall?
Have you had any real us开发者_如何学编程e case for using the calling convention fastcall? Thanks.__fastcall tries to pass the function arguments in the CPU registers instead of the stack if possible[详细]
2023-01-03 07:20 分类:问答C callback functions defined in an unnamed namespace?
I have a C++ project that uses a C bison parser. The C parser uses a struct of function pointers to call functions that create proper AST nodes when productions are reduced by bison:[详细]
2022-12-29 12:14 分类:问答iPhone/ARM calling convention
on iPhone/ARM, which CPU registers are functions supposed to preserve, if any开发者_如何学C?Old, but incorrect answer. Wikipedia is often inaccurate (sometimes downright incorrect), and this is an exa[详细]
2022-12-29 11:19 分类:问答What is on the 68000 stack when classic MacOS enters a program?
I\'m trying to understand an old classic Mac application\'s entry point. I\'ve disassembled 开发者_如何学运维the first CODE resource (not CODE#0, which is the jump table). The code refers to some vari[详细]
2022-12-28 13:25 分类:问答Pass a Delphi class to a C++ function/method that expects a class with __thiscall methods
I have some MSVC++ compiled DLL\'s for which I have created COM-like (lite) interfaces (abstract Delphi classes).Some of those classes have methods that need pointers to objects.These C++ methods are[详细]
2022-12-27 15:04 分类:问答What are the calling conventions for UNIX & Linux system calls (and user-space functions) on i386 and x86-64
Following links explain x86-32 system call conventions for both UNIX (BSD flavor) & Linux: http://www.int80h.org/bsdasm/#system-calls[详细]
2022-12-24 18:56 分类:问答nasm/yasm arguments, linkage to C++
I\'ve got a question concerning nasm and its linkage to C++. I declare a litte test function as 开发者_开发问答[详细]
2022-12-23 06:32 分类:问答