The ++ operator appears to have been. The PDP-11 had addressing modes to so predecrement
and postincrement.
On Nov 28, 2021, at 16:41, Steve Nickolas
<usotsuki(a)buric.co> wrote:
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.