flat assembler
Message board for the users of flat assembler.

Index > Main > Macro Implementation

Author
Thread Post new topic Reply to topic
khanh



Joined: 25 Jul 2003
Posts: 27
khanh
Privalo, do you think it is better for fasm to handle macro more efficiency like: allow macro name to be any operator +,-,*,/ and argument and name of macro can concatenate together such a way that:

eg: sizeof.structure equ sizeof struture
where sizeof,structure is a macro
( here structure may be an argument seperated a macro name by . or , .....
I have encounterred many problems like this which if it is implemented, macro may become more handy to use


Sorry for my bad english. Razz
Post 16 Feb 2004, 15:40
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
i particualry agree. Symbol end is marked even by assembly-time operator, which has nothing to do with preprocessor.

khanh: please be more accurate, or give example. I didint get what you exactly want. "sizeof" in way you want to use can't be macro.
Post 16 Feb 2004, 19:40
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number 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.