flat assembler
Message board for the users of flat assembler.
Index
> Main > NASM and FASM Goto page 1, 2 Next |
Author |
|
Juras 15 Apr 2004, 18:18
What are the primary differences, pros and cons of NASM and FASM ?
_________________ Best Regards, Juras aka Exhu (aka YBX) |
|||
15 Apr 2004, 18:18 |
|
pelaillo 15 Apr 2004, 18:49
More biased facts (However, I liked Nasm a lot until I discovered Fasm)
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. |
|||
15 Apr 2004, 18:49 |
|
vid 15 Apr 2004, 19:02
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.
|
|||
15 Apr 2004, 19:02 |
|
crc 16 Apr 2004, 21:43
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. |
|||
16 Apr 2004, 21:43 |
|
pelaillo 16 Apr 2004, 21:57
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. |
|||
16 Apr 2004, 21:57 |
|
crc 16 Apr 2004, 22:36
Good point.
|
|||
16 Apr 2004, 22:36 |
|
Embrance 16 Apr 2004, 23:02
What are the supported export file formats for FASM?I mean for Emu8086 they are:EXE,BOOT,COM,and BIN.
For FASM? |
|||
16 Apr 2004, 23:02 |
|
Dryobates 18 Apr 2004, 08:42
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 ). |
|||
18 Apr 2004, 08:42 |
|
Madis731 25 Apr 2004, 17:54
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 |
|||
25 Apr 2004, 17:54 |
|
Embrance 28 Apr 2004, 20:10
I think BOOT has header.The only pure thing i think is BIN,Correct me if im wrong!
|
|||
28 Apr 2004, 20:10 |
|
neonz 01 May 2004, 20:06
pelaillo wrote: (However, I liked Nasm a lot until I discovered Fasm) You aren't only |
|||
01 May 2004, 20:06 |
|
OzzY 01 May 2004, 21:55
What are the primary differences, pros and cons of TASM and FASM ? =P
|
|||
01 May 2004, 21:55 |
|
Yawgmoth 03 May 2004, 21:59
Tasm: Con--It costs money.
Fasm: Pro--It's free. nuff said. |
|||
03 May 2004, 21:59 |
|
vid 04 May 2004, 18:48
Tasm: micro$ofty intel syntax (copied from MASM)
Fasm: own, simplified (and better, M$ free) intel syntax. |
|||
04 May 2004, 18:48 |
|
decard 04 May 2004, 20:01
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
|
|||
04 May 2004, 20:01 |
|
scientica 06 May 2004, 06:13
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" )
|
|||
06 May 2004, 06:13 |
|
crc 13 May 2004, 11:36
Embrance: BOOT does *not* have a header. It has a different origin in memory than a totally flat binary though.
|
|||
13 May 2004, 11:36 |
|
Embrance 22 May 2004, 17:18
Ok.Thamnks for defination!
|
|||
22 May 2004, 17:18 |
|
vid 30 May 2004, 19:45
i still didn't comprehend this - is NASM project alive?
|
|||
30 May 2004, 19:45 |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.