3 ms·
Well, cdecl is used by GCC too. It also mentions very little (i.e. not at all) about callee/caller-saved registers, which is a very important part of a calling
by userbinator 11y ago
Well, cdecl is used by GCC too.
It also mentions very little (i.e. not at all) about callee/caller-saved registers, which is a very important part of a calling convention.
There's another "WTF" moment in the code too:
xor eax,eax
add eax,[esp+4]
add eax,[esp+8]
add eax,[esp+12]
I was somewhat confused at the diagrams with "low memory" at the top and "high memory" at the bottom...