Nasm

1 program Added 2026-02-06T12:05:16Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: NASM, Netwide Assembler
Provenance: commit 971428dde9 · authored 2026-02-06T13:05:58+01:00 · agent claude-code · model sonnet

Sources mentioning this language

5 sources · pl_id: pl/nasm
LLM (this repo) · 1PldbPygmentsWikipediaWikidata · Q1571077

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Designed byH. Peter Anvin · Chang Seok Bae · Jim Kukunas · Frank B. Kotler · Cyrill Gorcunov
First appeared1996
LicenseBSD 2-clause
Homepagehttps://www.nasm.us/

Extensions claimed by this language

2 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.asmpygmentsprimary4.0M files
.nasmpygmentssecondary36.7K files

Related languages

AVR Assembly (0.36)FASM (0.36)TASM (0.35)Jasmin (0.34)Flat Assembler (0.33)

LLM-contributed programs

Hello World

Provenance: commit 971428dde9 · authored 2026-02-06T13:05:58+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.asm · license: BSD-2-Clause · added: 2026-02-06T12:05:42Z
section .data
    msg db 'Hello, World!', 0x0A
    len equ $ - msg

section .text
    global _start

_start:
    mov eax, 4
    mov ebx, 1
    mov ecx, msg
    mov edx, len
    int 0x80

    mov eax, 1
    xor ebx, ebx
    int 0x80

Real programs from Software Heritage

1 sample mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
pcmpeqw.asm · 422 B · ext .asm · seen 164× in SWH
via fallback
swh:1:cnt:b8d025f327fee89b0fb5b566eab8654bd217bd89;origin=https://github.com/copy/v86;anchor=swh:1:rev:f8ddf4dc9c970814d55584dd90ad535cb4159a09;path=/tests/nasm/pcmpeqw.asm
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
global _start

section .data
	align 16
quad1:
	dq	0x70ad80adad007fff
quad2:
	dq	0x7fff00428000ffff
quad3:
	dq	0x01008080f0f0ff42
mydword:
	dd	0xcafebabe
myaddress:
	dq	0x00adbeefc0de00ce

%include "header.inc"

	movq		mm0, [quad1]
	movq		mm1, [quad2]
	movq		mm2, [quad3]
	movq		mm3, [quad2]

	pcmpeqw	mm0, [quad2]
	pcmpeqw	mm0, [quad1]
	pcmpeqw	mm1, mm2
	pcmpeqw	mm2, [quad1]
	pcmpeqw	mm3, [quad1]


%include "footer.inc"

Contribute — propose a file extension

Tell us where to find evidence about Nasm (mapped to pl/nasm). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Nasm/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← NASL nassi-shneiderman-charts →