stuffy 6502

This commit is contained in:
2026-09-11 17:41:23 -04:00
parent 251e28ffd6
commit 91a7b3b05e
16 changed files with 4219 additions and 87 deletions
+23
View File
@@ -0,0 +1,23 @@
; main.asm - cross-object demo, part 2.
; Imports `putc` from putc.wo and prints "Hello, 6502!".
.export start
.import putc
jmp start
msg:
.asciiz "Hello, 6502!"
start:
ldx #0
loop:
lda msg,x
beq done
jsr putc
inx
jmp loop
done:
lda #$00
sta $F003
rts