flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 19 Mar 2009, 20:57
Here's a small tool, which I made mainly for the people like vid, who'd like to have -D option in command line. It's a non-SSSO command line overlay for fasm, which provides few "unorthodox" options that fasm itself does not.
First of all, it allows to specify multiple source files in the command line, which will get assembled as one - this way you can, for instance, include some macro package before the main program you are assembling, like: Code: fa optimization_macros.inc my_program.asm -o my_program.exe Note the -O switch used to specify output file. If it is not specified, the default will be used, which is "a" with a extension appropriate for the output format (like a.exe or a.obj). Such neutral name is used because of the fact, that there may not be single source file (it's similar to how ld linker generates the default output as a.out). Other additional options are: -D for defining symbolic variables from command line, -I for defining include paths (same as defining them with INCLUDE variable), -L to make listing (FA has listing generator built-in). And it's currently only for Windows, sorry.
Last edited by Tomasz Grysztar on 26 Sep 2019, 10:50; edited 2 times in total |
|||||||||||
![]() |
|
madmatt 21 Mar 2009, 00:59
Thanks Tomasz, I can hardly keep up with all the updates! One question, does the command line version for Windows use the fasmw.ini file? Would it be hard to add this to the command line version also?
|
|||
![]() |
|
DOS386 22 Mar 2009, 02:21
Tomasz Grysztar wrote: Here's a small tool, which I made mainly for the people like vid, who'd like to have -D option in command line. It's a non-SSSO command line overlay for fasm, which provides few "unorthodox" options that fasm itself does not. COOL. ![]() Quote: And it's currently only for Windows, sorry. Would be nice to have this for DOS also. I personally don't need "-D" and "-O" (since format binary as "DLL" rocks ![]() ![]() madmatt wrote: > One question, does the command line version for Windows use the fasmw.ini file? NO. RTFS ![]() |
|||
![]() |
|
rugxulo 27 Mar 2009, 14:32
Tomasz Grysztar wrote:
Will it be included in future official FASM Win32 packages? EDIT: In particular, this subforum doesn't allow non-registered viewers to download attachments, so that's part of my concern. EDIT #2: ![]() |
|||
![]() |
|
madmatt 27 Mar 2009, 14:37
Quote: madmatt wrote: RTFS? _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
![]() |
|
rugxulo 27 Mar 2009, 14:45
"Read The Freakin' Source", I assume.
![]() |
|||
![]() |
|
DOS386 27 Mar 2009, 14:47
rugxulo wrote: prefer it named to "fas" or "fasmw32" or similar. Why ? ![]() ![]() Maybe FASMEVIL would be a good name for a hack not tolerable in the "official" version ![]() |
|||
![]() |
|
vid 27 Mar 2009, 14:55
Please recount all the problems it caused while it was active, aside from couple of design freaks (including Tomasz
![]() |
|||
![]() |
|
madmatt 27 Mar 2009, 22:28
rugxulo wrote: "Read The Freakin' Source", I assume. ![]() _________________ Gimme a sledge hammer! I'LL FIX IT! |
|||
![]() |
|
alorent 14 Feb 2011, 12:06
Hello,
Notice that launching "FA" concurrently (like with GNU make) makes corruption as it uses always an intermediate file named "A.$$$". It might be better if the "A.$$$" file takes a random name each time. Regards |
|||
![]() |
|
AsmGuru62 05 Jul 2011, 10:19
Nice tool!
Is it possible to add an option to generate the MAP file? Like the file with addresses for all non-local labels. |
|||
![]() |
|
Tomasz Grysztar 05 Jul 2011, 12:58
AsmGuru62 wrote: Nice tool! |
|||
![]() |
|
AsmGuru62 05 Jul 2011, 13:47
It is perfect!
I must filter it out a little, I need to exclude stuff from FASM INC files, but that is what I was looking for. |
|||
![]() |
|
catafest 26 Aug 2015, 08:31
Why use this style of coding ? I think you can stores a byte, word, or doubleword from the AL, AX, or EAX register, respectively, into the destination operand. So what it's your idea ?
convert_definition: mov esi,[ebx+4] mov eax,'defi' stosd mov eax,'ne ' stosd dec edi |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.