flat assembler
Message board for the users of flat assembler.
Index
> Main > macroinstruction proc |
Author |
|
keenin 25 Aug 2003, 10:43
I think I found out myself.
call addr: push ebp push eip ; = 8 Byte mov ebp,esp goto addr So the virtual data of any proc lies in ebp+8. Right? |
|||
25 Aug 2003, 10:43 |
|
JohnFound 25 Aug 2003, 13:30
keenin wrote: I think I found out myself. Yes, but right order is: call addr: push eip goto addr push ebp ; This is not part of call, but part of 'ENTER' instruction. ; = 8 Byte mov ebp,esp ; This is part of ENTER too. For more detailed description of ENTER instruction look at Intel manual. Regards |
|||
25 Aug 2003, 13:30 |
|
keenin 25 Aug 2003, 13:57
Thanks a lot.
Where can I find the Intel manual? |
|||
25 Aug 2003, 13:57 |
|
roticv 25 Aug 2003, 14:30
|
|||
25 Aug 2003, 14:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.