flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > FASM as DLL |
Author |
|
vid 26 Apr 2006, 15:31
wouldn't it be better statically linked? is there any reason to use DLL?
|
|||
26 Apr 2006, 15:31 |
|
dixong 26 Apr 2006, 15:39
Thanks for your reply.
The interpreter is a language itself and you can write executable code in it. Something like Forth. Inline assembly would be used to write routines that need to be either time or space efficient. They generally would be very short and simple subroutines, and you would write and execute them "on-the-fly" without compiling the entire application again. Thanks, Glenn |
|||
26 Apr 2006, 15:39 |
|
vid 26 Apr 2006, 15:52
yes, but i mean you can compile FASM into linkable file and then link it into your executable. you don't need another file (FASM.DLL).
|
|||
26 Apr 2006, 15:52 |
|
i-don 17 May 2006, 17:19
dixong, I think this is a nice idea. It could be very useful for learning fasm in classroom style environment. Also useful to have fasm as scripting option at runtime in game or whatever project.
One can make GUI for it to assist the learner execute the fasm code he/she wrote on the spot. It's bring back the memory of using DBase or Foxpro. It does help to speed up the learning process. The other benefits is the DLL being used as FASM framework. Located far away at a server computer and call-able by client PC thats connected to the servers. Something like an Enterprise version of FASM runtime DLL. I wonder if this can be done, later-on, has anyone thought of making an ActiveX or COM version of FASM DLL? i.e. in HLL (basic) calls: Code: MyObj.QueryInterface(IID_FASM, @lpFasm) lpFasm.Execute(@MyAsmString) 'MyAsmString contain multiple 'lines of inline FASM codes lpFasm.Release |
|||
17 May 2006, 17:19 |
|
OzzY 10 Oct 2006, 22:24
I think a DLL version for FASM would be great!
I agree with i-don! |
|||
10 Oct 2006, 22:24 |
|
llaurrentt 04 Nov 2006, 10:58
dixong wrote: Hi, Unless you need an immediate binary return of the line assembled (don't forget FASM is multi-pass), why don't you simply use redirection and launch it as a child process? |
|||
04 Nov 2006, 10:58 |
|
ronware 05 Nov 2006, 04:11
llaurrentt wrote:
That's actually how Reva currently integrates assembly... it uses FASM in precisely that manner if desired. |
|||
05 Nov 2006, 04:11 |
|
Adam Kachwalla 19 Jun 2007, 08:24
ronware wrote:
Or you can simply generate a FASM output and call FASM like this: FASM.EXE "~ABCDEF~.TMP" "ABCDEF.EXE" I also have heard that FASM can produce *.OBJ files, I'm not sure about that one though as I have never needed to use a *.OBJ in an assembly-language project (operating system) before. |
|||
19 Jun 2007, 08:24 |
|
AlexP 24 Dec 2007, 15:53
There is actually a FASM dll library, it is attached in the Windows section thread of "fasm.dll" or something from about a week or so ago. Should work great if this poject is still going lol.
|
|||
24 Dec 2007, 15:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.