flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE 22 May 2024, 15:16
IIRC, '.flat' is the default section. The trick is to not use a "section" statement.
![]() |
|||
![]() |
|
MatQuasar 22 May 2024, 15:16
It is .flat section.
I asked similar question before: https://board.flatassembler.net/topic.php?t=21848 |
|||
![]() |
|
Ali.Z 22 May 2024, 15:24
thanks, i was about to manually calc import section size and rva and then patch the exe's optional header. too much work obv.
_________________ Asm For Wise Humans |
|||
![]() |
|
revolution 23 May 2024, 02:14
Ali.Z wrote: iirc, there was a way to force fasm to stuff all data and imports along with code into one flat section named .fas or .flat i dont remember. Code: format pe section '.flat' readable writeable executable entry $ call $ data import dd 0x01234567 end data data export dd 0x76543210 end data my_data dd 0xdeadbeef my_string db 'Hello, world!',13,10,0 |
|||
![]() |
|
Hrstka 23 May 2024, 09:04
Btw. it's not necessary to call the section '.flat'. You can choose any name, as long as it fits into 8 characters.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.