flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 13 Jan 2009, 09:30
Regardless of what they may tell you "size doesn't matter".
But, seriously, yes, you can use ESP addressing. But it has some problems also. I would recommend that you limit use to leaf procedures only that don't use push/pop inside. Search this very forum for some other discussions about using ESP to access stack parameters. |
|||
![]() |
|
bitRAKE 13 Jan 2009, 16:16
The instruction dispatcher is limited in the bytes and instructions processed. So, size will have an impact in optimization, but having another register usually proves more advantageous. The stack frame is only needed in situations of local dynamic allocation.
x64 is another matter, imho. The calling convension requires some stack massaging and there are plenty of registers. |
|||
![]() |
|
vid 13 Jan 2009, 16:38
I suggest you to google and read some links on "stack frame", there is lot of it online and explains what you seek to understand.
|
|||
![]() |
|
IronFelix 13 Jan 2009, 17:20
Thanks a lot. Thats quite enough for me to understand.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.