2018-12-23 01:35:05 +00:00
|
|
|
PRNSTR
|
|
|
|
PLA
|
|
|
|
STA RETADR
|
|
|
|
PLA
|
|
|
|
STA RETADR+1
|
|
|
|
PLA
|
2019-04-26 22:49:10 +00:00
|
|
|
STA ADDR1
|
2018-12-23 01:35:05 +00:00
|
|
|
PLA
|
|
|
|
STA ADDR1+1
|
|
|
|
LDY #0
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA (ADDR1),Y
|
2018-12-23 01:35:05 +00:00
|
|
|
STA :S1LEN
|
|
|
|
:LP
|
|
|
|
INY
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA (ADDR1),Y
|
|
|
|
JSR SCOUT1
|
|
|
|
CPY :S1LEN
|
2018-12-23 01:35:05 +00:00
|
|
|
BNE :LP
|
2019-04-26 22:49:10 +00:00
|
|
|
; LOOP
|
2018-12-23 01:35:05 +00:00
|
|
|
LDY #0
|
|
|
|
LDA (ADDR1),Y
|
|
|
|
LDA RETADR+1
|
|
|
|
PHA
|
|
|
|
LDA RETADR
|
|
|
|
PHA
|
|
|
|
LDY #0
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA (ADDR1),Y
|
2018-12-23 01:35:05 +00:00
|
|
|
LDY ADDR1
|
2019-04-26 22:49:10 +00:00
|
|
|
LDX ADDR1+1
|
2018-12-23 01:35:05 +00:00
|
|
|
RTS
|
|
|
|
:S1LEN DS 1
|