flat assembler
Message board for the users of flat assembler.

Index > Main > help converting stub from v1.52fasm

Author
Thread Post new topic Reply to topic
InvalidOpcode



Joined: 05 Dec 2013
Posts: 2
InvalidOpcode 05 Dec 2013, 19:04
hi i just found fasm and its beast.... but how the heck do i convert this workaround procedural macro to compile with v 1.70? its the comrades src

Code:
macro define name { name fix defined }
macro ifdef name,condmacro,elsemacro
{
   macro ifdef#name _m elsemacro m_
   macro ifdef#defined _m condmacro m_
   ifdef#name
   purge ifdef#defined
   purge ifdef#name
}
    


Last edited by InvalidOpcode on 05 Dec 2013, 20:11; edited 1 time in total
Post 05 Dec 2013, 19:04
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 05 Dec 2013, 19:15
You can try using the backslash:
Code:
   macro ifdef#name \{ elsemacro \}
   macro ifdef#defined \{ condmacro \}    
Post 05 Dec 2013, 19:15
View user's profile Send private message Visit poster's website Reply with quote
InvalidOpcode



Joined: 05 Dec 2013
Posts: 2
InvalidOpcode 05 Dec 2013, 20:12
revolution wrote:
You can try using the backslash:
Code:
   macro ifdef#name \{ elsemacro \}
   macro ifdef#defined \{ condmacro \}    


thanks, works ,but the src is so outdated.. gonna begin from scratch
Post 05 Dec 2013, 20:12
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.