flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Globals meets forwarded locals without equ

Author
Thread Post new topic Reply to topic
hopcode



Joined: 04 Mar 2008
Posts: 563
Location: Germany
hopcode
Hallo all,
this macro that follows:
Code:
    

My question:
Is it this really the only way to declare at preprocessing-time, in a preceeding section of the code, labels that are realized and accessible only later, it is to say, at assembly time, without the use of EQUalization ?
I explain me: i mean them as previously declared ones, but visible only at assembly stage ? For example, in a switch/case system, where the jmp labels have been previously declared, but only at assembly time realized in order to be addressable ?
Code:
    


Last edited by hopcode on 06 Apr 2011, 15:52; edited 1 time in total
Post 29 Jul 2008, 06:10
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17492
Location: In your JS exploiting you and your system
revolution
If I understand your Q correctly you want to use labels that are defined later. If that is the case then you can simply use them and define them whenever you want without restriction. The only reason the macros use the local/equ method is to ensure that the names are unique (i.e. not duplicated).
Post 14 Aug 2008, 21:00
View user's profile Send private message Visit poster's website 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.