19 lines
180 B
NASM
Raw Normal View History

2021-05-08 09:57:36 -05:00
a_cr = $0d
bsout = $ffd2
2015-11-03 07:18:01 +00:00
.code
2021-05-08 09:57:36 -05:00
ldx #0
2015-11-03 07:18:01 +00:00
printnext:
2021-05-08 09:57:36 -05:00
lda text,x
beq done
jsr bsout
inx
bne printnext
2015-11-03 07:18:01 +00:00
done:
2021-05-08 09:57:36 -05:00
rts
2015-11-03 07:18:01 +00:00
.rodata
text:
.byte "Hello World", a_cr, 0