Source Code

These source-code files are part of a reconstructed copy of Artemis 071, the first release of the Apollo 15 through 17 Command Module (CM) Apollo Guidance Computer (AGC) software.

The reconstruction began with source code of Artemis 072 previously transcribed from a digitized copy of that program. The code was then updated by undoing changes between the two versions. The reconstruction was verified by matching memory-bank checksums to those listed in drawing 2021154-. Note that page numbers in the reconstructed code match those on the Artemis 072 printout, although the changed code would likely have changed page numbers for a real Artemis 071 listing.

Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository.

057074,000002:                                                                                                  ## Copyright:   Public domain.
057075,000003:                                                                                                  ## Filename:    ORBITAL_INTEGRATION.agc
057076,000004:                                                                                                  ## Purpose:     A section of Artemis revision 071.
057077,000005:                                                                                                  ##              It is part of the reconstructed source code for the first
057078,000006:                                                                                                  ##              release of the flight software for the Command Module's
057079,000007:                                                                                                  ##              (CM) Apollo Guidance Computer (AGC) for Apollo 15 through
057080,000008:                                                                                                  ##              17. The code has been recreated from a copy of Artemis 072.
057081,000009:                                                                                                  ##              It has been adapted such that the resulting bugger words
057082,000010:                                                                                                  ##              exactly match those specified for Artemis 071 in NASA
057083,000011:                                                                                                  ##              drawing 2021154-, which gives relatively high confidence
057084,000012:                                                                                                  ##              that the reconstruction is correct.
057085,000013:                                                                                                  ## Reference:   1333
057086,000014:                                                                                                  ## Assembler:   yaYUL
057087,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
057088,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
057089,000017:                                                                                                  ## Mod history: 2019-08-14 MAS  Created from Artemis 072.
057090,000018: 

Page 1333

057092,000020:                                                                                                  #  DELETE
057093,000021: 11,2000                                           SETLOC   ORBITAL                               
057094,000022: 11,2000                                           BANK                                           
057095,000023: 11,2336                                           COUNT*   $$/ORBIT                              
057096,000024: 
057097,000025:                                                                                                  #  DELETE
057098,000026: 11,2336           40354        KEPPREP            LXA,2    SETPD                                 
057099,000027: 11,2337           02150                                    PBODY                                 
057100,000028: 11,2340           00001                                    0                                     
057101,000029: 11,2341           75543                           DLOAD*   SQRT                                  #  SQRT(MU) (+18 OR +15)         0D      PL 2D
057102,000030: 11,2342           50037                                    MUEARTH,2                             
057103,000031: 11,2343           53515                           PDVL     UNIT                                  #                                        PL 8D
057104,000032: 11,2344           01535                                    RCV                                   
057105,000033: 11,2345           60325                           PDDL     NORM                                  #  NORM R (+29 OR +27 - N1)      2D      PL 4D
057106,000034: 11,2346           00045                                    36D                                   
057107,000035: 11,2347           00047                                    X1                                    
057108,000036: 11,2350           77715                           PDVL                                           
057109,000037: 11,2351           65241                           DOT      PDDL                                  #  F*SQRT(MU) (+7 OR +5)         4D      PL 6D
057110,000038: 11,2352           01543                                    VCV                                   
057111,000039: 11,2353           02303                                    TAU.                                  #  (+28)
057112,000040: 11,2354           60225                           DSU      NORM                                  
057113,000041: 11,2355           01551                                    TC                                    
057114,000042: 11,2356           00051                                    S1                                    
057115,000043: 11,2357           77742                           SR1                                            
057116,000044: 11,2360           65271                           DDV      PDDL                                  
057117,000045: 11,2361           00003                                    2D                                    
057118,000046: 11,2362           41405                           DMP      PUSH                                  #  FS (+6 +N1-N2)                6D      PL 8D
057119,000047: 11,2363           00005                                    4D                                    
057120,000048: 11,2364           65316                           DSQ      PDDL                                  #  (FS)SQ (+12 +2(N1-N2))        8D      PL 10D
057121,000049: 11,2365           00005                                    4D                                    
057122,000050: 11,2366           64716                           DSQ      PDDL*                                 #  SSQ/MU (-2 OR +2(N1-N2))      10D     PL 12D
057123,000051: 11,2367           50037                                    MUEARTH,2                             
057124,000052: 11,2370           40442                           SR3      SR4                                   
057125,000053: 11,2371           47515                           PDVL     VSQ                                   #  PREALIGN MU (+43 OR +37)      12D     PL 14D
057126,000054: 11,2372           01543                                    VCV                                   
057127,000055: 11,2373           44205                           DMP      BDSU                                  #                                        PL 12D
057128,000056: 11,2374           00045                                    36D                                   
057129,000057: 11,2375           41271                           DDV      DMP                                   #                                        PL 10D
057130,000058: 11,2376           00003                                    2D                                    #  -(1/R-ALPHA) (+12 +3N1-2N2)
057131,000059: 11,2377           53605                           DMP      SL*                                   
057132,000060: 11,2400           23771                                    DP2/3                                 
057133,000061: 11,2401           20176                                    0          -3,1                       #  10L(1/R-ALPHA) (+13 +2(N1-N2))
057134,000062: 11,2402           43260                           XSU,1    DAD                                   #  2(FS)SQ - ETCETRA                     PL 8D
057135,000063: 11,2403           00050                                    S1                                    #  X1 = N2-N1
057136,000064: 11,2404           45257                           SL*      DSU                                   #  -FS+2(FS)SQ ETC (+6 +N1-N2)           PL 6D
057137,000065: 11,2405           20211                                    8D,1                                  
057138,000066: 11,2406           41205                           DMP      DMP                                   
057139,000067: 11,2407           00001                                    0D                                    
057140,000068: 11,2410           00005                                    4D                                    
057141,000069: 11,2411           53657                           SL*      SL*                                   
057142,000070: 11,2412           20211                                    8D,1                                  

Page 1334

057144,000072: 11,2413           20201                                    0,1                                   #  S(-FS(1-2FS)-1/6...) (+17 OR +16)
057145,000073: 11,2414           65215                           DAD      PDDL                                  #                                        PL 6D
057146,000074: 11,2415           01553                                    XKEP                                  
057147,000075: 11,2416           53605                           DMP      SL*                                   #  S(+17 OR +16)
057148,000076: 11,2417           00001                                    0D                                    
057149,000077: 11,2420           20202                                    1,1                                   
057150,000078: 11,2421           43204                           BOVB     DAD                                   
057151,000079: 11,2422           57544                                    TCDANZIG                              
057152,000080: 11,2423           77626                           STADR                                          
057153,000081: 11,2424           75500                           STORE    XKEPNEW                               
057154,000082: 11,2425           74020                           STQ      AXC,1                                 
057155,000083: 11,2426           02267                                    KEPRTN                                
057156,000084: 11,2427           00012                           DEC      10         B-14                       
057157,000085: 11,2430           74014                           BON      AXC,1                                 
057158,000086: 11,2431           00303                                    MOONFLAG                              
057159,000087: 11,2432           24077                                    KEPLERN                               
057160,000088: 11,2433           00002                           DEC      2          B-14                       
057161,000089: 11,2434           77650                           GOTO                                           
057162,000090: 11,2435           24077                                    KEPLERN                               
057163,000091: 

Page 1335

057165,000093: 11,2436           66350        FBR3               LXA,1    SSP                                   
057166,000094: 11,2437           01500                                    DIFEQCNT                              
057167,000095: 11,2440           00051                                    S1                                    
057168,000096: 11,2441           77762                           DEC      -13        B-14                       
057169,000097: 11,2442           54345                           DLOAD    SR                                    
057170,000098: 11,2443           02305                                    DT/2                                  
057171,000099: 11,2444           20612                                    9D                                    
057172,000100: 11,2445           61500                           TIX,1    ROUND                                 
057173,000101: 11,2446           22447                                    +1                                    
057174,000102: 11,2447           43206                           PUSH     DAD                                   
057175,000103: 11,2450           01551                                    TC                                    
057176,000104: 11,2451           16303                           STODL    TAU.                                  
057177,000105: 11,2452           77615                           DAD                                            
057178,000106: 11,2453           01517                                    TET                                   
057179,000107: 11,2454           35517                           STCALL   TET                                   
057180,000108: 11,2455           22336                                    KEPPREP                               
057181,000109: 

Page 1336

057183,000111: 
057184,000112:                                                                                                  #  AGC ROUTINE TO COMPUTE ACCELERATION COMPONENTS.
057185,000113: 
057186,000114: 11,2456           73150        ACCOMP             LXA,1    LXA,2                                 
057187,000115: 11,2457           02150                                    PBODY                                 
057188,000116: 11,2460           02150                                    PBODY                                 
057189,000117: 11,2461           77775                           VLOAD                                          
057190,000118: 11,2462           11762                                    ZEROVEC                               
057191,000119: 11,2463           26202                           STOVL    FV                                    
057192,000120: 11,2464           02152                                    ALPHAV                                
057193,000121: 11,2465           53257                           VSL*     VAD                                   
057194,000122: 11,2466           57605                                    0          -7,2                       
057195,000123: 11,2467           01535                                    RCV                                   
057196,000124: 11,2470           02160                           STORE    BETAV                                 
057197,000125: 11,2471           65014                           BOF      XCHX,2                                
057198,000126: 11,2472           01756                                    DIM0FLAG                              
057199,000127: 11,2473           22500                                    +5                                    
057200,000128: 11,2474           01500                                    DIFEQCNT                              
057201,000129: 11,2475           12216                           STORE    VECTAB,2                              
057202,000130: 11,2476           77724                           XCHX,2                                         
057203,000131: 11,2477           01500                                    DIFEQCNT                              
057204,000132: 11,2500           53575                           VLOAD    UNIT                                  
057205,000133: 11,2501           02152                                    ALPHAV                                
057206,000134: 11,2502           16152                           STODL    ALPHAV                                
057207,000135: 11,2503           00045                                    36D                                   
057208,000136: 11,2504           02301                           STORE    ALPHAM                                
057209,000137: 11,2505           77624                           CALL                                           
057210,000138: 11,2506           22602                                    GAMCOMP                               
057211,000139: 11,2507           66175                           VLOAD    SXA,1                                 
057212,000140: 11,2510           02160                                    BETAV                                 
057213,000141: 11,2511           00051                                    S2                                    
057214,000142: 11,2512           16152                           STODL    ALPHAV                                
057215,000143: 11,2513           02210                                    BETAM                                 
057216,000144: 11,2514           02301                           STORE    ALPHAM                                
057217,000145: 11,2515           71214                           BOF      DLOAD                                 
057218,000146: 11,2516           00342                                    MIDFLAG                               
057219,000147: 11,2517           22754                                    OBLATE                                
057220,000148: 11,2520           01517                                    TET                                   
057221,000149: 11,2521           77624                           CALL                                           
057222,000150: 11,2522           54136                                    LSPOS                                 
057223,000151: 11,2523           72174                           AXT,2    LXA,1                                 
057224,000152: 11,2524           00002                                    2                                     
057225,000153: 11,2525           00051                                    S2                                    
057226,000154: 11,2526           77614                           BOF                                            
057227,000155: 11,2527           00343                                    MOONFLAG                              
057228,000156: 11,2530           22533                                    +3                                    
057229,000157: 11,2531           77076                           VCOMP    AXT,2                                 
057230,000158: 11,2532           00000                                    0                                     
057231,000159: 11,2533           02160                           STORE    BETAV                                 
057232,000160: 11,2534           26262                           STOVL    RPQV                                  

Page 1337

057234,000162: 11,2535           00003                                    2D                                    
057235,000163: 11,2536           02271                           STORE    RPSV                                  
057236,000164: 11,2537           77214                           BOF      VLOAD                                 
057237,000165: 11,2540           01756                                    DIM0FLAG                              
057238,000166: 11,2541           22554                                    GETRPSV                               
057239,000167: 11,2542           02152                                    ALPHAV                                
057240,000168: 11,2543           53761                           VXSC     VSR*                                  
057241,000169: 11,2544           02301                                    ALPHAM                                
057242,000170: 11,2545           57175                                    1,2                                   
057243,000171: 11,2546           65051                           VSU      XCHX,2                                
057244,000172: 11,2547           02160                                    BETAV                                 
057245,000173: 11,2550           01500                                    DIFEQCNT                              
057246,000174: 11,2551           12224                           STORE    VECTAB     +6,2                       
057247,000175: 11,2552           77724                           XCHX,2                                         
057248,000176: 11,2553           01500                                    DIFEQCNT                              
057249,000177: 11,2554           62175        GETRPSV            VLOAD    INCR,1                                
057250,000178: 11,2555           02262                                    RPQV                                  
057251,000179: 11,2556           00004                                    4                                     
057252,000180: 11,2557           43014                           CLEAR    BOF                                   
057253,000181: 11,2560           04260                                    RPQFLAG                               
057254,000182: 11,2561           00343                                    MOONFLAG                              
057255,000183: 11,2562           22567                                    +5                                    
057256,000184: 11,2563           53261                           VSR      VAD                                   
057257,000185: 11,2564           20612                                    9D                                    
057258,000186: 11,2565           02271                                    RPSV                                  
057259,000187: 11,2566           02271                           STORE    RPSV                                  
057260,000188: 11,2567           77624                           CALL                                           
057261,000189: 11,2570           22602                                    GAMCOMP                               
057262,000190: 11,2571           62174                           AXT,2    INCR,1                                
057263,000191: 11,2572           00004                                    4                                     
057264,000192: 11,2573           00004                                    4                                     
057265,000193: 11,2574           77775                           VLOAD                                          
057266,000194: 11,2575           02271                                    RPSV                                  
057267,000195: 11,2576           36160                           STCALL   BETAV                                 
057268,000196: 11,2577           22602                                    GAMCOMP                               
057269,000197: 11,2600           77650                           GOTO                                           
057270,000198: 11,2601           22754                                    OBLATE                                
057271,000199: 11,2602           74575        GAMCOMP            VLOAD    VSR1                                  
057272,000200: 11,2603           02160                                    BETAV                                 
057273,000201: 11,2604           40236                           VSQ      SETPD                                 
057274,000202: 11,2605           00001                                    0                                     
057275,000203: 11,2606           61501                           NORM     ROUND                                 
057276,000204: 11,2607           00040                                    31D                                   
057277,000205: 11,2610           60325                           PDDL     NORM                                  #  NORMED B SQUARED TO PD LIST
057278,000206: 11,2611           02301                                    ALPHAM                                #  NORMALIZE (LESS ONE) LENGTH OF ALPHA
057279,000207: 11,2612           00041                                    32D                                   #  SAVING NORM SCALE FACTOR IN X1
057280,000208: 11,2613           63342                           SR1      PDVL                                  
057281,000209: 11,2614           02160                                    BETAV                                 #  C(PDL+2) = ALMOST NORMED ALPHA
057282,000210: 11,2615           77656                           UNIT                                           
057283,000211: 11,2616           16160                           STODL    BETAV                                 

Page 1338

057285,000213: 11,2617           00045                                    36D                                   
057286,000214: 11,2620           02210                           STORE    BETAM                                 
057287,000215: 11,2621           55301                           NORM     BDDV                                  #  FORM NORMALIZED QUOTIENT ALPHAM/BETAM
057288,000216: 11,2622           00042                                    33D                                   
057289,000217: 11,2623           41562                           SR1R     PUSH                                  #  C(PDL+2) = ALMOST NORMALIZED RHO.
057290,000218: 11,2624           77743                           DLOAD*                                         
057291,000219: 11,2625           27732                                    ASCALE,1                              
057292,000220: 11,2626           00051                           STORE    S1                                    
057293,000221: 11,2627           57124                           XCHX,2   XAD,2                                 
057294,000222: 11,2630           00050                                    S1                                    
057295,000223: 11,2631           00040                                    32D                                   
057296,000224: 11,2632           71264                           XSU,2    DLOAD                                 
057297,000225: 11,2633           00041                                    33D                                   
057298,000226: 11,2634           00003                                    2D                                    
057299,000227: 11,2635           65057                           SR*      XCHX,2                                
057300,000228: 11,2636           57177                                    0          -1,2                       
057301,000229: 11,2637           00050                                    S1                                    
057302,000230: 11,2640           74406                           PUSH     SR1R                                  #  RHO/4 TO 4D
057303,000231: 11,2641           50315                           PDVL     DOT                                   
057304,000232: 11,2642           02152                                    ALPHAV                                
057305,000233: 11,2643           02160                                    BETAV                                 
057306,000234: 11,2644           44372                           SL1R     BDSU                                  #  (RHO/4) - 2(ALPHAV/2.BETAV/2)
057307,000235: 11,2645           57206                           PUSH     DMPR                                  #  TO PDL+6
057308,000236: 11,2646           00005                                    4                                     
057309,000237: 11,2647           77752                           SL1                                            
057310,000238: 11,2650           43206                           PUSH     DAD                                   
057311,000239: 11,2651           33412                                    DQUARTER                              
057312,000240: 11,2652           75406                           PUSH     SQRT                                  
057313,000241: 11,2653           41475                           DMPR     PUSH                                  
057314,000242: 11,2654           00013                                    10D                                   
057315,000243: 11,2655           43352                           SL1      DAD                                   
057316,000244: 11,2656           33412                                    DQUARTER                              
057317,000245: 11,2657           43325                           PDDL     DAD                                   #  (1/4)+2((Q+1)/4)      TO PD+14D
057318,000246: 11,2660           00013                                    10D                                   
057319,000247: 11,2661           11760                                    HALFDP                                
057320,000248: 11,2662           72475                           DMPR     SL1                                   
057321,000249: 11,2663           00011                                    8D                                    
057322,000250: 11,2664           56215                           DAD      DDV                                   
057323,000251: 11,2665           23747                                    THREE/8                               
057324,000252: 11,2666           00017                                    14D                                   
057325,000253: 11,2667           74275                           DMPR     VXSC                                  
057326,000254: 11,2670           00007                                    6                                     
057327,000255: 11,2671           02160                                    BETAV                                 #                -
057328,000256: 11,2672           64515                           PDVL     VSR3                                  #  (G/2)(C(PD+4))B/2 TO PD+16D
057329,000257: 11,2673           02152                                    ALPHAV                                
057330,000258: 11,2674           41455                           VAD      PUSH                                  #  A12 + C(PD+16D) TO PD+16D
057331,000259: 11,2675           41345                           DLOAD    DMP                                   
057332,000260: 11,2676           00001                                    0                                     
057333,000261: 11,2677           00015                                    12D                                   #  -
057334,000262: 11,2700           61501                           NORM     ROUND                                 

Page 1339

057336,000264: 11,2701           00037                                    30D                                   
057337,000265: 11,2702           40665                           BDDV     DMP*                                  
057338,000266: 11,2703           00003                                    2                                     
057339,000267: 11,2704           50037                                    MUEARTH,2                             
057340,000268: 11,2705           74276                           DCOMP    VXSC                                  
057341,000269: 11,2706           57124                           XCHX,2   XAD,2                                 
057342,000270: 11,2707           00050                                    S1                                    
057343,000271: 11,2710           00051                                    S2                                    
057344,000272: 11,2711           55064                           XSU,2    XSU,2                                 
057345,000273: 11,2712           00036                                    30D                                   
057346,000274: 11,2713           00037                                    31D                                   
057347,000275: 11,2714           77600                           BOV                                            #  CLEAR OVIND
057348,000276: 11,2715           22716                                    +1                                    
057349,000277: 11,2716           65057                           VSR*     XCHX,2                                
057350,000278: 11,2717           57177                                    0          -1,2                       
057351,000279: 11,2720           00050                                    S1                                    
057352,000280: 11,2721           77655                           VAD                                            
057353,000281: 11,2722           02202                                    FV                                    
057354,000282: 11,2723           02202                           STORE    FV                                    
057355,000283: 11,2724           43400                           BOV      RVQ                                   #  RETURN IF NO OVERFLOW
057356,000284: 11,2725           22726                                    +1                                    
057357,000285: 11,2726           51575        GOBAQUE            VLOAD    ABVAL                                 
057358,000286: 11,2727           01521                                    TDELTAV                               
057359,000287: 11,2730           77654                           BZE                                            
057360,000288: 11,2731           22751                                    INT-ABRT                              
057361,000289: 11,2732           54345                           DLOAD    SR                                    
057362,000290: 11,2733           02212                                    H                                     
057363,000291: 11,2734           20612                                    9D                                    
057364,000292: 11,2735           44206                           PUSH     BDSU                                  
057365,000293: 11,2736           01551                                    TC                                    
057366,000294: 11,2737           16303                           STODL    TAU.                                  
057367,000295: 11,2740           01517                                    TET                                   
057368,000296: 11,2741           45425                           DSU      STADR                                 
057369,000297: 11,2742           42260                           STCALL   TET                                   
057370,000298: 11,2743           22336                                    KEPPREP                               
057371,000299: 11,2744           77624                           CALL                                           
057372,000300: 11,2745           23420                                    RECTIFY                               
057373,000301: 11,2746           77614                           SETGO                                          
057374,000302: 11,2747           04020                                    RPQFLAG                               
057375,000303: 11,2750           27364                                    TESTLOOP                              
057376,000304: 
057377,000305: 11,2751           77776        INT-ABRT           EXIT                                           
057378,000306: 11,2752           05726                           TC       POODOO                                
057379,000307: 11,2753           20430                           OCT      20430                                 #  SUB-SURFACE STATE VECTOR
057380,000308: 

Page 1340

057382,000310: 
057383,000311:                                                                                                  #  THE OBLATE ROUTINE COMPUTES THE ACCELERATION DUE TO OBLATENESS. IT USES THE UNIT OF THE VEHICLE
057384,000312:                                                                                                  #  POSITION VECTOR FOUND IN ALPHAV AND THE DISTANCE TO THE CENTER IN ALPHAM. THIS IS ADDED TO THE SUM OF THE
057385,000313:                                                                                                  #  DISTURBING ACCELERATIONS IN FV AND THE PROPER DIFEQ STAGE IS CALLED VIA X1.
057386,000314: 
057387,000315: 11,2754           71354        OBLATE             LXA,2    DLOAD                                 
057388,000316: 11,2755           02150                                    PBODY                                 
057389,000317: 11,2756           02301                                    ALPHAM                                
057390,000318: 11,2757           44601                           SETPD    DSU*                                  
057391,000319: 11,2760           00001                                    0                                     
057392,000320: 11,2761           50007                                    RDE,2                                 
057393,000321: 11,2762           43044                           BPL      BOF                                   #  GET URPV
057394,000322: 11,2763           23212                                    NBRANCH                               
057395,000323: 11,2764           00343                                    MOONFLAG                              
057396,000324: 11,2765           23221                                    COSPHIE                               
057397,000325: 11,2766           65375                           VLOAD    PDDL                                  
057398,000326: 11,2767           02152                                    ALPHAV                                
057399,000327: 11,2770           01517                                    TET                                   
057400,000328: 11,2771           45125                           PDDL     CALL                                  
057401,000329: 11,2772           23745                                    3/5                                   
057402,000330: 11,2773           55370                                    R-TO-RP                               
057403,000331: 11,2774           24017                           STOVL    URPV                                  #  RP/R  B-1     IN PLANETARY COORDINATES
057404,000332: 11,2775           11754                                    ZUNIT                                 
057405,000333: 11,2776           45006                           PUSH     CALL                                  #  ZUNIT B-1     IN PLANETARY COORDL      AT 00D
057406,000334: 11,2777           23227                                    MATRIX                                
057407,000335: 11,3000           77715                           PDVL                                           #  UZ    B-2     IN INERT COORD           AT 00D
057408,000336: 11,3001           11760                                    XUNIT                                 
057409,000337: 11,3002           45006                           PUSH     CALL                                  #  XUNIT B-1     IN PLANETARY COORD.      AT 06D
057410,000338: 11,3003           23227                                    MATRIX                                
057411,000339: 11,3004           77772                           VSL1                                           
057412,000340: 11,3005           24041                           STOVL    32D                                   #  UX    B-1     IN INERT. COORD          AT 32D
057413,000341: 11,3006           77772                           VSL1                                           
057414,000342: 11,3007           14025        COMTERM            STODL    UZ                                    #  UZ    B-1     IN INERTIAL COORD        AT 20D
057415,000343: 11,3010           00023                                    COSPHI/2                              #   '            Z-COMPONENT OF URPV
057416,000344: 11,3011           65275                           DMPR     PDDL                                  #  P     B-6      ,  3COSPHI/64           AT 00D
057417,000345: 11,3012           23755                                    3/32                                  #   2
057418,000346: 11,3013           00023                                    COSPHI/2                              
057419,000347: 11,3014           57316                           DSQ      DMPR                                  
057420,000348: 11,3015           23757                                    15/16                                 #   '                            2
057421,000349: 11,3016           41425                           DSU      PUSH                                  #  P     B-5      ,(1/2)(15COSPHI -3)     AT 02D
057422,000350: 11,3017           23753                                    3/64                                  #   3
057423,000351: 11,3020           41275                           DMPR     DMP                                   
057424,000352: 11,3021           00023                                    COSPHI/2                              
057425,000353: 11,3022           23763                                    7/12                                  
057426,000354: 11,3023           65372                           SL1R     PDDL                                  
057427,000355: 11,3024           00001                                    0D                                    
057428,000356: 11,3025           44275                           DMPR     BDSU                                  
057429,000357: 11,3026           23771                                    2/3                                   #   '                             '    '
057430,000358: 11,3027           57206                           PUSH     DMPR                                  #  P     B-7      ,(1/3)(7COSPHI P  -4P ) AT 04D
057431,000359: 11,3030           00023                                    COSPHI/2                              #   4                             3    2
057432,000360: 11,3031           65275                           DMPR     PDDL                                  
057433,000361: 11,3032           23765                                    9/16                                  

Page 1341

057435,000363: 11,3033           00003                                    2D                                    #   '                             '    '
057436,000364: 11,3034           44275                           DMPR     BDSU                                  #  P     B-10     ,(1/4)(9COSPHI P  -5P )
057437,000365: 11,3035           23767                                    5/128                                 #   5                             4    3
057438,000366: 11,3036           56203                           DMP*     DDV                                   #                             '
057439,000367: 11,3037           50033                                    J4REQ/J3,2                            #        B-       ,(J RP/J R)P
057440,000368: 11,3040           02301                                    ALPHAM                                #                    4    3   5
057441,000369: 11,3041           56615                           DAD      DMPR*                                 
057442,000370: 11,3042           00005                                    4D                                    #                        2     2  '              '
057443,000371: 11,3043           50027                                    2J3RE/J2,2                            #        B        ,(2J RP /J2 R )P  +(2J RP/J2R)P
057444,000372: 11,3044           43271                           DDV      DAD                                   #                     4           5     3        4
057445,000373: 11,3045           02301                                    ALPHAM                                #   -        2 '  2         '        '
057446,000374: 11,3046           00003                                    2D                                    #  (R/R)(J RP P /R + 2J RP P /  + J P )
057447,000375: 11,3047           77761                           VXSC                                           #         4    5       3    4  2   2 3
057448,000376: 11,3050           02152                                    ALPHAV                                #                    4       2  '           -
057449,000377: 11,3051           14033                           STODL    TVEC                                  #        B-6     , (SUM((J /R )P   (COSPHI))UR)
057450,000378: 11,3052           70403                           DMP*     SR1                                   #                   I=2   I     I+1
057451,000379: 11,3053           50033                                    J4REQ/J3,2                            #                           '
057452,000380: 11,3054           43271                           DDV      DAD                                   #                (J RP/J R)P
057453,000381: 11,3055           02301                                    ALPHAM                                #                  4    3   4
057454,000382: 11,3056           50473                           DMPR*    SR3                                   #              2    2  '              '
057455,000383: 11,3057           50027                                    2J3RE/J2,2                            #        (2J RP /J R )P  +(2J RP/J R)P
057456,000384: 11,3060           43271                           DDV      DAD                                   #           4     2    4     3    2   3
057457,000385: 11,3061           02301                                    ALPHAM                                #  
057458,000386: 11,3062           76561                           VXSC     VSL1                                  #                 4   '        -
057459,000387: 11,3063           00025                                    UZ                                    #        B-6     SUM(P(COSPHI))UZ
057460,000388: 11,3064           77645                           BVSU                                           #                I=2  I
057461,000389: 11,3065           00033                                    TVEC                                  #   4              I-2   '          -
057462,000390: 11,3066           14033                           STODL    TVEC                                  #  SUM((MU J (RP/R)   )(P   (COSPHI)UR -
057463,000391: 11,3067           02301                                    ALPHAM                                #  I=2      I            I+2
057464,000392: 11,3070           63501                           NORM     DSQ                                   #              P (COSPHI)UZ))    B-6     AT 20D
057465,000393: 11,3071           00047                                    X1                                    #               I
057466,000394: 11,3072           60316                           DSQ      NORM                                  
057467,000395: 11,3073           00051                                    S1                                    #              4
057468,000396: 11,3074           54606                           PUSH     BDDV*                                 #  NORMALIZED R                          AT 00D
057469,000397: 11,3075           50023                                    J2REQSQ,2                             
057470,000398: 11,3076           40161                           VXSC     BOV                                   
057471,000399: 11,3077           00033                                    TVEC                                  
057472,000400: 11,3100           23101                                    +1                                    #  B+38 FOR EARTH, B+42 FOR MOON
057473,000401: 11,3101           56070                           XAD,1    XAD,1                                 
057474,000402: 11,3102           00046                                    X1                                    
057475,000403: 11,3103           00046                                    X1                                    
057476,000404: 11,3104           53670                           XAD,1    VSL*                                  
057477,000405: 11,3105           00050                                    S1                                    
057478,000406: 11,3106           20153                                    0          -22D,1                     
057479,000407: 11,3107           40055                           VAD      BOV                                   
057480,000408: 11,3110           02202                                    FV                                    
057481,000409: 11,3111           22726                                    GOBAQUE                               
057482,000410: 11,3112           16202                           STODL    FV                                    #  B+16 FOR EARTH, B+20 FOR MOON
057483,000411: 11,3113           00017                                    URPV                                  #  B-1  X-COMPONENT OF POSITION  IN
057484,000412: 11,3114           41414                           BOF      PUSH                                  #            PLANETORY COORD.      AT 02D

Page 1342

057486,000414: 11,3115           00343                                    MOONFLAG                              
057487,000415: 11,3116           23212                                    NBRANCH                               #         2
057488,000416: 11,3117           65316                           DSQ      PDDL                                  #  B-2   X                               AT 04D
057489,000417: 11,3120           00021                                    URPV       +2                         #  B-1   Y-COMPONENT
057490,000418: 11,3121           45316                           DSQ      DSU                                   
057491,000419: 11,3122           74205                           DMP      VXSC                                  
057492,000420: 11,3123           27756                                    5/8                                   #           2  2 -
057493,000421: 11,3124           02152                                    ALPHAV                                #  B-6   5(Y -X )UR         2  2 -
057494,000422: 11,3125           65332                           VSL3     PDDL                                  #  B-3                   5(Y -X )UR      AT 02D
057495,000423: 11,3126           53361                           VXSC     VAD                                   
057496,000424: 11,3127           00041                                    32D                                   #      2  2 -   2         -
057497,000425: 11,3130           47315                           PDVL     VXV                                   #  (5(Y.-X )UR/R ) +(2X/R)UX             AT 02D
057498,000426: 11,3131           00041                                    32D                                   #  B-1    UX
057499,000427: 11,3132           00025                                    UZ                                    #  B-2   -UY =(UX * UZ)
057500,000428: 11,3133           74372                           VSL1     VXSC                                  #  B-3    -(2Y/R)UY
057501,000429: 11,3134           00021                                    URPV       +2                         #            2  2 -   2        -
057502,000430: 11,3135           41455                           VAD      PUSH                                  #  B-3   (5(X -Y )UR/R )+(2X/R)UX -(
057503,000431: 11,3136           77745                           DLOAD                                          #             -
057504,000432: 11,3137           00023                                    COSPHI/2                              #        2Y/R)UY                         AT 02D
057505,000433: 11,3140           41516                           DSQ      PUSH                                  #  B-2   (Z.COMPONENT)                   AT 08D
057506,000434: 11,3141           65205                           DMP      PDDL                                  #                2
057507,000435: 11,3142           27756                                    5/8                                   #  B-5   5COSPHI/2                       AT 08D
057508,000436: 11,3143           43302                           SR2      DAD                                   
057509,000437: 11,3144           00011                                    08D                                   
057510,000438: 11,3145           41221                           BDSU     DMP                                   #                    2
057511,000439: 11,3146           33416                                    D1/32                                 #  B-5   (1 - 7COSPHI )
057512,000440: 11,3147           00017                                    URPV                                  
057513,000441: 11,3150           74205                           DMP      VXSC                                  
057514,000442: 11,3151           27756                                    5/8                                   
057515,000443: 11,3152           02152                                    ALPHAV                                #                        2 -
057516,000444: 11,3153           65272                           VSL5     PDDL                                  #  B-5   (5X/R)(1-7COSPHI )UR            AT 08D
057517,000445: 11,3154           74225                           DSU      VXSC                                  
057518,000446: 11,3155           33416                                    D1/32                                 
057519,000447: 11,3156           00041                                    32D                                   
057520,000448: 11,3157           53372                           VSL1     VAD                                   #                        2 -           -
057521,000449: 11,3160           41325                           PDDL     DMP                                   #  B-5   (5X/R)(1-7COSPHI )UR +(5COSPHI
057522,000450: 11,3161           00017                                    URPV                                  #     -
057523,000451: 11,3162           00023                                    URPV       +4                         #  -1)UX                                 AT 08D
057524,000452: 11,3163           74205                           DMP      VXSC                                  
057525,000453: 11,3164           27756                                    5/8                                   #  B-5   5X Y
057526,000454: 11,3165           00025                                    UZ                                    #          M M
057527,000455: 11,3166           53352                           VSL2     VAD                                   #                        2             2
057528,000456: 11,3167           60325                           PDDL     NORM                                  #  B-5   (5X/R)(1-7COSPHI )UR +(5COSPHI
057529,000457: 11,3170           02301                                    ALPHAM                                #     -          2 -
057530,000458: 11,3171           00050                                    X2                                    #  -1)UX +(10XZ/R )UZ                    AT 08D
057531,000459: 11,3172           67206                           PUSH     SLOAD                                 
057532,000460: 11,3173           01770                                    E32C31RM                              
057533,000461: 11,3174           74271                           DDV      VXSC                                  
057534,000462: 11,3175           63257                           VSL*     PDVL                                  
057535,000463: 11,3176           57601                                    0          -3,2                       

Page 1343

057537,000465: 11,3177           67206                           PUSH     SLOAD                                 
057538,000466: 11,3200           01767                                    E3J22R2M                              
057539,000467: 11,3201           53361                           VXSC     VAD                                   
057540,000468: 11,3202           70257                           VSL*     V/SC                                  
057541,000469: 11,3203           20146                                    0          -27D,1                     #  B+16 OR B+20 (J   + C  )
057542,000470: 11,3204           40055                           VAD      BOV                                   #                 22    31
057543,000471: 11,3205           02202                                    FV                                    
057544,000472: 11,3206           22726                                    GOBAQUE                               
057545,000473: 11,3207           02202                           STORE    FV                                    
057546,000474: 11,3210           77754                           LXA,2                                          
057547,000475: 11,3211           02150                                    PBODY                                 
057548,000476: 11,3212           72135        NBRANCH            SLOAD    LXA,1                                 
057549,000477: 11,3213           01501                                    DIFEQCNT                              
057550,000478: 11,3214           00154                                    MPAC                                  
057551,000479: 11,3215           73205                           DMP      CGOTO                                 
057552,000480: 11,3216           27760                                    -1/12                                 
057553,000481: 11,3217           00155                                    MPAC                                  
057554,000482: 11,3220           23234                                    DIFEQTAB                              
057555,000483: 11,3221           77745        COSPHIE            DLOAD                                          
057556,000484: 11,3222           02156                                    ALPHAV     +4                         
057557,000485: 11,3223           24023                           STOVL    COSPHI/2                              
057558,000486: 11,3224           11754                                    ZUNIT                                 
057559,000487: 11,3225           77650                           GOTO                                           
057560,000488: 11,3226           23007                                    COMTERM                               
057561,000489: 
057562,000490: 11,3227           57435        MATRIX             VXV      VCOMP                                 
057563,000491: 11,3230           02012                                    504LM                                 #  ROUTINE TRANSLATES FROM PLANETARY
057564,000492: 11,3231           77655                           VAD                                            #  TO INERTIAL COORDINATES
057565,000493: 11,3232           43505                           VXM      RVQ                                   
057566,000494: 11,3233           00025                                    MMATRIX                               
057567,000495: 
057568,000496: 11,3234           23445        DIFEQTAB           CADR     DIFEQ+0                               
057569,000497: 11,3235           23451                           CADR     DIFEQ+1                               
057570,000498: 11,3236           23462                           CADR     DIFEQ+2                               
057571,000499: 
057572,000500: 11,3237           45014        TIMESTEP           BOF      CALL                                  
057573,000501: 11,3240           00342                                    MIDFLAG                               
057574,000502: 11,3241           23245                                    RECTEST                               #  SKIP ORIGIN CHANGE LOGIC
057575,000503: 11,3242           23317                                    CHKSWTCH                              
057576,000504: 11,3243           77640                           BMN                                            
057577,000505: 11,3244           23354                                    DOSWITCH                              
057578,000506: 
057579,000507: 11,3245           51575        RECTEST            VLOAD    ABVAL                                 #  RECTIFY IF
057580,000508: 11,3246           01521                                    TDELTAV                               
057581,000509: 11,3247           77600                           BOV                                            
057582,000510: 11,3250           23273                                    CALLRECT                              
057583,000511: 11,3251           51025                           DSU      BPL                                   #        1) EITHER TDELTAV OR TNUV EQUALS OR
057584,000512: 11,3252           23761                                    3/4                                   #           EXCEEDS 3/4 IN MAGNITUDE
057585,000513: 11,3253           23273                                    CALLRECT                              
057586,000514: 11,3254           53615                           DAD      SL*                                   #                        OR

Page 1344

057588,000516: 11,3255           23761                                    3/4                                   
057589,000517: 11,3256           57605                                    0          -7,2                       #        2) ABVAL(TDELTAV) EQUALS OR EXCEEDS
057590,000518: 11,3257           45271                           DDV      DSU                                   #           .01(ABVAL(RCV))
057591,000519: 11,3260           00013                                    10D                                   
057592,000520: 11,3261           27762                                    RECRATIO                              
057593,000521: 11,3262           77244                           BPL      VLOAD                                 
057594,000522: 11,3263           23273                                    CALLRECT                              
057595,000523: 11,3264           01527                                    TNUV                                  
057596,000524: 11,3265           45246                           ABVAL    DSU                                   
057597,000525: 11,3266           23761                                    3/4                                   
057598,000526: 11,3267           77600                           BOV                                            
057599,000527: 11,3270           23273                                    CALLRECT                              
057600,000528: 11,3271           77640                           BMN                                            
057601,000529: 11,3272           23275                                    INTGRATE                              
057602,000530: 11,3273           77624        CALLRECT           CALL                                           
057603,000531: 11,3274           23420                                    RECTIFY                               
057604,000532: 11,3275           77775        INTGRATE           VLOAD                                          
057605,000533: 11,3276           01527                                    TNUV                                  
057606,000534: 11,3277           24763                           STOVL    ZV                                    
057607,000535: 11,3300           01521                                    TDELTAV                               
057608,000536: 11,3301           00755                           STORE    YV                                    
057609,000537: 11,3302           77614                           CLEAR                                          
057610,000538: 11,3303           00261                                    JSWITCH                               
057611,000539: 11,3304           66375        DIFEQ0             VLOAD    SSP                                   
057612,000540: 11,3305           00755                                    YV                                    
057613,000541: 11,3306           01501                                    DIFEQCNT                              
057614,000542: 11,3307           00000                                    0                                     
057615,000543: 11,3310           16152                           STODL    ALPHAV                                
057616,000544: 11,3311           11762                                    DPZERO                                
057617,000545: 11,3312           02212                           STORE    H                                     #  START H AT ZERO. GOES 0(DELT/2)DELT.
057618,000546: 11,3313           52014                           BON      GOTO                                  
057619,000547: 11,3314           00301                                    JSWITCH                               
057620,000548: 11,3315           23664                                    DOW..                                 
057621,000549: 11,3316           22456                                    ACCOMP                                
057622,000550: 
057623,000551: 11,3317           43020        CHKSWTCH           STQ      BOF                                   
057624,000552: 11,3320           02267                                    ORIGEX                                
057625,000553: 11,3321           04340                                    RPQFLAG                               
057626,000554: 11,3322           23332                                    RPQOK                                 #  MOON POSITION IS AVAILABLE
057627,000555: 11,3323           45145                           DLOAD    CALL                                  
057628,000556: 11,3324           01517                                    TET                                   
057629,000557: 11,3325           54141                                    LUNPOS                                #  GET MOON POSITION
057630,000558: 11,3326           57414                           BOF      VCOMP                                 
057631,000559: 11,3327           00343                                    MOONFLAG                              
057632,000560: 11,3330           23331                                    +1                                    
057633,000561: 11,3331           02262                           STORE    RPQV                                  
057634,000562: 11,3332           77354        RPQOK              LXA,2    VLOAD                                 #  RESTORE X2 AFTER USING LUNPOS
057635,000563: 11,3333           02150                                    PBODY                                 
057636,000564: 11,3334           01521                                    TDELTAV                               #   -
057637,000565: 11,3335           53257                           VSL*     VAD                                   #  |RQC|-RSPHERE WHEN OUTSIDE THE SPHERE.

Page 1345

057639,000567: 11,3336           57605                                    0          -7,2                       #  -   -            -
057640,000568: 11,3337           01535                                    RCV                                   #  R = RDEVIATION + RCONIC
057641,000569: 11,3340           51414                           BOF      ABVAL                                 
057642,000570: 11,3341           00343                                    MOONFLAG                              
057643,000571: 11,3342           23347                                    EARSPH                                
057644,000572: 11,3343           44302                           SR2      BDSU                                  #  INSIDE
057645,000573: 11,3344           27764                                    RSPHERE                               
057646,000574: 11,3345           77650                           GOTO                                           
057647,000575: 11,3346           02267                                    ORIGEX                                
057648,000576: 11,3347           51451        EARSPH             VSU      ABVAL                                 #  OUTSIDE
057649,000577: 11,3350           02262                                    RPQV                                  
057650,000578: 11,3351           52025                           DSU      GOTO                                  
057651,000579: 11,3352           27764                                    RSPHERE                               
057652,000580: 11,3353           02267                                    ORIGEX                                
057653,000581: 11,3354           77624        DOSWITCH           CALL                                           
057654,000582: 11,3355           23360                                    ORIGCHNG                              
057655,000583: 11,3356           77650                           GOTO                                           
057656,000584: 11,3357           23275                                    INTGRATE                              
057657,000585: 11,3360           45020        ORIGCHNG           STQ      CALL                                  
057658,000586: 11,3361           02267                                    ORIGEX                                
057659,000587: 11,3362           23420                                    RECTIFY                               
057660,000588: 11,3363           53775                           VLOAD    VSL*                                  
057661,000589: 11,3364           01535                                    RCV                                   
057662,000590: 11,3365           57576                                    0,2                                   
057663,000591: 11,3366           53651                           VSU      VSL*                                  
057664,000592: 11,3367           02262                                    RPQV                                  
057665,000593: 11,3370           57574                                    2,2                                   
057666,000594: 11,3371           01503                           STORE    RRECT                                 
057667,000595: 11,3372           15535                           STODL    RCV                                   
057668,000596: 11,3373           01517                                    TET                                   
057669,000597: 11,3374           77624                           CALL                                           
057670,000598: 11,3375           54144                                    LUNVEL                                
057671,000599: 11,3376           57414                           BOF      VCOMP                                 
057672,000600: 11,3377           00343                                    MOONFLAG                              
057673,000601: 11,3400           23401                                    +1                                    
057674,000602: 11,3401           53715                           PDVL     VSL*                                  
057675,000603: 11,3402           01543                                    VCV                                   
057676,000604: 11,3403           57576                                    0,2                                   
057677,000605: 11,3404           77651                           VSU                                            
057678,000606: 11,3405           77657                           VSL*                                           
057679,000607: 11,3406           57574                                    0          +2,2                       
057680,000608: 11,3407           01511                           STORE    VRECT                                 
057681,000609: 11,3410           01543                           STORE    VCV                                   
057682,000610: 11,3411           67154                           LXA,2    SXA,2                                 
057683,000611: 11,3412           02267                                    ORIGEX                                
057684,000612: 11,3413           00052                                    QPRET                                 
057685,000613: 11,3414           52014                           BON      GOTO                                  
057686,000614: 11,3415           00303                                    MOONFLAG                              
057687,000615: 11,3416           27011                                    CLRMOON                               
057688,000616: 11,3417           27016                                    SETMOON                               
057689,000617: 

Page 1346

057691,000619: 
057692,000620:                                                                                                  #  THE RECTIFY SUBROUTINE IS CALLED BY THE INTEGRATION PROGRAM AND OCCASIONALLY BY THE MEASUREMENT INCORPORATION
057693,000621:                                                                                                  #  ROUTINES TO ESTABLISH A NEW CONIC.
057694,000622: 
057695,000623: 11,3420           77354        RECTIFY            LXA,2    VLOAD                                 
057696,000624: 11,3421           02150                                    PBODY                                 
057697,000625: 11,3422           01521                                    TDELTAV                               
057698,000626: 11,3423           53257                           VSL*     VAD                                   
057699,000627: 11,3424           57605                                    0          -7,2                       
057700,000628: 11,3425           01535                                    RCV                                   
057701,000629: 11,3426           01503                           STORE    RRECT                                 
057702,000630: 11,3427           25535                           STOVL    RCV                                   
057703,000631: 11,3430           01527                                    TNUV                                  
057704,000632: 11,3431           53257                           VSL*     VAD                                   
057705,000633: 11,3432           57602                                    0          -4,2                       
057706,000634: 11,3433           01543                                    VCV                                   
057707,000635: 11,3434           01511        MINIRECT           STORE    VRECT                                 
057708,000636: 11,3435           25543        TINIRECT           STOVL    VCV                                   
057709,000637: 11,3436           11762                                    ZEROVEC                               
057710,000638: 11,3437           01521                           STORE    TDELTAV                               
057711,000639: 11,3440           15527                           STODL    TNUV                                  
057712,000640: 11,3441           11762                                    ZEROVEC                               
057713,000641: 11,3442           01551                           STORE    TC                                    
057714,000642: 11,3443           01553                           STORE    XKEP                                  
057715,000643: 11,3444           77616                           RVQ                                            
057716,000644: 

Page 1347

057718,000646: 
057719,000647:                                                                                                  #  THE THREE DIFEQ ROUTINES - DIFEQ+0, DIFEQ+12, AND DIFEQ+24 - ARE ENTEREDTO PROCESS THE CONTRIBUTIONS AT THE
057720,000648:                                                                                                  #  BEGINNING, MIDDLE, AND END OF THE TIMESTEP, RESPECTIVELY. THE UPDATING IS DONE BY THE NYSTROM METHOD.
057721,000649: 
057722,000650: 11,3445           64575        DIFEQ+0            VLOAD    VSR3                                  
057723,000651: 11,3446           02202                                    FV                                    
057724,000652: 11,3447           36166                           STCALL   PHIV                                  
057725,000653: 11,3450           23625                                    DIFEQCOM                              
057726,000654: 11,3451           74575        DIFEQ+1            VLOAD    VSR1                                  
057727,000655: 11,3452           02202                                    FV                                    
057728,000656: 11,3453           53206                           PUSH     VAD                                   
057729,000657: 11,3454           02166                                    PHIV                                  
057730,000658: 11,3455           26174                           STOVL    PSIV                                  
057731,000659: 11,3456           53362                           VSR1     VAD                                   
057732,000660: 11,3457           02166                                    PHIV                                  
057733,000661: 11,3460           36166                           STCALL   PHIV                                  
057734,000662: 11,3461           23625                                    DIFEQCOM                              
057735,000663: 11,3462           57345        DIFEQ+2            DLOAD    DMPR                                  
057736,000664: 11,3463           02212                                    H                                     
057737,000665: 11,3464           23771                                    DP2/3                                 
057738,000666: 11,3465           74206                           PUSH     VXSC                                  
057739,000667: 11,3466           02166                                    PHIV                                  
057740,000668: 11,3467           53372                           VSL1     VAD                                   
057741,000669: 11,3470           00763                                    ZV                                    
057742,000670: 11,3471           53361                           VXSC     VAD                                   
057743,000671: 11,3472           02212                                    H                                     
057744,000672: 11,3473           00755                                    YV                                    
057745,000673: 11,3474           24755                           STOVL    YV                                    
057746,000674: 11,3475           02202                                    FV                                    
057747,000675: 11,3476           53322                           VSR3     VAD                                   
057748,000676: 11,3477           02174                                    PSIV                                  
057749,000677: 11,3500           76561                           VXSC     VSL1                                  
057750,000678: 11,3501           77655                           VAD                                            
057751,000679: 11,3502           00763                                    ZV                                    
057752,000680: 11,3503           00763                           STORE    ZV                                    
057753,000681: 11,3504           45014                           BOFF     CALL                                  
057754,000682: 11,3505           00341                                    JSWITCH                               
057755,000683: 11,3506           23556                                    ENDSTATE                              
057756,000684: 11,3507           22327                                    GRP2PC                                
057757,000685: 11,3510           77354                           LXA,2    VLOAD                                 
057758,000686: 11,3511           00770                                    COLREG                                
057759,000687: 11,3512           00763                                    ZV                                    
057760,000688: 11,3513           77732                           VSL3                                           #  ADJUST W-POSITION FOR STORAGE
057761,000689: 11,3514           12467                           STORE    W          +54D,2                     
057762,000690: 11,3515           77775                           VLOAD                                          
057763,000691: 11,3516           00755                                    YV                                    
057764,000692: 11,3517           40132                           VSL3     BOV                                   
057765,000693: 11,3520           23650                                    WMATEND                               
057766,000694: 11,3521           12401                           STORE    W,2                                   
057767,000695: 
057768,000696: 11,3522           77624                           CALL                                           
057769,000697: 11,3523           22327                                    GRP2PC                                

Page 1348

057771,000699: 11,3524           66354                           LXA,2    SSP                                   
057772,000700: 11,3525           00770                                    COLREG                                
057773,000701: 11,3526           00052                                    S2                                    
057774,000702: 11,3527           00000                                    0                                     
057775,000703: 11,3530           67114                           INCR,2   SXA,2                                 
057776,000704: 11,3531           00006                                    6                                     
057777,000705: 11,3532           00754                                    YV                                    
057778,000706: 11,3533           45104                           TIX,2    CALL                                  
057779,000707: 11,3534           23621                                    RELOADSV                              
057780,000708: 11,3535           22327                                    GRP2PC                                
057781,000709: 11,3536           67154                           LXA,2    SXA,2                                 
057782,000710: 11,3537           00754                                    YV                                    
057783,000711: 11,3540           00770                                    COLREG                                
057784,000712: 
057785,000713: 11,3541           77624        NEXTCOL            CALL                                           
057786,000714: 11,3542           22327                                    GRP2PC                                
057787,000715: 11,3543           76754                           LXA,2    VLOAD*                                
057788,000716: 11,3544           00770                                    COLREG                                
057789,000717: 11,3545           75376                                    W,2                                   
057790,000718: 11,3546           77722                           VSR3                                           #  ADJUST W-POSITION FOR INTEGRATION
057791,000719: 11,3547           00755                           STORE    YV                                    
057792,000720: 11,3550           76173                           VLOAD*   AXT,1                                 
057793,000721: 11,3551           75310                                    W          +54D,2                     
057794,000722: 11,3552           00000                                    0                                     
057795,000723: 11,3553           77722                           VSR3                                           #  ADJUST W-VELOCITY FOR INTEGRATION
057796,000724: 11,3554           34763                           STCALL   ZV                                    
057797,000725: 11,3555           23304                                    DIFEQ0                                
057798,000726: 
057799,000727: 11,3556           77200        ENDSTATE           BOV      VLOAD                                 
057800,000728: 11,3557           22726                                    GOBAQUE                               
057801,000729: 11,3560           00763                                    ZV                                    
057802,000730: 11,3561           25527                           STOVL    TNUV                                  
057803,000731: 11,3562           00755                                    YV                                    
057804,000732: 11,3563           01521                           STORE    TDELTAV                               
057805,000733: 11,3564           43014                           BON      BOFF                                  
057806,000734: 11,3565           04715                                    MIDAVFLG                              
057807,000735: 11,3566           27656                                    CKMID2                                #  CHECK FOR MID2 BEFORE GOING TO TIMEINC
057808,000736: 11,3567           01756                                    DIM0FLAG                              
057809,000737: 11,3570           27364                                    TESTLOOP                              
057810,000738: 11,3571           77776                           EXIT                                           
057811,000739: 11,3572           05402                           TC       PHASCHNG                              
057812,000740: 11,3573           04022                           OCT      04022                                 #  PHASE 1
057813,000741: 11,3574           05547                           TC       UPFLAG                                #  PHASE CHANGE HAS OCCURRED BETWEEN
057814,000742: 11,3575           00230                           ADRES    REINTFLG                              #  INTSTALL AND INTWAKE
057815,000743: 11,3576           06006                           TC       INTPRET                               
057816,000744: 11,3577           77731                           SSP                                            
057817,000745: 11,3600           00053                                    QPRET                                 
057818,000746: 11,3601           23606                                    AMOVED                                
057819,000747: 11,3602           52014                           BON      GOTO                                  
057820,000748: 11,3603           01714                                    VINTFLAG                              

Page 1349

057822,000750: 11,3604           26761                                    ATOPCSM                               
057823,000751: 11,3605           27034                                    ATOPLEM                               
057824,000752: 11,3606           66214        AMOVED             SET      SSP                                   
057825,000753: 11,3607           00061                                    JSWITCH                               
057826,000754: 11,3610           00771                                    COLREG                                
057827,000755: 11,3611           77741                           DEC      -30        B-14                       
057828,000756: 11,3612           66214                           BOFF     SSP                                   
057829,000757: 11,3613           01755                                    D6OR9FLG                              
057830,000758: 11,3614           23541                                    NEXTCOL                               
057831,000759: 11,3615           00771                                    COLREG                                
057832,000760: 11,3616           77717                           DEC      -48        B-14                       
057833,000761: 11,3617           77650                           GOTO                                           
057834,000762: 11,3620           23541                                    NEXTCOL                               
057835,000763: 
057836,000764: 
057837,000765: 11,3621           77745        RELOADSV           DLOAD                                          #  RELOAD TEMPORARY STATE VECTOR
057838,000766: 11,3622           00745                                    TDEC                                  #  FROM PERMANENT IN CASE OF
057839,000767: 11,3623           34041                           STCALL   TDEC1                                 
057840,000768: 11,3624           27243                                    INTEGRV2                              #  BY STARTING AT INTEGRV2.
057841,000769: 11,3625           43345        DIFEQCOM           DLOAD    DAD                                   #  INCREMENT H AND DIFEQCNT.
057842,000770: 11,3626           02305                                    DT/2                                  
057843,000771: 11,3627           02212                                    H                                     
057844,000772: 11,3630           66110                           INCR,1   SXA,1                                 
057845,000773: 11,3631           77763                           DEC      -12        B-14                       
057846,000774: 11,3632           01500                                    DIFEQCNT                              #  DIFEQCNT SET FOR NEXT ENTRY.
057847,000775: 11,3633           02212                           STORE    H                                     
057848,000776: 11,3634           74561                           VXSC     VSR1                                  
057849,000777: 11,3635           02202                                    FV                                    
057850,000778: 11,3636           74255                           VAD      VXSC                                  
057851,000779: 11,3637           00763                                    ZV                                    
057852,000780: 11,3640           02212                                    H                                     
057853,000781: 11,3641           77655                           VAD                                            
057854,000782: 11,3642           00755                                    YV                                    
057855,000783: 11,3643           02152                           STORE    ALPHAV                                
057856,000784: 11,3644           52014                           BON      GOTO                                  
057857,000785: 11,3645           00301                                    JSWITCH                               
057858,000786: 11,3646           23664                                    DOW..                                 
057859,000787: 11,3647           22436                                    FBR3                                  
057860,000788: 
057861,000789: 11,3650           43014        WMATEND            CLEAR    CLEAR                                 
057862,000790: 11,3651           01676                                    DIM0FLAG                              #  DONT INTEGRATE W THIS TIME
057863,000791: 11,3652           01671                                    ORBWFLAG                              #  INVALIDATE W
057864,000792: 11,3653           77614                           CLEAR                                          
057865,000793: 11,3654           02676                                    RENDWFLG                              
057866,000794: 11,3655           77414                           SET      EXIT                                  
057867,000795: 11,3656           01472                                    STATEFLG                              #  PICK UP STATE VECTOR UPDATE
057868,000796: 11,3657           05671                           TC       ALARM                                 
057869,000797: 11,3660           00421                           OCT      421                                   
057870,000798: 11,3661           06006                           TC       INTPRET                               

Page 1350

057872,000800: 11,3662           77650                           GOTO                                           
057873,000801: 11,3663           27364                                    TESTLOOP                              #  FINISH INTEGRATING STATE VECTOR
057874,000802: 

Page 1351

057876,000804: 
057877,000805:                                                                                                  #  ORBITAL ROUTINE FOR EXTRAPOLATION OF THE W MATRIX. IT COMPUTES THE SECOND DERIVATIVE OF EACH COLUMN POSITION
057878,000806:                                                                                                  #  VECTOR OF THE MATRIX AND CALLS THE NYSTROM INTEGRATION ROUTINES TO SOLVE THE DIFFERENTIAL EQUATIONS. THE PROGRAM
057879,000807:                                                                                                  #  USES A TABLE OF VEHICLE POSITION VECTORS COMPUTED DURING THE INTEGRATION OF THE VEHICLES POSITION AND VELOCITY.
057880,000808: 
057881,000809: 11,3664           70754        DOW..              LXA,2    DLOAD*                                
057882,000810: 11,3665           02150                                    PBODY                                 
057883,000811: 11,3666           50037                                    MUEARTH,2                             
057884,000812: 11,3667           36210                           STCALL   BETAM                                 
057885,000813: 11,3670           23712                                    DOW..1                                
057886,000814: 11,3671           02202                           STORE    FV                                    
057887,000815: 11,3672           62014                           BOF      INCR,1                                
057888,000816: 11,3673           00342                                    MIDFLAG                               
057889,000817: 11,3674           23212                                    NBRANCH                               
057890,000818: 11,3675           77771                           DEC      -6         B-14                       
057891,000819: 11,3676           70744                           LXC,2    DLOAD*                                
057892,000820: 11,3677           02150                                    PBODY                                 
057893,000821: 11,3700           50041                                    MUEARTH    -2,2                       
057894,000822: 11,3701           36210                           STCALL   BETAM                                 
057895,000823: 11,3702           23712                                    DOW..1                                
057896,000824: 11,3703           50414                           BON      VSR6                                  
057897,000825: 11,3704           00303                                    MOONFLAG                              
057898,000826: 11,3705           23706                                    +1                                    
057899,000827: 11,3706           77655                           VAD                                            
057900,000828: 11,3707           02202                                    FV                                    
057901,000829: 11,3710           36202                           STCALL   FV                                    
057902,000830: 11,3711           23212                                    NBRANCH                               
057903,000831: 11,3712           60575        DOW..1             VLOAD    VSR4                                  
057904,000832: 11,3713           02152                                    ALPHAV                                
057905,000833: 11,3714           53513                           PDVL*    UNIT                                  
057906,000834: 11,3715           02216                                    VECTAB,1                              
057907,000835: 11,3716           46315                           PDVL     VPROJ                                 
057908,000836: 11,3717           02152                                    ALPHAV                                
057909,000837: 11,3720           52361                           VXSC     VSU                                   
057910,000838: 11,3721           23761                                    3/4                                   
057911,000839: 11,3722           60325                           PDDL     NORM                                  
057912,000840: 11,3723           00045                                    36D                                   
057913,000841: 11,3724           00052                                    S2                                    
057914,000842: 11,3725           63406                           PUSH     DSQ                                   
057915,000843: 11,3726           77605                           DMP                                            
057916,000844: 11,3727           65301                           NORM     PDDL                                  
057917,000845: 11,3730           00043                                    34D                                   
057918,000846: 11,3731           02210                                    BETAM                                 
057919,000847: 11,3732           56342                           SR1      DDV                                   
057920,000848: 11,3733           77761                           VXSC                                           
057921,000849: 11,3734           57154                           LXA,2    XAD,2                                 
057922,000850: 11,3735           00051                                    S2                                    
057923,000851: 11,3736           00051                                    S2                                    
057924,000852: 11,3737           57074                           XAD,2    XAD,2                                 
057925,000853: 11,3740           00051                                    S2                                    
057926,000854: 11,3741           00042                                    34D                                   
057927,000855: 11,3742           43457                           VSL*     RVQ                                   

Page 1352

057929,000857: 11,3743           57606                                    0          -8D,2                      
057930,000858: 
057931,000859: 11,2000                                           SETLOC   ORBITAL1                              
057932,000860: 11,2000                                           BANK                                           
057933,000861: 
057934,000862: 11,3744                                           COUNT*   $$/ORBIT                              
057935,000863: 11,3744           04631 23146  3/5                2DEC     .6         B-2                        
057936,000864: 
057937,000865: 11,3746           14000 00000  THREE/8            2DEC     .375                                  
057938,000866: 
057939,000867: 11,3750           02314 31463  .3D                2DEC     .3         B-2                        
057940,000868: 
057941,000869: 11,3752           01400 00000  3/64               2DEC     3          B-6                        
057942,000870: 
057943,000871: 11,3754  15,3411               DP1/4              =        D1/4                                  #  1 B-2
057944,000872: 11,3754  15,3411               DQUARTER           EQUALS   DP1/4                                 
057945,000873: 11,3754           03000 00000  3/32               2DEC     3          B-5                        
057946,000874: 
057947,000875: 11,3756           36000 00000  15/16              2DEC     15.        B-4                        
057948,000876: 
057949,000877: 11,3760           30000 00000  3/4                2DEC     3.0        B-2                        
057950,000878: 
057951,000879: 11,3762           22525 12525  7/12               2DEC     .5833333333                            
057952,000880: 
057953,000881: 11,3764           22000 00000  9/16               2DEC     9          B-4                        
057954,000882: 
057955,000883: 11,3766           01200 00000  5/128              2DEC     5          B-7                        
057956,000884: 
057957,000885: 11,3770  04,3761               DPZERO             EQUALS   ZEROVEC                               
057958,000886: 11,3770           25252 25253  DP2/3              2DEC     .6666666667                            
057959,000887: 
057960,000888: 11,3772  11,3770               2/3                EQUALS   DP2/3                                 
057961,000889:                                                                                                  #  LM504 IS TEMPORARY
057962,000890: 13,2000                                           SETLOC   ORBITAL2                              
057963,000891: 13,2000                                           BANK                                           
057964,000892: 13,3717                                           COUNT*   $$/ORBIT                              
057965,000893:                                                                                                  #  IT IS VITAL THAT THE FOLLOWING CONSTANTS NOT BE SHUFFLED
057966,000894: 13,3717           77764                           DEC      -11        B-14                       
057967,000895: 13,3720           77775                           DEC      -2         B-14                       
057968,000896: 13,3721           77766                           DEC      -9         B-14                       
057969,000897: 13,3722           77771                           DEC      -6         B-14                       
057970,000898: 13,3723           77775                           DEC      -2         B-14                       
057971,000899: 13,3724           77775                           DEC      -2         B-14                       
057972,000900: 13,3725           00000                           DEC      0          B-14                       
057973,000901: 13,3726           77763                           DEC      -12        B-14                       
057974,000902: 13,3727           77766                           DEC      -9         B-14                       
057975,000903: 13,3730           77773                           DEC      -4         B-14                       
057976,000904: 13,3731           77770        ASCALE             DEC      -7         B-14                       
057977,000905: 13,3732           77771                           DEC      -6         B-14                       
057978,000906: 13,3733           27446 14620                     2DEC*    1.32715445 E16        B-54*           #  S
057979,000907: 

Page 1353

057981,000909: 13,3735           16471 01352                     2DEC*    4.9027780  E8         B-30*           #  M
057982,000910: 
057983,000911: 13,3737           22437 16067  MUEARTH            2DEC*    3.986032   E10        B-36*           
057984,000912: 
057985,000913: 13,3741           00000 00000                     2DEC     0          B-28                       
057986,000914: 
057987,000915: 13,3743           02302 24736  J4REQ/J3           2DEC*    .4991607391 E7         B-26*           
057988,000916: 
057989,000917: 13,3745           77651 76237                     2DEC     -176236.02 B-25                       
057990,000918: 
057991,000919: 13,3747           77776 53032  2J3RE/J2           2DEC*    -.1355426363 E5         B-27*           
057992,000920: 
057993,000921: 13,3751           10407 05344                     2DEC*    .3067493316 E18        B-60*           
057994,000922: 
057995,000923: 13,3753           13710 35320  J2REQSQ            2DEC*    1.75501139 E21        B-72*           
057996,000924: 
057997,000925: 13,3755           24000 00000  5/8                2DEC     5          B-3                        
057998,000926: 
057999,000927: 13,3757           74631 63145  -1/12              2DEC     -.1                                   
058000,000928: 
058001,000929: 13,3761  13,3735               MUM                =        MUEARTH    -2                         
058002,000930: 13,3761           00243 32703  RECRATIO           2DEC     .01                                   
058003,000931: 
058004,000932: 13,3763           03654 21000  RSPHERE            2DEC     64373.76   E3         B-29            
058005,000933: 
058006,000934: 13,3765           03654 21000  RDM                2DEC     16093.44   E3         B-27            
058007,000935: 
058008,000936: 13,3767           04627 25200  RDE                2DEC     80467.20   E3         B-29            
058009,000937: 
058010,000938: 13,3771                        RATT               EQUALS   00                                    
058011,000939: 13,3771                        VATT               EQUALS   6D                                    
058012,000940: 13,3771                        TAT                EQUALS   12D                                   
058013,000941: 13,3771                        RATT1              EQUALS   14D                                   
058014,000942: 13,3771                        VATT1              EQUALS   20D                                   
058015,000943: 13,3771                        MU(P)              EQUALS   26D                                   
058016,000944: 13,3771                        TDEC1              EQUALS   32D                                   
058017,000945: 13,3771                        URPV               EQUALS   14D                                   
058018,000946: 13,3771     0022               COSPHI/2           EQUALS   URPV       +4                         
058019,000947: 13,3771                        UZ                 EQUALS   20D                                   
058020,000948: 13,3771                        TVEC               EQUALS   26D                                   

End of include-file ORBITAL_INTEGRATION.agc.  Parent file is MAIN.agc