In assembly, how can I store esp's address displaced by 4 to a variable? -


Is it possible to do this? What do I want to do, for example another register, esi, esp + 4 address

  mov ecx, [esp + 4]   

I Which I understand, does the ESP + 4 not address the value contained in the address of EPC + 4 in Exx but above the code given above? I'm relatively new to assembly programming, so thanks to everyone who would be happy to help me.

Usage (Load Effective Address)

For example:

  Lea Xx, [esp + 4]   

You can do this manually like it Do:

  mov ecx, esp add ecx, 4    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -