GitHub_collection_hello-world/a/Assembler 6502.asm
2021-05-09 02:57:36 +12:00

19 lines
180 B
NASM

a_cr = $0d
bsout = $ffd2
.code
ldx #0
printnext:
lda text,x
beq done
jsr bsout
inx
bne printnext
done:
rts
.rodata
text:
.byte "Hello World", a_cr, 0