NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Flat memory model (Windows)
« previous
next »
Print
Pages: [
1
]
Author
Topic: Flat memory model (Windows) (Read 11191 times)
Korybut
Jr. Member
Posts: 7
Flat memory model (Windows)
«
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?
Logged
fredericopissarra
Full Member
Posts: 373
Country:
Re: Flat memory model (Windows)
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Programming with NASM
»
Flat memory model (Windows)