LC-3 Assembly

1 program Added 2026-03-13T10:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: LC3 Assembly, LC-3, LC3
Provenance: commit 2439568e97 · authored 2026-03-13T02:29:49+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

4 sources · pl_id: pl/lc-3
LLM (this repo) · 1PldbWikipediaWikidata · Q6457333

Related languages

DLX (0.31)TX-2 Assembly (0.31)PDP-6 Assembly (0.30)PDP-11 Assembly (0.29)BESM-6 Assembly (0.28)

LLM-contributed programs

Hello World

Provenance: commit 2439568e97 · authored 2026-03-13T02:29:49+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.asm · license: Public Domain · added: 2026-03-13T10:00:00Z
; LC-3 Hello World Program
; Demonstrates string output using TRAP x22 (PUTS)
        .ORIG x3000

        ; Load address of string into R0, then call PUTS
        LEA R0, HELLO_MSG   ; R0 <- address of string
        PUTS                ; TRAP x22: output null-terminated string
        HALT                ; TRAP x25: halt the machine

HELLO_MSG .STRINGZ "Hello, World!"
        .END

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Contribute — propose a file extension

Tell us where to find evidence about LC-3 Assembly (mapped to pl/lc-3). 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/LC-3 Assembly/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← LC-3 LCF →