NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Korybut on February 19, 2021, 02:20:41 PM

Title: Flat memory model (Windows)
Post by: Korybut on February 19, 2021, 02:20:41 PM
Hello!

Is possible to write code avoiding section directive and use flat memory model? If yes what object-file format and what linker I should use in this case?
Title: Re: Flat memory model (Windows)
Post by: fredericopissarra on February 19, 2021, 03:55:01 PM
Not advisable. Code must go to `.text` section and data must go to `.data`, `.bss` or  `.rodata` sections.