AppleIIAsm-Collection/source/d2_stdio/T.MIN.SUB.XPRINT
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

25 lines
465 B
Plaintext

XPRINT
PLA
STA ADDR1
PLA
STA ADDR1+1
LDY #$01
:LOOP
LDA (ADDR1),Y
BEQ :EXIT
JSR COUT1
INY
BNE :LOOP
:EXIT
CLC
TYA
ADC ADDR1
STA ADDR1
LDA ADDR1+1
ADC #$00
PHA
LDA ADDR1
PHA
RTS