Here’s the Deal
Slant is powered by a community that helps you make informed decisions. Tell us what you’re passionate about to get your personalized feed and help others.
When comparing GNU Assembler vs NASM, the Slant community recommends NASM for most people. In the question“What are the best x86/x64 assemblers?” NASM is ranked 1st while GNU Assembler is ranked 2nd.
Specs
No specs yet!
PlatformsWindows, DOS, Linux, Unix, OS/2
Ranked in these QuestionsQuestion Ranking
Common Questions
Other Questions
No other questions
Pros
Pro Part of the GCC
Is included with GCC, which is freely available (and may be preinstalled) on Linux.
Pro Standards compliant
Pro Clean syntax
Pro Powerful macros
It can do everything GAS+CPP can do combined, and much more.
Pro Excellent for toy DOS code
NASM can easily create .COM executables and is even supported on DOS.
Cons
No cons yet!
Con Poor diagnostics
NASM typically won't tell you the problem, just generic parser errors like "mismatched operand type" or "expected instruction".