68HC11 Assembly
1 program
Added 2026-03-13T12:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: enabled
Evidence
Report issue
View issues
Aliases: MC68HC11 Assembly, Motorola 68HC11 Assembly
Provenance: commit c4031df373 · authored 2026-03-13T04:03:25+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
6809 Assembly (0.62)M68k Assembly (0.48)Motorola 68000 Assembly (0.48)6800 Assembly (0.44)PDP-11 Assembly (0.31)
LLM-contributed programs
Subroutine Example
Provenance: commit c4031df373 · authored 2026-03-13T04:03:25+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch enabled
ORG $C000
* initialize stack to something so subroutines can be used (addresses are stored on stack automatically)
LDS $D000
* your main program here
LDAA #1 * Value of A register is now 1.
JSR ADD5TOA * Call the subroutine using JSR, jump to subroutine
* Value of A register is now 6.
DONE BRA DONE * end of program
* Subroutine definition:
* This subroutine adds 5 to the A register
ADD5TOA * give it a label
* do all your stuff in here
ADDA #5
RTS * return from subroutine, goes back to where you used JSR