flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Get name of currently compiling file?

Author
Thread Post new topic Reply to topic
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
Is there any way of knowing the name of the current file, so you can include stuff based on it?

_________________
This is a block of text that can be added to posts you make.
Post 12 Jan 2012, 14:08
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
Not in the current version of fasm. You could make you version and add something like %currentname% for text replacement.

Although I don't see where this is useful, perhaps you can post an example?
Post 15 Jan 2012, 08:17
View user's profile Send private message Visit poster's website Reply with quote
mindcooler



Joined: 01 Dec 2009
Posts: 423
Location: Västerås, Sweden
mindcooler
I was thinking this might clash with SSSO anyway.

I'm trying to develop a system for including symbols in debug builds, and thought I might generate include files from .fas files that I can build the debug versions with.

A better way would probably be to build debug versions automatically outside of IDE:

    generate symbols
    extracts wanted labels from .fas
    inserts these symbols in assembly file and changes it to debug mode
    compile resulting assembly file

_________________
This is a block of text that can be added to posts you make.
Post 15 Jan 2012, 08:27
View user's profile Send private message Visit poster's website 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.

Powered by rwasa.