flat assembler
Message board for the users of flat assembler.

Index > Main > question about .fas format.

Author
Thread Post new topic Reply to topic
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos
How to I differentiate a symbol that is a label from a symbol that is a constant?

Basically I want to make an utility that gives me a map of all the labels while ignoring everything else. I can dump the symbols from the table, but I have no idea on how do I know if its a label or not.
Post 20 Jun 2009, 18:01
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
Assembly-time variables defined with "=" operator are marked with "can be redefined" flag.
Post 20 Jun 2009, 20:09
View user's profile Send private message Visit poster's website Reply with quote
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos
Thanks, it help me narrow things. But I still get structure items like:

Code:
CHOOSECOLOR.lStructSize
    


But by also testing the flags by 0100h (Optimization adjustment flag?) I finally got the labels.

One question does the flag 0100h appears on anything other than labels?
Post 23 Jun 2009, 14:49
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
rxantos wrote:
One question does the flag 0100h appears on anything other than labels?
No. It is applied only to the true, non-virtual, $-dependent labels.
Post 23 Jun 2009, 15:43
View user's profile Send private message Visit poster's website Reply with quote
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos
Thank you.
Post 23 Jun 2009, 17:36
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.