MIXAL

1 program Added 2026-02-06T12:07:43.614426Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: MIX Assembly Language
Provenance: commit 3bcd7e50b7 · authored 2026-02-06T13:08:07+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

MMIXAL (0.74)Assembly Language (0.52)SYMBAL (0.47)PASM (0.41)6800 Assembly (0.41)

LLM-contributed programs

Maximum of a Sequence

Provenance: commit 3bcd7e50b7 · authored 2026-02-06T13:08:07+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.mixal · license: Public Domain · added: 2026-02-06T12:07:38.599061Z
* MIXAL Program to find the maximum of a sequence
* From: The Art of Computer Programming, Vol 1
        ORIG    3000
START   ENT1    0           Entry point
        LD1     N           Load N (number of elements)
        ENT2    0           rI2 <- 0 (index)
        LDA     X,2         Load first element into rA
        INC2    1           Increment index
LOOP    CMPA    X,2         Compare rA with X[rI2]
        JGE     *+3         If rA >= X[rI2], skip next 2 instructions
        LDA     X,2         Load new maximum
        INC2    1           Increment index
        CMP2    N           Compare index with N
        JLE     LOOP        If index <= N, continue loop
        STA     MAX         Store maximum
        HLT                 Halt
N       CON     10          Number of elements
X       CON     5           First element
        CON     12
        CON     3
        CON     18
        CON     7
        CON     15
        CON     2
        CON     11
        CON     9
        CON     6
MAX     CON     0           Result storage
        END     START

Contribute — propose a file extension

Tell us where to find evidence about MIXAL (mapped to pl/mixal). 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/MIXAL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← MIX (Knuth) Mixed →