flat assembler
Message board for the users of flat assembler.
Index
> Windows > [Question]Before I start my first assembly project |
Author |
|
vid 20 Aug 2011, 23:36
1. If no section is specified, FASM creates single section (not sections). This makes life little bit easier for those who don't really understand how PE section works, otherwise it is seldom needed and it could even be suspicious to some AV heuristics. IMO it is better to stick to usual PE sections layout.
2. Name of section (those 8 characters) doesn't really matter, it is just convention. What matters are flags, such as "readable", "executable", "writeable", "code", "data" or directory specifiers ("import", "export", "fixups", ...). ".idata" is conventional name for "initialized data" section. ".flat" is name FASM uses for all-purpose section that it creates if programmer doesn't specify anything. However if you are speaking about ".data", ".code" directives, those are in fact a macro, a higher level abstraction built upon FASM's native directive "section". This directive is described in manual. 3. Did you find http://flatassembler.net/docs.php?article=win32 ? You don't always want things like parameter counting, also it probably wastes few MBs more during compilation. 4. Unlike MASM, FASM is a very low-level assembler. Mixing code and data doesn't cause any compilation problems I can imagine. However I don't see practical reason to do that. |
|||
20 Aug 2011, 23:36 |
|
rohagymeg 21 Aug 2011, 00:53
Thank you for answering! Almost everything is clear!
|
|||
21 Aug 2011, 00:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.