PeterX wrote:
Thanks forcorrecting me. You are right, it is about "Fasm g"
The correct manual is this:
http://flatassembler.net/docs.php?article=manual#2.4which says what bzt said (PE, COFF, ELF).
Yes, and just for the records, fasmg can output in many formats too (probably even more than fasm). From the doc
Quote:
The only built-in instruction that resides in that namespace is the "binary", but additional ones may be defined in form of macroinstructions.
That's because fasmg's philosophy is that it has only the very essence of an Assembler, and provides everything else (instruction sets as well as output formats) through macros.
Here's a tutorial on how to add new output formats to fasmg, exampled with PE+ and ELF. (Just for the records, fasmg is shipped with several include files for many output formats, and you can download many more. Here's the include file generating
MachO and
Android Dalvik bytecode for example)
Cheers,
bzt