65816 Assembly
1 program
Added 2026-02-13T10:35:48Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: 65C816 Assembly, WDC 65C816 Assembly
Provenance: commit 6249f3999b · authored 2026-02-13T11:36:22+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
16-bit Addition
Provenance: commit 6249f3999b · authored 2026-02-13T11:36:22+01:00 · agent claude-code · model sonnet · WebSearch disabled
; 65816 Assembly - 16-bit Addition Example
; Adds two 16-bit numbers and stores the result
.65816 ; Set 65816 mode
.a16 ; 16-bit accumulator
.i16 ; 16-bit index registers
start:
clc ; Clear carry flag
lda #$1234 ; Load first number (0x1234)
adc #$5678 ; Add second number (0x5678)
sta $0000 ; Store result at address $0000
rtl ; Return from subroutine