mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-11-30 15:49:55 +00:00
82d0e74c1a
some minor bugfixes, directory shuffling, added demo and utility disks
26 lines
538 B
Plaintext
26 lines
538 B
Plaintext
XPRINT
|
|
PLA
|
|
STA ADDR1
|
|
PLA
|
|
STA ADDR1+1
|
|
LDY #$01 ; POINT TO NEXT
|
|
; INSTRUCTION
|
|
:LOOP
|
|
LDA (ADDR1),Y
|
|
BEQ :DONE
|
|
JSR COUT1
|
|
INY
|
|
BNE :LOOP
|
|
:DONE ; RESTORE STACK
|
|
CLC ; EXEC POINTER
|
|
TYA ; TO RESUME
|
|
ADC ADDR1
|
|
STA ADDR1
|
|
LDA ADDR1+1
|
|
ADC #$00
|
|
PHA
|
|
LDA ADDR1
|
|
PHA
|
|
RTS
|
|
:EXIT
|