flat assembler
Message board for the users of flat assembler.

Index > Main > What are the supported export file formats for FASM?

Author
Thread Post new topic Reply to topic
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 17 Apr 2004, 12:35
What are the supported export file formats for FASM?I mean for Emu8086 they are:EXE,BOOT,COM,and BIN.
For FASM?
Post 17 Apr 2004, 12:35
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8359
Location: Kraków, Poland
Tomasz Grysztar 17 Apr 2004, 12:46
See the section 2.4 of the manual.

Boot sectors and .com programs are all made using the binary output format (I suppose this is the "BIN" you are talking about) with a little help of "org" directive, while the .exe programs are executables in MZ format.
Post 17 Apr 2004, 12:46
View user's profile Send private message Visit poster's website Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 17 Apr 2004, 13:14
What are the plan in this area?I mean do you plan to add new file types?
Post 17 Apr 2004, 13:14
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
ShortCoder



Joined: 07 May 2004
Posts: 105
ShortCoder 07 May 2004, 06:41
Current filetypes you can have are

COM executable (DOS)
naked binary (same as above, really, but could be used for your own OS..boot raw code from a disk)
MZ exe (DOS program also)
PE exe (Windows95 through Windows Server 2003 program)
ELF (Linux and UNIX programs)

I can think of a few other executable file formats, but two of them are not for anything that runs on an x86 and the others are
Ones that work on x86 OSes are
a.out (some UNIXes---I take it an older format--just use ELF instead)--NOT to be confused with the common name of "a.out" given to UNIX programs when compiled without a specific name

NE (Windows3.11 and below and also OS/2)
LE (Windows95 device drivers)

Still, you can program for any of the other x86 executable file formats that you want to, using FASM. The thing is, you'll need to have intimite knowledge of the executable file format, and output the raw bytes where needed (might want to make yourself a template to use for all other times after this) and you'll need to choose the raw binary form of assemblage.
Post 07 May 2004, 06:41
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 07 May 2004, 12:47
For example, PE exe covers also dll, vxd, scr, ...
Post 07 May 2004, 12:47
View user's profile Send private message Yahoo Messenger Reply with quote
neonz



Joined: 02 Aug 2003
Posts: 62
Location: Latvia
neonz 10 May 2004, 10:27
ShortCoder wrote:

LE (Windows95 device drivers)


Not only Win32 drivers, Linear Executables (with name "LX") was introduced with OS/2 (and are format of 32-bit OS/2 programs).
Post 10 May 2004, 10:27
View user's profile Send private message Visit poster's website Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance 22 May 2004, 17:21
Thank fort the filoe output list!
Post 22 May 2004, 17:21
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.