.asm

5 claimants 5 primary 0 secondary shared primary (5)

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

4.0M
total occurrences
1.3M
since 2019 (31.8%)
1970–2023
years active

Case variants in archive: .asm (3.9M), .ASM (121.3K), .Asm (6.4K), .aSM (5), .ASm (4), .asM (2), .AsM (1), .aSm (1) — aggregated above.

Attribution status

This extension is attributed to ASM; Assembly; Assembly; Motorola 68K Assembly; Motorola 68K Assembly; Nasm; TASM as primary by 7 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✓ Wikidata · Q165436 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (7)

Languages that list .asm among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
ASMwikidataprimary
Assemblylinguistprimary
Assemblypygmentsprimary
Motorola 68K Assemblylinguistprimary
Motorola 68K Assemblypygmentsprimary
Nasmpygmentsprimary
TASMpygmentsprimary

Wikidata says… (6)

File formats, image formats, audio codecs and other non-PL entities that claim .asm on Wikidata (property P1195) or in the Wikipedia infobox. Source: data/derived/external_extension_index.csv. Click Use as new PL on any row to open the Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata URL, and this extension — one submission creates the PL + claim.
Right entry isn't listed? Add manually ↗
FormatClass (Wikidata P31)Suggested labelMIMENotesAction
Assembly Language Source Code File Q111417217
file format
file formatUse as new PL ↗
freeCAD assembly Q105854567
file format
file formatUse as new PL ↗
Netwide Assembler file format Q130362854
file format
file formattext/x-nasmUse as new PL ↗

Disambiguation rules (2)

Linguist heuristics that decide, by content, which language a .asm file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.asm/0Assemblypredicates[{"kind": "any", "regexes": ["(?i)mov\\s+[^\\s]{2,},"]}]
h/linguist/.asm/1Motorola 68K Assemblypredicates[{"kind": "any", "regexes": ["(?im)\\bmoveq(?:\\.l)?\\s+#(?:\\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\\s*d[0-7]\\b", "(?im)^\\s*move(?:\\.[bwl])?\\s+(?:sr|usp),\\s*[^\\s]+", "(?im)^\\s*move\\.[bwl

SWH-mined examples (1)

Real archived programs with this extension, byte-verified against the SWH archive. Useful for deciding what this extension actually is when the attribution is uncertain.
pcmpeqw.asm · 422 B · seen 164× in SWH
predicted: unclassified 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
Request more SWH-mined examples
If the examples above don't disambiguate what .asm is, request a fresh mining run.
(or open the pre-filled issue directly)