flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 28 Jan 2005, 23:32
No. At least there is no general way.
But IMHO, you wrongly ask here for a means, not for an aims. What you actually want to achieve? Probably there is pretty good solution in FASM style. ![]() Regards. |
|||
![]() |
|
iklin 29 Jan 2005, 06:20
madmatt,
for data section there is a good way to use 'globals.inc' from Freshlib ![]() ![]() ![]() |
|||
![]() |
|
bogdanontanu 29 Jan 2005, 06:55
any linker can do that
![]() |
|||
![]() |
|
madmatt 29 Jan 2005, 10:43
The reason I ask is because when working on the .dll library for the Windows game programming for dummies examples, I had multiple .data sections, and when I combined them into a single one it saved me ~3kb from a 55kb sized file. So that is why I ask.
MadMatt |
|||
![]() |
|
Tomasz Grysztar 29 Jan 2005, 11:23
Check out these threads:
http://board.flatassembler.net/topic.php?t=2330 http://board.flatassembler.net/topic.php?t=432 |
|||
![]() |
|
JohnFound 29 Jan 2005, 11:28
madmatt wrote: The reason I ask is because when working on the .dll library for the Windows game programming for dummies examples, I had multiple .data sections, and when I combined them into a single one it saved me ~3kb from a 55kb sized file. So that is why I ask. As iklin said, "globals.inc" was writen exactly with purpose to solve the problems with data definitions, spreaded in the source. It automatically order your data definitions to put undefined data at the end. You can use "globals.inc" with every source, it is not depending on FreshLib. Regards. |
|||
![]() |
|
madmatt 30 Jan 2005, 01:27
Looked at the message threads, and see some macro's there. So these macro's will gather all my data sections into one data section when I use them?
|
|||
![]() |
|
iklin 30 Jan 2005, 10:26
madmatt wrote: Looked at the message threads, and see some macro's there. So these macro's will gather all my data sections into one data section when I use them? Yes. Use Code: uglobal ... endg iglobal ... endg in any place of sources and Code: IncludeAllGlobals in place there you want your data.
|
|||||||||||
![]() |
|
madmatt 31 Jan 2005, 09:25
All Right, downloaded the macros, will give them a try shortly.
Thanks to everyone, MadMatt |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.