Cell BE Assembly

1 program Added 2026-02-12T20:30:00Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Cell Assembly, SPU Assembly
Provenance: commit 17c4f816b7 · authored 2026-02-12T11:30:45+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

CDC 6600 Assembly (0.29)DLX (0.29)TX-2 Assembly (0.29)SPARC Assembly (0.29)PDP-6 Assembly (0.28)

LLM-contributed programs

Vector Addition

Provenance: commit 17c4f816b7 · authored 2026-02-12T11:30:45+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.s · added: 2026-02-12T20:30:00Z
# SPU Assembly - Vector Addition
# Adds two vectors and stores result
# Origin: IBM Cell BE Programming Handbook examples

.data
vec_a:  .word 1, 2, 3, 4
vec_b:  .word 5, 6, 7, 8
result: .space 16

.text
.global _start
_start:
    # Load address of vec_a into r3
    ila     r3, vec_a
    # Load vector a into r4
    lqd     r4, 0(r3)

    # Load address of vec_b into r5
    ila     r5, vec_b
    # Load vector b into r6
    lqd     r6, 0(r5)

    # Add vectors: r7 = r4 + r6
    a       r7, r4, r6

    # Load address of result into r8
    ila     r8, result
    # Store result
    stqd    r7, 0(r8)

    # Stop the SPU
    stop    0x2000

Contribute — propose a file extension

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