flat assembler
Message board for the users of flat assembler.
![]() Goto page Previous 1, 2 |
Author |
|
revolution 22 Nov 2016, 14:16
Manos wrote:
|
|||
![]() |
|
revolution 22 Nov 2016, 15:51
Manos wrote: I asked you if you are interested for wlink32. |
|||
![]() |
|
Manos 22 Nov 2016, 15:53
revolution wrote:
OK. Thank you, Manos. |
|||
![]() |
|
Manos 22 Nov 2016, 18:43
In NASM there is a const segment: [section .rdata]
How can I phrase the above in FASM ? Thanks, Manos. |
|||
![]() |
|
revolution 22 Nov 2016, 22:17
Manos wrote: In NASM there is a const segment: [section .rdata] Code: section '.rdata' data readable |
|||
![]() |
|
Manos 23 Nov 2016, 08:50
Thank you revolution.
Because I come from NASM to FASM and the FASM documentation is a bit short, could you translate the following NASM expressions to FASM ? [section tls] [section tlsstartup] [section tlsrundown] [section cstartup] [section crundown] [section .drectve info] Manos. |
|||
![]() |
|
revolution 23 Nov 2016, 09:29
You can use the data directive to specify the predefined sections. Check out the PE specs for which section numbers relate to which data type.
Code: data <section_number> ;stuff end data Quote: data directive begins the definition of special PE data, it should be followed by one |
|||
![]() |
|
Manos 23 Nov 2016, 20:06
Hi revolution.
Because my C compiler, (wcc32), was made to emit plain NASM code, I modified it to emit plain FASM code. This is the reason for the above questions. The only problem with FASM was the absence of includelib that MASM use or [section .drectve info] that NASM use. But I managed it for FASM, like: section '.drectve' data readable linkinfo The above Informs the linker that the current module should be linked with a library. Example: section '.drectve' data readable linkinfo db "/defaultlib:msvcrt.lib" Thank you for the help, Manos. |
|||
![]() |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.