NASM is an awesome 80x86 assembler that’s all about being portable and modular. It supports a bunch of object file formats like Linux a.out, ELF, COFF, Microsoft 16-bit OBJ, and Win32. Plus, it can even output plain binary files!
The syntax for NASM is designed to be straightforward and easy to understand. It's similar to Intel's but way less complicated. It supports various opcodes like Pentium, P6, MMX, 3DNow!, and SSE. And guess what? It even comes with macro capabilities! Oh, and there’s a disassembler included too!
So how did NASM come about? Well, it was born from a chat on comp.lang.asm.x86 (or maybe alt.lang.asm – can’t remember!). The idea was pretty simple: there wasn’t a good free x86-series assembler out there. So someone thought it might be cool to create one.
This is where NASM steps in! Sure, it's still in prototype stage right now, so we can't promise it'll outshine the others just yet. But we’d love your feedback! Send us bug reports or any helpful tips you have – thanks to everyone who has already pitched in!
If you’re ready to roll with NASM, start by downloading the Unix source archive named nasm-X.XX.tar.gz (where X.XX is the version number). Unpack it into a directory like /usr/local/src. Once unpacked, you’ll find its own subdirectory called nasm-X.XX.
NASM is super easy to set up! After unpacking it, just go into that directory and type ./configure
. This script will sniff out the best C compiler for building NASM and set up everything for you!
Once configured successfully, just type make
, which builds the nasm and ndisasm binaries. Then run make install
. This installs them in /usr/local/bin along with the man pages nasm.1 and ndisasm.1 in /usr/local/man/man1.
If you want some extra tools for handling custom object-file formats (RDOFF), they’re in the rdoff subdirectory of the NASM archive! Use make rdf
, then follow it up with make rdf_install
.
If auto-configuration doesn't work out smoothly for you, no worries! You can use the fallback Unix makefile named Makefile.unx instead. Just rename
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.