NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.
Optional documentation: https://www.nasm.us/pub/nasm/releasebuilds/3.01/nasm-3.01-xdoc.tar.xz
If you downloaded the optional documentation, put it into the source tree:
tar -xf ../nasm-3.01-xdoc.tar.xz --strip-components=1
Install NASM by running the following commands:
./configure --prefix=/usr && make
Now, as the root
user:
make install
If you downloaded the optional documentation, install it with the
following instructions as the root
user:
install -m755 -d /usr/share/doc/nasm-3.01/html && cp -v doc/html/*.html /usr/share/doc/nasm-3.01/html && cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-3.01
Run ./configure --help for a full list of options.