mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2025-02-15 10:31:35 +00:00
- getting ready for major changes for 0.6.0. - be sure to download the 0.5.0 release to ensure proper functionality, as these rountines will not work together in the SRC or BIN folder during the transition - Beginning to significantly alter documentation
25 lines
465 B
NASM
25 lines
465 B
NASM
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
|