x86 Machine Code Statistics (2008)(strchr.com) |
x86 Machine Code Statistics (2008)(strchr.com) |
To expand on why PUSH being used for passing arguments to functions makes it more frequent than POP: The caller of a function will usually push one argument at a time to the stack, but then just use the ADD instruction to put the stack pointer back afterwards. (Or with __stdcall functions, the RET instruction will take an operand that does the same thing.)