AppleIIAsm-Collection/source/d2_stdio/T.MIN.SUB.PRNSTR
nathanriggs 9f35f32f67 Revision 0.5.0
- massive overhaul of architecture
- first round of optimizations
- first draft of the technical manual for the entire library
- reorganization of directory structure
2019-09-27 16:57:34 -04:00

18 lines
352 B
Plaintext

]STRLEN EQU VARTAB
PRNSTR
STA ADDR1
STX ADDR1+1
LDY #0
LDA (ADDR1),Y
STA ]STRLEN
:LP
INY
LDA (ADDR1),Y
JSR COUT1
CPY ]STRLEN
BNE :LP
; LOOP
LDY #0
LDA (ADDR1),Y
RTS