PDP-4 Assembly

1 program Added 2026-02-11T11:45:59Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: PDP4 Assembly, DEC PDP-4 Assembly
Provenance: commit d1f5d1f573 · authored 2026-02-11T12:46:47+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

PDP-6 Assembly (0.48)PDP-11 Assembly (0.46)PDP-5 Assembly (0.44)PDP-7 Assembly (0.44)PDP-8 Assembly (0.44)

LLM-contributed programs

Simple Addition

Provenance: commit d1f5d1f573 · authored 2026-02-11T12:46:47+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.asm · added: 2026-02-11T11:45:59Z
/ PDP-4 Assembly: Simple addition program
/ Load two numbers and add them

START,  CLA         / Clear accumulator
        TAD NUM1    / Add NUM1 to accumulator
        TAD NUM2    / Add NUM2 to accumulator
        DCA RESULT  / Deposit and clear accumulator to RESULT
        HLT         / Halt

NUM1,   0012        / First number (octal 12 = decimal 10)
NUM2,   0015        / Second number (octal 15 = decimal 13)
RESULT, 0000        / Result storage

Contribute — propose a file extension

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