Hi Sergo:
about the flags option, do you mean something like defining a flags operand:
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.
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.
Ok, Sergo,
just re-read an old post by you:
Then two more 'flags' to the list:
i ------> info
r --------> remove
Then:
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.
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'