flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
Juras
What are the primary differences, pros and cons of NASM and FASM ?
_________________ Best Regards, Juras aka Exhu (aka YBX) |
|||
![]() |
|
pelaillo
More biased facts
![]() Fasm is a multipass assembler, Nasm performs only two passes Fasm runs on MenuetOS (and is easier to port to other systems). Fasm is smaller in size and in source length and is well written permitting better maintainability/extendibility. IMHO the preprocessor directives are cleaner and hus permit writing code easier to read. |
|||
![]() |
|
vid
fasm is maintained by privalov, and he is always ready to explain you why is some behavior of fasm used (i bet he explains every change / addition zound stimes again and again), he can aid you if you are going to learn from / modify it's sources etc. In my opinion he is another pro of FASM.
|
|||
![]() |
|
crc
A key reason that NASM is still widely used is that it supports more output formats than FASM does. The support for including debugging information is nice too.
Also a minor correction: NASM is LGPL, not GPL, so it's a little more free. Both NASM and FASM are open source. As far as portability, I've had better luck getting NASM to run on other OSes than I've had with FASM. That's largely due to the use of standard C libraries though. |
|||
![]() |
|
pelaillo
Another key reason that Nasm is still widely used is that Nasm goes in (near) all Linux distros as developement tool.
Fasm is still unknown to the mainstream, but I am confident that this will change soon. ![]() |
|||
![]() |
|
crc
Good point.
|
|||
![]() |
|
Embrance
What are the supported export file formats for FASM?I mean for Emu8086 they are:EXE,BOOT,COM,and BIN.
For FASM? |
|||
![]() |
|
Dryobates
Embrance wrote: What are the supported export file formats for FASM?I mean for Emu8086 they are:EXE,BOOT,COM,and BIN. Look at manual: pure asm (COM etc.), MZ, PE (EXE, DLL), COFF, ELF (System V, but with brandelf you can simply change it into Linux. With FreeBSD I'm still trying to use, but in 5.x there is prolem with sys_brk in Linux compatibity mode ![]() |
|||
![]() |
|
Madis731
I wonder if it is legal to say, that BOOT=COM=BIN cuz they all are binary in the way they are executed or did BOOT have headers ^o) ...
...hmm, you can change your .bin to .com and you have a program:D vóila:P |
|||
![]() |
|
Embrance
I think BOOT has header.The only pure thing i think is BIN,Correct me if im wrong!
|
|||
![]() |
|
neonz
pelaillo wrote: (However, I liked Nasm a lot until I discovered Fasm) You aren't only ![]() |
|||
![]() |
|
OzzY
What are the primary differences, pros and cons of TASM and FASM ? =P
|
|||
![]() |
|
Yawgmoth
Tasm: Con--It costs money.
Fasm: Pro--It's free. nuff said. |
|||
![]() |
|
vid
Tasm: micro$ofty intel syntax (copied from MASM)
Fasm: own, simplified (and better, M$ free) intel syntax. |
|||
![]() |
|
decard
actually Fasm doesn't have "its own" syntax: as Privalov said, it is based on the IDEAL mode of TASM, thus you can make TASM use similar syntax. Notice that NASM and GoASM use this syntax too
![]() |
|||
![]() |
|
scientica
Let's just say, that it's not AT&T syntax (which is imo "just different" - or in other words "IMO quer, and makes eyes bleed"
![]() |
|||
![]() |
|
crc
Embrance: BOOT does *not* have a header. It has a different origin in memory than a totally flat binary though.
|
|||
![]() |
|
Embrance
Ok.Thamnks for defination!
|
|||
![]() |
|
vid
i still didn't comprehend this - is NASM project alive?
|
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.