On Sun, 28 Nov 2021, Thomas Paulsen wrote:
I heard that the null terminated string was a
11-build-in.
It's a fairly good fit for 6502, too. When I write 6502 code, all my
messages are stored as C strings. Because on an Apple, something like
this...
putch = $FDED
entry: ldy #$00
@1: lda msg, y
beq @2
eor #$80
jsr putch
iny
bne @1
@2: rts
msg: .byte "Hello, cruel world.", 13, 0
...is pretty easy to do.
-uso.