Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
On x86, both are macros for a non-standard calling convention __stdcall
.
On ARM they don't do anything.
The calling convention is…
• how we call a function at the register level;
• who cleans up the stack after the caller;
• who is responsible for restoring registers if they have changed (or there is a risk that they have changed).
stdcall - call through the stack, from right to left, the function is responsible for clearing the stack, the result is in eax (rax), the function is responsible for restoring the segment registers, esp and ebp, the program is responsible for the rest.
On ARM, the cdecl convention is used. The same thing, but the program is responsible for clearing the stack (I don’t know what registers are on ARM).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question