Hi Sergo:

about the flags option, do you mean something like defining a flags operand:
flags wa
With the flags being:
w Write access allowed
a Section allocated in memory
x Section contains executable instructions
etc.

Then
.code is "ax"
.data "wa"
.bss "wa"
etc..

That would be neat.
But maintaining the older way for compatibility.
Posted on 2002-10-02 10:15:52 by slop
Ok, Sergo,

just re-read an old post by you:
or 'Freedom ASM' I propose may be you allow a programmer directly specifiy section flags (as dword), (an example using predefined constanst from winnt.h)

section '.drectve' IMAGE_SCN_LNK_INFO | IMAGE_SCN_LNK_REMOVE

It would allow not to pollute FASM resereved words namespace with all diferrent flags than could be needed in the future.

Then two more 'flags' to the list:
i ------> info
r --------> remove
Then:
section '.drectve' 'ir'
Posted on 2002-10-07 13:17:43 by slop