0 Members and 1 Guest are viewing this topic.
I have a question:According to this tutorial, there are supposed to be 5 Appendix, right?Where's the other two?
Hi - I just recently begun your lessons, and I've run into trouble with the first sample problem (Where it displays 1+5)It doesn't display anything, but quits normally when I press any key.I have 2.53 OS - does that make a difference?(I've attached the asm file because I'm probably doing something wrong in it)
.db t2ByteTok, tAsmCmp ld a, 1
.db t2ByteTok,tAsmCmp ld a,1
.db t2ByteTok , tAsmCmp ld a, 1
;2nd Half Of User Equation Tokens;----------------------------------; "Y" EQUATIONS HAVE BIT 4 SET;tY1 equ 10h ;Y1tY2 equ 11h ;Y2tY3 equ 12h ;Y3tY4 equ 13h ;Y4tY5 equ 14h ;Y5tY6 equ 15h ;Y6tY7 equ 16h ;Y7tY8 equ 17h ;Y8tY9 equ 18h ;Y9tY0 equ 19h ;Y0;Param Equations Have Bit 5 Set;-----------------------------------tX1T equ 20h ;X1ttY1T equ 21h ;Y1ttX2T equ 22h ;X2ttY2T equ 23h ;Y2ttX3T equ 24h ;X3ttY3T equ 25h ;Y3ttX4T equ 26h ;X4ttY4T equ 27h ;Y4ttX5T equ 28h ;X5ttY5T equ 29h ;Y5ttX6T equ 2Ah ;X6ttY6T equ 2Bh ;Y6t;Polar Equations Have Bit 6 Set;----------------------------------tR1 equ 40h ;R1tR2 equ 41h ;R2tR3 equ 42h ;R3tR4 equ 43h ;R4tR5 equ 44h ;R5tR6 equ 45h ;R6;Recursion Equations Have Bit 7 Set;----------------------------------tun equ 80h ;Untvn equ 81h ;Vntwn equ 82h ;Wn;2nd Half Of User Picture Tokens;------------------------------------tPic1 equ 00h ;PIC1tPic2 equ 01h ;PIC2tPic3 equ 02h ;PIC3tPic4 equ 03h ;PIC4tPic5 equ 04h ;PIC5tPic6 equ 05h ;PIC6tPic7 equ 06h ;PIC7tPic8 equ 07h ;PIC8tPic9 equ 08h ;PIC9tPic0 equ 09h ;PIC0;2nd Half Of User Graph Database Tokens;--------------------------------------tGDB1 equ 00h ;GDB1tGDB2 equ 01h ;GDB2tGDB3 equ 02h ;GDB3tGDB4 equ 03h ;GDB4tGDB5 equ 04h ;GDB5tGDB6 equ 05h ;GDB6tGDB7 equ 06h ;GDB7tGDB8 equ 07h ;GDB8tGDB9 equ 08h ;GDB9tGDB0 equ 09h ;GDB0;2nd Half Of String Vars;------------------------------tStr1 equ 00htStr2 equ 01htStr3 equ 02htStr4 equ 03htStr5 equ 04htStr6 equ 05htStr7 equ 06htStr8 equ 07htStr9 equ 08htStr0 equ 09h;2nd Half Of System Output Only Variables;-----------------------------------------------------------------;OPEN equ 00htRegEq equ 01h ;REGRESSION EQUATIONtStatN equ 02h ;STATISTICS NtXMean equ 03h ;X MEANtSumX equ 04h ;SUM(X)tSumXSqr equ 05h ;SUM(X^2)tStdX equ 06h ;STANDARD DEV XtStdPX equ 07h ;STANDARD DEV POP XtMinX equ 08h ;Min X VALUEtMaxX equ 09h ;Max X VALUEtMinY equ 0Ah ;Min Y VALUEtMaxY equ 0Bh ;Max Y VALUEtYmean equ 0Ch ;Y MEANtSumY equ 0Dh ;SUM(Y)tSumYSqr equ 0Eh ;SUM(Y^2)tStdY equ 0Fh ;STANDARD DEV YtStdPY equ 10h ;STANDARD DEV POP YtSumXY equ 11h ;SUM(XY)tCorr equ 12h ;CORRELATIONtMedX equ 13h ;MED(X)tQ1 equ 14h ;1ST QUADRANT OF XtQ3 equ 15h ;3RD QUADRANT OF XtQuadA equ 16h ;1ST TERM OF QUAD POLY REG/ Y-INTtQuadB equ 17h ;2ND TERM OF QUAD POLY REG/ SLOPEtQuadC equ 18h ;3RD TERM OF QUAD POLY REGtCubeD equ 19h ;4TH TERM OF CUBIC POLY REGtQuartE equ 1Ah ;5TH TERM OF QUART POLY REGtMedX1 equ 1Bh ;x1 FOR MED-MEDtMedX2 equ 1Ch ;x2 FOR MED-MEDtMedX3 equ 1Dh ;x3 FOR MED-MEDtMedY1 equ 1Eh ;y1 FOR MED-MEDtMedY2 equ 1Fh ;y2 FOR MED-MEDtMedY3 equ 20h ;y3 FOR MED-MEDtRecurn equ 21h ;RECURSION NtStatP equ 22htStatZ equ 23htStatT equ 24htStatChi equ 25htStatF equ 26htStatDF equ 27htStatPhat equ 28htStatPhat1 equ 29htStatPhat2 equ 2AhtStatMeanX1 equ 2BhtStatStdX1 equ 2ChtStatN1 equ 2DhtStatMeanX2 equ 2EhtStatStdX2 equ 2FhtStatN2 equ 30htStatStdXP equ 31htStatLower equ 32htStatUpper equ 33htStat_s equ 34htLRSqr equ 35h ;r^2tBRSqr equ 36h ;R^2;These next tokens are only used to access the data;they are display only and the user cannot access them at all;------------------------------------------------------------tF_DF equ 37h ;ANOFAV FACTOR DFtF_SS equ 38h ;ANOFAV FACTOR SStF_MS equ 39h ;ANOFAV FACTOR MStE_DF equ 3Ah ;ANOFAV ERROR DFtE_SS equ 3Bh ;ANOFAV ERROR SStE_MS equ 3Ch ;ANOFAV ERROR MS;2nd Half Of System Input/Output Variables;------------------------------------------------; SYSTEM VARIABLE EQUATES;tuXscl equ 0tuYscl equ 1tXscl equ 2tYscl equ 3tRecuru0 equ 4 ;U 1ST INITIAL CONDtRecurv0 equ 5 ;V 1ST INITIAL CONDtun1 equ 6 ;U(N-1); NOT USEDtvn1 equ 7 ;V(N-1); NOT USEDtuRecuru0 equ 8 ;tuRecurv0 equ 9 ;tXmin equ 0AhtXmax equ 0BhtYmin equ 0ChtYmax equ 0DhtTmin equ 0EhtTmax equ 0FhtThetaMin equ 10htThetaMax equ 11htuXmin equ 12htuXmax equ 13htuYmin equ 14htuYmax equ 15htuThetMin equ 16htuThetMax equ 17htuTmin equ 18htuTmax equ 19htTblMin equ 1AhtPlotStart equ 1BhtuPlotStart equ 1ChtnMax equ 1DhtunMax equ 1EhtnMin equ 1FhtunMin equ 20htTblStep equ 21htTStep equ 22htThetaStep equ 23htuTStep equ 24htuThetStep equ 25htDeltaX equ 26htDeltaY equ 27htXFact equ 28htYFact equ 29htTblInput equ 2AhtFinN equ 2BhtFinI equ 2ChtFinPV equ 2DhtFinPMT equ 2EhtFinFV equ 2FhtFinPY equ 30htFinCY equ 31htRecurw0 equ 32h ;w0(1)tuRecurw0 equ 33htPlotStep equ 34htuPlotStep equ 35htXres equ 36htuXres equ 37htRecuru02 equ 38h ;u0(2)tuRecuru02 equ 39htRecurv02 equ 3Ch ;v0(2)tuRecurv02 equ 3DhtRecurw02 equ 3Eh ;w0(2)tuRecurw02 equ 3Fh;2nd Byte Of t2ByteTok Tokens;------------------------------tFinNPV equ 00htFinIRR equ 01htFinBAL equ 02htFinPRN equ 03htFinINT equ 04htFinToNom equ 05htFinToEff equ 06htFinDBD equ 07htLCM equ 08htGCD equ 09htRandInt equ 0AhtRandBin equ 0BhtSubStrng equ 0ChtStdDev equ 0DhtVariance equ 0EhtInStrng equ 0FhtDNormal equ 10htInvNorm equ 11htDT equ 12htChI equ 13htDF equ 14htBINPDF equ 15htBINCDF equ 16htPOIPDF equ 17htPOICDF equ 18htGEOPDF equ 19htGEOCDF equ 1AhtNormalPDF equ 1BhtTPDF equ 1ChtChiPDF equ 1DhtFPDF equ 1EhtRandNorm equ 1FhtFinFPMT equ 20htFinFI equ 21htFinFPV equ 22htFinFN equ 23htFinFFV equ 24htConj equ 25htReal equ 26htImag equ 27htAngle equ 28htCumSum equ 29htExpr equ 2AhtLength equ 2BhtDeltaLst equ 2ChtRef equ 2DhtRRef equ 2EhtToRect equ 2FhtToPolar equ 30htConste equ 31htSinReg equ 32htLogistic equ 33htLinRegTTest equ 34htShadeNorm equ 35htShadeT equ 36htShadeChi equ 37htShadeF equ 38htMatToLst equ 39htLstToMat equ 3AhtZTest equ 3BhtTTest equ 3Cht2SampZTest equ 3Dht1PropZTest equ 3Eht2PropZTest equ 3FhtChiTest equ 40htZIntVal equ 41ht2SampZInt equ 42ht1PropZInt equ 43ht2PropZInt equ 44htGraphStyle equ 45ht2SampTTest equ 46ht2SampFTest equ 47htTIntVal equ 48ht2SampTInt equ 49htSetupLst equ 4AhtFinPMTend equ 4BhtFinPMTbeg equ 4ChtRealM equ 4DhtPolarM equ 4EhtRectM equ 4FhtExprOn equ 50htExprOff equ 51htClrAllLst equ 52htGetCalc equ 53htDelVar equ 54htEquToStrng equ 55htStrngToEqu equ 56htDelLast equ 57htSelect equ 58htANOVA equ 59htModBox equ 5AhtNormProb equ 5BhtMGT equ 64h ;VERTICAL SPLITtZFit equ 65h ;ZOOM FITtDiag_on equ 66h ;DIANOSTIC DISPLAY ONtDiag_off equ 67h ;DIANOSTIC DISPLAY OFFtOkEnd2v0 equ 67h ;end of 2byte tokens for version 0.tArchive equ 68h ;archivetUnarchive equ 69h ;unarchivetasm equ 6AhtasmComp equ 6Bh ;asm compiletasmPrgm equ 6Ch ;signifies a program is asmtasmCmp equ 6Dh ;asm program is compiledtLcapAAcute equ 6EhtLcapAGrave equ 6FhtLcapACaret equ 70htLcapADier equ 71htLaAcute equ 72htLaGrave equ 73htLaCaret equ 74htLaDier equ 75htLcapEAcute equ 76htLcapEGrave equ 77htLcapECaret equ 78htLcapEDier equ 79htLeAcute equ 7AhtLeGrave equ 7BhtLeCaret equ 7ChtLeDier equ 7DhtLcapIGrave equ 7FhtLcapICaret equ 80htLcapIDier equ 81htLiAcute equ 82htLiGrave equ 83htLiCaret equ 84htLiDier equ 85htLcapOAcute equ 86htLcapOGrave equ 87htLcapOCaret equ 88htLcapODier equ 89htLoAcute equ 8AhtLoGrave equ 8BhtLoCaret equ 8ChtLoDier equ 8DhtLcapUAcute equ 8EhtLcapUGrave equ 8FhtLcapUCaret equ 90htLcapUDier equ 91htLuAcute equ 92htLuGrave equ 93htLuCaret equ 94htLuDier equ 95htLcapCCed equ 96htLcCed equ 97htLcapNTilde equ 98htLnTilde equ 99htLaccent equ 9AhtLgrave equ 9BhtLdieresis equ 9ChtLquesDown equ 9DhtLexclamDown equ 9EhtLalpha equ 9FhtLbeta equ 0A0htLgamma equ 0A1htLcapDelta equ 0A2htLdelta equ 0A3htLepsilon equ 0A4htLlambda equ 0A5htLmu equ 0A6htLpi equ 0A7htLrho equ 0A8htLcapSigma equ 0A9htLphi equ 0ABhtLcapOmega equ 0AChtLphat equ 0ADhtLchi equ 0AEhtLstatF equ 0AFhtLa equ 0B0htLb equ 0B1htLc equ 0B2htLd equ 0B3htLsmalle equ 0B4htLf equ 0B5htLsmallg equ 0B6htLh equ 0B7htLi equ 0B8htLj equ 0B9htLk equ 0BAhtLl equ 0BChtLm equ 0BDhtLsmalln equ 0BEhtLo equ 0BFhtLp equ 0C0htLq equ 0C1htLsmallr equ 0C2htLs equ 0C3htLsmallt equ 0C4htLu equ 0C5htLv equ 0C6htLw equ 0C7htLx equ 0C8htLy equ 0C9htLz equ 0CAhtLsigma equ 0CBhtLtau equ 0CChtLcapIAcute equ 0CDhtGarbagec equ 0CEhLastToken equ 0CEh ;tLAST TOKEN IN THIS VERSION...;Data Type Equates;---------------------------------------------------------------------RealObj equ 0ListObj equ 1MatObj equ 2EquObj equ 3StrngObj equ 4ProgObj equ 5ProtProgObj equ 6PictObj equ 7GDBObj equ 8UnknownObj equ 9UnknownEquObj equ 0AhNewEquObj equ 0BhCplxObj equ 0ChCListObj equ 0DhUndefObj equ 0EhWindowObj equ 0FhZStoObj equ 10hTblRngObj equ 11hLCDObj equ 12hBackupObj equ 13hAppObj equ 14h ;application, only used in menus/linkAppVarObj equ 15h ;application variableTempProgObj equ 16h ;program, home deletes when finishedGroupObj equ 17h ;group.;I/O Equates;---------------------------------------------------D0D1_bits equ 03hD0LD1L equ 03hD0LD1H equ 01hD0HD1L equ 02hD0HD1H equ 00hbport equ 0 ;4-bit link port (I/O);Device Codes;-----------------------------------------------------------------TI82DEV equ 82hPC82DEV equ 02hMAC82DEV equ 12hTI83FDEV equ 73hLINK83FDEV equ 23hTI83DEV equ 83hPC83DEV equ 03hMAC83DEV equ 13hTI85DEV equ 95h ;different than real 85 so me talkPC85DEV equ 05hMAC85DEV equ 15hTI73DEV equ 74h ;device x3 is always an 83PC73DEV equ 07hMAC73DEV equ 17hLINK73FDEV equ 23hPC83FDEV equ 23h;System Error Codes;-----------------------------------------------------------E_EDITF equ 7 ;allow re-entering applicationE_EDIT equ 1<<E_EDITFE_Mask equ 7FhE_Overflow equ 1+E_EDITE_DivBy0 equ 2+E_EDITE_SingularMat equ 3+E_EDITE_Domain equ 4+E_EDITE_Increment equ 5+E_EDITE_Break equ 6+E_EDITE_NonReal equ 7+E_EDITE_Syntax equ 8+E_EDITE_DataType equ 9+E_EDITE_Argument equ 10+E_EDITE_DimMismatch equ 11+E_EDITE_Dimension equ 12+E_EDITE_Undefined equ 13+E_EDITE_Memory equ 14+E_EDITE_Invalid equ 15+E_EDITE_IllegalNest equ 16+E_EDITE_Bound equ 17+E_EDITE_GraphRange equ 18+E_EDITE_Zoom equ 19+E_EDITE_Label equ 20E_Stat equ 21E_Solver equ 22+E_EDITE_Singularity equ 23+E_EDITE_SignChange equ 24+E_EDITE_Iterations equ 25+E_EDITE_BadGuess equ 26+E_EDITE_StatPlo equ 27E_TolTooSmall equ 28+E_EDITE_Reserved equ 29+E_EDITE_Mode equ 30+E_EDITE_LnkErr equ 31+E_EDITE_LnkMemErr equ 32+E_EDITE_LnkTransErr equ 33+E_EDITE_LnkDupErr equ 34+E_EDITE_LnkMemFull equ 35+E_EDITE_Unknown equ 36+E_EDITE_Scale equ 37+E_EDITE_IdNotFound equ 38E_NoMode equ 39+E_EDITE_Validation equ 40E_Length equ 41+E_EDITE_Application equ 42+E_EDITE_AppErr1 equ 43+E_EDITE_AppErr2 equ 44+E_EDITE_ExpiredApp equ 45E_BadAdd equ 46E_Archived equ 47+E_EDITE_Version equ 48E_ArchFull equ 49E_Variable equ 50+E_EDITE_Duplicate equ 51+E_EDITHigErrNum equ 51;Obsolete error numbers 34 ;first LINK errorE_LinkIOChkSum equ 34E_LinkIOTimeOut equ 35E_LinkIOBusy equ 36E_LinkIOVer equ 37;Equates To RAM Locations For Stat Vars;----------------------------------------------------------------FPLEN equ 9 ;Length of a floating-point number.StatN equ statVarsXMean equ StatN + FPLENSumX equ XMean + FPLENSumXSqr equ SumX + FPLENStdX equ SumXSqr + FPLENStdPX equ StdX + FPLENMinX equ StdPX + FPLENMaxX equ MinX + FPLENMinY equ MaxX + FPLENMaxY equ MinY + FPLENYMean equ MaxY + FPLENSumY equ YMean + FPLENSumYSqr equ SumY + FPLENStdY equ SumYSqr + FPLENStdPY equ StdY + FPLENSumXY equ StdPY + FPLENCorr equ SumXY + FPLENMedX equ Corr + FPLENQ1 equ MedX + FPLENQ3 equ Q1 + FPLENQuadA equ Q3 + FPLENQuadB equ QuadA + FPLENQuadC equ QuadB + FPLENCubeD equ QuadC + FPLENQuartE equ CubeD + FPLENMedX1 equ QuartE + FPLENMedX2 equ MedX1 + FPLENMedX3 equ MedX2 + FPLENMedY1 equ MedX3 + FPLENMedY2 equ MedY1 + FPLENMedY3 equ MedY2 + FPLENPStat equ MedY3 + 2*FPLENZStat equ PStat + FPLENTStat equ ZStat + FPLENChiStat equ TStat + FPLENFStat equ ChiStat + FPLENDF equ FStat + FPLENPhat equ DF + FPLENPhat1 equ Phat + FPLENPhat2 equ Phat1 + FPLENMeanX1 equ Phat2 + FPLENStdX1 equ MeanX1 + FPLENStatN1 equ StdX1 + FPLENMeanX2 equ StatN1 + FPLENStdX2 equ MeanX2 + FPLENStatN2 equ StdX2 + FPLENStdXP2 equ StatN2 + FPLENSLower equ StdXP2 + FPLENSUpper equ SLower + FPLENSStat equ SUpper + FPLENF_DF equ anovaf_varsF_SS equ F_DF + FPLENF_MS equ F_SS + FPLENE_DF equ F_MS + FPLENE_SS equ E_DF + FPLENE_MS equ E_SS + FPLEN