NASM (Netwide Assembler) is an 80x86 assembler designed for portability and modularity. It includes a disassembler as well.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://www.nasm.us/pub/nasm/releasebuilds/3.01/nasm-3.01.tar.xz
Download SHA256 Sum: b7324cbe86e767b65f26f467ed8b12ad80e124e3ccb89076855c98e43a9eddd4
Download MD5 sum: 8414016d6ad0e113958c29066dfcc550
Download size: 1.4 MB
Estimated disk space required: 70 MB
Estimated build time: 0.2 SBU
Optional documentation: https://www.nasm.us/pub/nasm/releasebuilds/3.01/nasm-3.01-xdoc.tar.xz
Documentation SHA256 Sum: 47762f066c032306cd0723b438ffd9862aad2729225433cc9fcd5e21cf10f114
If you downloaded the optional documentation, put it into the source tree:
tar -xf ../nasm-3.01-xdoc.tar.xz --strip-components=1
Now Prepare NASM by running the following commands:
./configure --prefix=/usr
Now to Build NASM issue:
make
This package does not come with a test suite.
Now Install, 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