AppleIIAsm-Collection/source/d4_math/T.MIN.SUB.ADDIT16.ASM
nathanriggs 9b12b6fd9b HOUSEKEEPING
- 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
2019-12-17 17:19:24 -05:00

17 lines
311 B
NASM

]ADD1 EQU WPAR1
]ADD2 EQU WPAR2
ADDIT16
LDA #2
STA RETLEN
LDA ]ADD1
CLC
ADC ]ADD2
TAY
LDA ]ADD1+1
ADC ]ADD2+1
TAX
TYA
STA RETURN
STX RETURN+1
RTS