flat assembler
Message board for the users of flat assembler.
Index
> Windows > how to get RVA or VA of sections |
Author |
|
marcinzabrze12 27 Nov 2011, 18:06
Code: section '.text' code readable executable start: lea eax, [.text] ; doesn't work mov eax, .text ; "undefined symbol start.text" |
|||
27 Nov 2011, 18:06 |
|
Tomasz Grysztar 27 Nov 2011, 18:56
Code: section '.text' code readable executable start: mov eax, $$ ; VA mov ebx, RVA $$ ; RVA |
|||
27 Nov 2011, 18:56 |
|
marcinzabrze12 27 Nov 2011, 21:12
thanks a lot Tomasz. I just forgot about $$.
|
|||
27 Nov 2011, 21:12 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.