AppleIIAsm-Collection/source/diskX_minidisk_A/T.MIN.SUB.SUBT16
nathanriggs c8cac53c5e Rev 0.4 updates
Massive updates that changes the way most subroutines are handled. Major bugfixes, various utilities added, started higher-level libraries.
2019-04-26 18:49:10 -04:00

32 lines
587 B
Plaintext

SUBT16
PLA
STA RETADR
PLA
STA RETADR+1
PLA
STA :SUBT
PLA
STA :SUBT+1
PLA
STA :MINU
PLA
STA :MINU+1
LDA :MINU
SEC
SBC :SUBT
TAY
STY RETURN
LDA :MINU+1
SBC :SUBT+1
TAX
STX RETURN+1
LDA #2
STA RETLEN
LDA RETADR+1
PHA
LDA RETADR
PHA
RTS
:MINU DS 2
:SUBT DS 2