devel/nasm 2.16.03,1 MidnightBSD
General-purpose multi-platform x86 and amd64 assembler
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- bsd2
- Categories
- devel, lang
Description
The Netwide Assembler (NASM) is an x86 and amd64 (x86-64) assembler designed for portability and modularity. It will output flat-form binary files, a.out (Linux and *BSD), COFF, ELF32, ELF64, Mach-O, Microsoft OMF (OBJ), Win32, Win64, as86 (Minix/Linux bin86 v0.3), LADsoft IEEE-695, Intel hex, Motorola S-record, and a home-grown format called RDOFF. NASM syntax is similar to Intel's, but is less complex. It supports Pentium, P6, MMX, 3DNow!, SSE, SSE2, SSE3, SSE4.1, SSE4.2, XOP/FMA4/CVT16 (rev 3.03), and x64 opcodes, among others. It has strong support for macro conventions.
The port also includes NDISASM, a binary file disassembler which uses the same instruction set as NASM.
In the other systems
The newest version among them is 3.02, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/nasm | 2.16.03,1 behind since 2026-07-05 | no data | - | [email protected] | - |
| FreeBSD | devel/nasm | 2.16.03,2 behind since 2026-07-05 | none known | - | [email protected] | - |
| OpenBSD | devel/nasm | 3.01 behind since 2026-07-05 | no data | - | Jasper Lievisse Adriaanse <[email protected]> | - |
| NetBSD | devel/nasm | 3.02 newest | 20 known | - | [email protected] | 2026-07-05 |
| DragonFly | devel/nasm | 2.16.03,2 behind since 2026-07-05 | none known | - | [email protected] | - |
| HardenedBSD | devel/nasm | 2.16.03,2 behind since 2026-07-05 | no data | - | [email protected] | - |
| GhostBSD | devel/nasm | 2.16.03,2 behind since 2026-07-05 | no data | - | [email protected] | - |
Install
Binary package:
mport install nasm
From mports:
cd /usr/mports/devel/nasm && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= nasm>0:devel/nasm
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Configuration
Options name: devel_nasm
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- compiler:c11 cpe tar:xz gmake perl5
- Service scripts
- none
Files
Manual pages 2
- nasm(1)
- ndisasm(1)
pkg-plist 4
- bin/nasm
- bin/ndisasm
- share/man/man1/nasm.1.gz
- share/man/man1/ndisasm.1.gz
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| nasm-2.16.03.tar.xz | 1.032388e+06 | 1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148 |
| nasm-2.16.03-xdoc.tar.xz | 873780 | 8a0f379e2729cdcf6541f7b7735fce662062eebd49f5b5be3f68b8c3f7e868df |
Master sites 2
- https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/
- https://mirror.sobukus.de/files/src/nasm/