flat assembler
Message board for the users of flat assembler.

Index > Main > grouping sections

Author
Thread Post new topic Reply to topic
chorus



Joined: 16 Mar 2004
Posts: 23
chorus
Hello,
I was just wondering if there is a way to indicate to FASM to group sections with the same name. Ex, if I do the following, I get two sections called '.data' in my executable:

Code:
section '.data' data readable writeable
  szParentClass        db 'SKELETON',0
section '.data' data readable writeable
  szProgramTitle       db 'Skeleton FASM App',0
    


I would like the two to be merged into one section. Is there a group directive or similar that would do this?

Thanks
--Chorus
Post 13 Apr 2004, 23:16
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
no, impossible

_________________
comrade (comrade64@live.com; http://comrade.ownz.com/)
Post 14 Apr 2004, 00:37
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
chorus



Joined: 16 Mar 2004
Posts: 23
chorus
lol, ok.
Post 14 Apr 2004, 00:56
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
chorus wrote:
I was just wondering if there is a way to indicate to FASM to group sections with the same name.


Especially for data definitions look in 'globals.inc' file from the Fresh project and in sources of Fresh itself. There are macroses for data definitions that group data in one section. These macroses are described in decards help: 'freshguide.chm' in the same package.

Regards.
Post 14 Apr 2004, 07:47
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
chorus



Joined: 16 Mar 2004
Posts: 23
chorus
Thanks! I'll take a look
--Chorus
Post 15 Apr 2004, 01:06
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.