added cx16.vload() (like the VLOAD basic instruction)

This commit is contained in:
Irmen de Jong
2021-03-20 02:39:53 +01:00
parent 3e286dd14c
commit ca868ae19e
5 changed files with 130 additions and 66 deletions

View File

@ -1072,3 +1072,14 @@ sign_extend_AY_byte .proc
rts
.pend
strlen .proc
; -- returns the number of bytes in the string in AY, in Y.
sta P8ZP_SCRATCH_W1
sty P8ZP_SCRATCH_W1+1
ldy #0
- lda (P8ZP_SCRATCH_W1),y
beq +
iny
bne -
+ rts
.pend