Skip to content

Instantly share code, notes, and snippets.

@3dgoose
Last active June 17, 2025 20:13
Show Gist options
  • Save 3dgoose/042412d6b72078aecc87898856e28e91 to your computer and use it in GitHub Desktop.
Save 3dgoose/042412d6b72078aecc87898856e28e91 to your computer and use it in GitHub Desktop.
6502 YES machine (ca65)
.export _main
.import _puts
.segment "RODATA"
msg: .asciiz " yes "
.segment "CODE"
.proc _main
loop:
lda #<msg
ldx #>msg
jsr _puts
jmp loop
.endproc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment