flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 23 Mar 2004, 19:51
privalov still refuses to allow command line options.
Why? They could be optional, so no backward compatibility breaks, and newbies still could use "fasm <source> <destination>". |
|||
![]() |
|
Tomasz Grysztar 23 Mar 2004, 20:01
When did I say that I refuse? I plan to implement some switches than don't affect the output code, like the switch for setting the upper limit for memory usage. But all setting that affect the output are in fasm done using the directives in the source.
But you are not right about the section alignment, this is what PE/COFF docs from MS say about the SizeOfRawData field: Quote: Size of the section (object file) or size of the initialized data on disk (image files). For executable image, this must be a multiple of FileAlignment from the optional header. Last edited by Tomasz Grysztar on 23 Mar 2004, 20:10; edited 1 time in total |
|||
![]() |
|
comrade 23 Mar 2004, 20:43
Try it out
|
|||
![]() |
|
comrade 23 Mar 2004, 21:41
Here is program from FASM\EXAMPLES\HELLO
|
|||||||||||
![]() |
|
comrade 23 Mar 2004, 21:42
This technique can be achieved using PE realigner program, so not really necessary for FASM to have it. Just bringing to your attention that it is indeed true. Very minor.
|
|||
![]() |
|
Tomasz Grysztar 23 Mar 2004, 21:43
We cannot ignore the official specification just because it works.
|
|||
![]() |
|
f0dder 23 Mar 2004, 21:47
I'm with privalov. Things have worked that broke on later windows versions (certain PE aspects, no-import PE's, port I/O, ring0/admin hacks, ...)
|
|||
![]() |
|
vid 29 Jul 2004, 18:21
privalov: so where is option to generate only result of preprocessing? It would be very useful and as I know, it is very easy to do (just save some buffer to file and exit)
|
|||
![]() |
|
Tomasz Grysztar 29 Jul 2004, 18:35
Why are you asking about it in this thread?
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.