flat assembler
Message board for the users of flat assembler.

Index > Windows > DLL version of fasm

Author
Thread Post new topic Reply to topic
msmith



Joined: 22 Jun 2003
Posts: 40
Location: Missouri
msmith 17 Jan 2005, 20:57
Is it possible to assemble the console version of fasm so that it is a callable DLL?

One of the most important considerations would be whether it could be invoked multiple times after being loaded (initialization issues).
Post 17 Jan 2005, 20:57
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 17 Jan 2005, 21:22
yes Smile

(too bad nobody have done it yet)
Post 17 Jan 2005, 21:22
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 17 Jan 2005, 22:39
It should be easy to adapt the FASM.INC from the FASMW to become a DLL - it can be invoked multiple times without any problem.
Post 17 Jan 2005, 22:39
View user's profile Send private message Visit poster's website Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 18 Jan 2005, 10:15
Yes, I will love it. Would be nice too if fasm.dll accepts an internal buffer instead of filename.asm.
Post 18 Jan 2005, 10:15
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2139
Location: Estonia
Madis731 18 Jan 2005, 13:58
WOW! You mean that is is possible to make ASM scriptable??? WOW Very Happy
You can make a program that accepts plugins as ASM-code and then you can just call FASM.dll to assemble them Wink nice trick!
Post 18 Jan 2005, 13:58
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 18 Jan 2005, 16:01
No more than already. You can spawn FASM.exe passing the file to compile, listen to its results, and map in the output.
Post 18 Jan 2005, 16:01
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 18 Jan 2005, 18:05
Doing in-memory operations is cleaner, and it will be faster, even if windows does a good job of caching, and has the FILE_ATTRIBUTE_TEMPORARY flag.
Post 18 Jan 2005, 18:05
View user's profile Send private message Visit poster's website Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 18 Jan 2005, 20:16
Yes, I prefer component-based reuse instead of that *nix pipes. You can do, its just a matter of taste.
Post 18 Jan 2005, 20:16
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.