What is an assembly-level representation of pushl/popl %esp?

左心房为你撑大大i 提交于 2019-11-29 10:22:06

As it says about push esp in Intel® 64 and IA-32 Architectures Developer's Manual: Combined Volumes:

The PUSH ESP instruction pushes the value of the ESP register as it existed
before the instruction was executed. If a PUSH instruction uses a memory operand
in which the ESP register is used for computing the operand address, the address
of the operand is computed before the ESP register is decremented.

And as regards to pop esp:

The POP ESP instruction increments the stack pointer (ESP) before data at the old
top of stack is written into the destination.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!