Source Code

These source-code files were from the printout at the MIT Museum, with many thanks to Deborah Douglas, the Museum's Curator of Science and Technology, for releasing it to us. The printout was digitally photographed by Paul Fjeld. A team of volunteers transcribed the source code manually from these images or, where appropriate, modified already-transcribed but similar source Luminary 131 (Apollo 13) source code to agree with the images from the printout. Note that the page images presented online are of reduced quality, and that higher-quality images are available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	GAP:  ASSEMBLE REVISION 001 OF AGC PROGRAM LMY99 BY NASA 2021112-061
	16:27 JULY 14,1969
Note that the date is the date of the printout, not the date of the program revision.

052534,000002:                                                                                                  ## Copyright:   Public domain.
052535,000003:                                                                                                  ## Filename:    ORBITAL_INTEGRATION.agc
052536,000004:                                                                                                  ## Purpose:     Part of the source code for Luminary 1A build 099.
052537,000005:                                                                                                  ##              It is part of the source code for the Lunar Module's (LM)
052538,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for Apollo 11.
052539,000007:                                                                                                  ## Assembler:   yaYUL
052540,000008:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
052541,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo.
052542,000010:                                                                                                  ## Pages:       1227-1248
052543,000011:                                                                                                  ## Mod history: 2009-05-26 RSB  Adapted from the corresponding 
052544,000012:                                                                                                  ##                              Luminary131 file, using page 
052545,000013:                                                                                                  ##                              images from Luminary 1A.
052546,000014:                                                                                                  ##              2009-06-05 RSB  Fixed 3 typos.
052547,000015:                                                                                                  ##              2009-06-06 RSB  Page 1248 was missing entirely for some reason.
052548,000016:                                                                                                  ##              2009-06-07 RSB  Corrected a typo.
052549,000017:                                                                                                  ##              2016-12-17 RSB  Proofed text comments with octopus/ProoferComments
052550,000018:                                                                                                  ##                              and corrected the errors found.
052551,000019:                                                                                                  ##              2017-03-17 RSB  Comment-text fixes identified in diff'ing
052552,000020:                                                                                                  ##                              Luminary 99 vs Comanche 55.
052553,000021:                                                                                                  ##              2017-08-17 RSB  Comment-text fixes identified from AP11ROPE scans.
052554,000022: 
052555,000023:                                                                                                  ## This source code has been transcribed or otherwise adapted from
052556,000024:                                                                                                  ## digitized images of a hardcopy from the MIT Museum.  The digitization
052557,000025:                                                                                                  ## was performed by Paul Fjeld, and arranged for by Deborah Douglas of
052558,000026:                                                                                                  ## the Museum.  Many thanks to both.  The images (with suitable reduction
052559,000027:                                                                                                  ## in storage size and consequent reduction in image quality as well) are
052560,000028:                                                                                                  ## available online at www.ibiblio.org/apollo.  If for some reason you
052561,000029:                                                                                                  ## find that the images are illegible, contact me at info@sandroid.org
052562,000030:                                                                                                  ## about getting access to the (much) higher-quality images which Paul
052563,000031:                                                                                                  ## actually created.
052564,000032:                                                                                                  ##
052565,000033:                                                                                                  ## Notations on the hardcopy document read, in part:
052566,000034:                                                                                                  ##
052567,000035:                                                                                                  ##      Assemble revision 001 of AGC program LMY99 by NASA 2021112-61
052568,000036:                                                                                                  ##      16:27 JULY 14, 1969 
052569,000037: 

Page 1227

052571,000039:                                                                                                  #  DELETE
052572,000040: 13,3675                                           BANK     13                                    
052573,000041: 11,2000                                           SETLOC   ORBITAL                               
052574,000042: 11,2000                                           BANK                                           
052575,000043: 11,2376                                           COUNT*   $$/ORBIT                              
052576,000044: 
052577,000045:                                                                                                  #  DELETE
052578,000046: 11,2376           40354        KEPPREP            LXA,2    SETPD                                 
052579,000047: 11,2377           02030                                    PBODY                                 
052580,000048: 11,2400           00001                                    0                                     
052581,000049: 11,2401           75543                           DLOAD*   SQRT                                  #  SQRT(MU) (+18 OR +15)         0D      PL 2D
052582,000050: 11,2402           51770                                    MUEARTH,2                             
052583,000051: 11,2403           53515                           PDVL     UNIT                                  #                                        PL 8D
052584,000052: 11,2404           01535                                    RCV                                   
052585,000053: 11,2405           60325                           PDDL     NORM                                  #  NORM R (+29 OR +27 - N1)      2D      PL 4D
052586,000054: 11,2406           00045                                    36D                                   
052587,000055: 11,2407           00047                                    X1                                    
052588,000056: 11,2410           77715                           PDVL                                           
052589,000057: 11,2411           65241                           DOT      PDDL                                  #  F*SQRT(MU) (+7 OR +5)         4D      PL 6D
052590,000058: 11,2412           01543                                    VCV                                   
052591,000059: 11,2413           02074                                    TAU.                                  #  (+28)
052592,000060: 11,2414           60225                           DSU      NORM                                  
052593,000061: 11,2415           01551                                    TC                                    
052594,000062: 11,2416           00051                                    S1                                    
052595,000063: 11,2417           77742                           SR1                                            
052596,000064: 11,2420           65271                           DDV      PDDL                                  
052597,000065: 11,2421           00003                                    2D                                    
052598,000066: 11,2422           41405                           DMP      PUSH                                  #  FS (+6 +N1-N2)                6D      PL 8D
052599,000067: 11,2423           00005                                    4D                                    
052600,000068: 11,2424           65316                           DSQ      PDDL                                  #  (FS)SQ (+12 +2(N1-N2))        8D      PL 10D
052601,000069: 11,2425           00005                                    4D                                    
052602,000070: 11,2426           64716                           DSQ      PDDL*                                 #  SSQ/MU (-2 OR +2(N1-N2))      10D     PL 12D
052603,000071: 11,2427           51770                                    MUEARTH,2                             
052604,000072: 11,2430           40442                           SR3      SR4                                   
052605,000073: 11,2431           47515                           PDVL     VSQ                                   #  PREALIGN MU (+43 OR +37)      12D     PL 14D
052606,000074: 11,2432           01543                                    VCV                                   
052607,000075: 11,2433           44205                           DMP      BDSU                                  #                                        PL 12D
052608,000076: 11,2434           00045                                    36D                                   
052609,000077: 11,2435           41271                           DDV      DMP                                   #                                        PL 10D
052610,000078: 11,2436           00003                                    2D                                    #  -(1/R-ALPHA) (+12 +3N1-2N2)
052611,000079: 11,2437           53605                           DMP      SL*                                   
052612,000080: 11,2440           25774                                    DP2/3                                 
052613,000081: 11,2441           20176                                    0          -3,1                       #  10L(1/R-ALPHA) (+13 +2(N1-N2))
052614,000082: 11,2442           43260                           XSU,1    DAD                                   #  2(FS)SQ - ETCETRA                     PL 8D
052615,000083: 11,2443           00050                                    S1                                    #  X1 = N2-N1
052616,000084: 11,2444           45257                           SL*      DSU                                   #  -FS+2(FS)SQ ETC (+6 +N1-N2)           PL 6D
052617,000085: 11,2445           20211                                    8D,1                                  
052618,000086: 11,2446           41205                           DMP      DMP                                   
052619,000087: 11,2447           00001                                    0D                                    
052620,000088: 11,2450           00005                                    4D                                    
052621,000089: 11,2451           53657                           SL*      SL*                                   

Page 1228

052623,000091: 11,2452           20211                                    8D,1                                  
052624,000092: 11,2453           20201                                    0,1                                   #  S(-FS(1-2FS)-1/6...) (+17 OR +16)
052625,000093: 11,2454           65215                           DAD      PDDL                                  #                                        PL 6D
052626,000094: 11,2455           01553                                    XKEP                                  
052627,000095: 11,2456           53605                           DMP      SL*                                   #  S(+17 OR +16)
052628,000096: 11,2457           00001                                    0D                                    
052629,000097: 11,2460           20202                                    1,1                                   
052630,000098: 11,2461           43204                           BOVB     DAD                                   
052631,000099: 11,2462           57753                                    TCDANZIG                              
052632,000100: 11,2463           77626                           STADR                                          
052633,000101: 11,2464           75647                           STORE    XKEPNEW                               
052634,000102: 11,2465           74020                           STQ      AXC,1                                 
052635,000103: 11,2466           02112                                    KEPRTN                                
052636,000104: 11,2467           00012                           DEC      10         B-14                       
052637,000105: 11,2470           74014                           BON      AXC,1                                 
052638,000106: 11,2471           00303                                    MOONFLAG                              
052639,000107: 11,2472           24023                                    KEPLERN                               
052640,000108: 11,2473           00002                           DEC      2          B-14                       
052641,000109: 11,2474           77650                           GOTO                                           
052642,000110: 11,2475           24023                                    KEPLERN                               
052643,000111: 

Page 1229

052645,000113: 11,2476           66350        FBR3               LXA,1    SSP                                   
052646,000114: 11,2477           01500                                    DIFEQCNT                              
052647,000115: 11,2500           00051                                    S1                                    
052648,000116: 11,2501           77762                           DEC      -13        B-14                       
052649,000117: 11,2502           54345                           DLOAD    SR                                    
052650,000118: 11,2503           02076                                    DT/2                                  
052651,000119: 11,2504           20612                                    9D                                    
052652,000120: 11,2505           61500                           TIX,1    ROUND                                 
052653,000121: 11,2506           22507                                    +1                                    
052654,000122: 11,2507           43206                           PUSH     DAD                                   
052655,000123: 11,2510           01551                                    TC                                    
052656,000124: 11,2511           16074                           STODL    TAU.                                  
052657,000125: 11,2512           77615                           DAD                                            
052658,000126: 11,2513           01517                                    TET                                   
052659,000127: 11,2514           35517                           STCALL   TET                                   
052660,000128: 11,2515           22376                                    KEPPREP                               
052661,000129: 

Page 1230

052663,000131:                                                                                                  #  AGC ROUTINE TO COMPUTE ACCELERATION COMPONENTS.
052664,000132: 
052665,000133: 11,2516           73150        ACCOMP             LXA,1    LXA,2                                 
052666,000134: 11,2517           02030                                    PBODY                                 
052667,000135: 11,2520           02030                                    PBODY                                 
052668,000136: 11,2521           77775                           VLOAD                                          
052669,000137: 11,2522           24007                                    ZEROVEC                               
052670,000138: 11,2523           26062                           STOVL    FV                                    
052671,000139: 11,2524           02032                                    ALPHAV                                
052672,000140: 11,2525           53257                           VSL*     VAD                                   
052673,000141: 11,2526           57605                                    0          -7,2                       
052674,000142: 11,2527           01535                                    RCV                                   
052675,000143: 11,2530           02040                           STORE    BETAV                                 
052676,000144: 11,2531           65014                           BOF      XCHX,2                                
052677,000145: 11,2532           01756                                    DIM0FLAG                              
052678,000146: 11,2533           22540                                    +5                                    
052679,000147: 11,2534           01500                                    DIFEQCNT                              
052680,000148: 11,2535           12132                           STORE    VECTAB,2                              
052681,000149: 11,2536           77724                           XCHX,2                                         
052682,000150: 11,2537           01500                                    DIFEQCNT                              
052683,000151: 11,2540           53575                           VLOAD    UNIT                                  
052684,000152: 11,2541           02032                                    ALPHAV                                
052685,000153: 11,2542           16032                           STODL    ALPHAV                                
052686,000154: 11,2543           00045                                    36D                                   
052687,000155: 11,2544           02070                           STORE    ALPHAM                                
052688,000156: 11,2545           77624                           CALL                                           
052689,000157: 11,2546           22650                                    GAMCOMP                               
052690,000158: 11,2547           66175                           VLOAD    SXA,1                                 
052691,000159: 11,2550           02040                                    BETAV                                 
052692,000160: 11,2551           00051                                    S2                                    
052693,000161: 11,2552           16032                           STODL    ALPHAV                                
052694,000162: 11,2553           02072                                    BETAM                                 
052695,000163: 11,2554           02070                           STORE    ALPHAM                                
052696,000164: 11,2555           71214                           BOF      DLOAD                                 
052697,000165: 11,2556           00342                                    MIDFLAG                               
052698,000166: 11,2557           23022                                    OBLATE                                
052699,000167: 11,2560           01517                                    TET                                   
052700,000168: 11,2561           77624                           CALL                                           
052701,000169: 11,2562           33664                                    LSPOS                                 
052702,000170: 11,2563           72174                           AXT,2    LXA,1                                 
052703,000171: 11,2564           00002                                    2                                     
052704,000172: 11,2565           00051                                    S2                                    
052705,000173: 11,2566           77614                           BOF                                            
052706,000174: 11,2567           00343                                    MOONFLAG                              
052707,000175: 11,2570           22573                                    +3                                    
052708,000176: 11,2571           77076                           VCOMP    AXT,2                                 
052709,000177: 11,2572           00000                                    0                                     
052710,000178: 11,2573           02040                           STORE    BETAV                                 
052711,000179: 11,2574           26105                           STOVL    RPQV                                  

Page 1231

052713,000181: 11,2575           00003                                    2D                                    
052714,000182: 11,2576           02122                           STORE    RPSV                                  
052715,000183: 11,2577           45335                           SLOAD    DSU                                   
052716,000184: 11,2600           01012                                    MODREG                                
052717,000185: 11,2601           25776                                    OCT27                                 
052718,000186: 11,2602           43030                           BHIZ     BOF                                   
052719,000187: 11,2603           22606                                    +3                                    
052720,000188: 11,2604           01756                                    DIM0FLAG                              
052721,000189: 11,2605           22622                                    GETRPSV                               
052722,000190: 11,2606           74375                           VLOAD    VXSC                                  
052723,000191: 11,2607           02032                                    ALPHAV                                
052724,000192: 11,2610           02070                                    ALPHAM                                
052725,000193: 11,2611           52257                           VSR*     VSU                                   
052726,000194: 11,2612           57175                                    1,2                                   
052727,000195: 11,2613           02040                                    BETAV                                 
052728,000196: 11,2614           77724                           XCHX,2                                         
052729,000197: 11,2615           01500                                    DIFEQCNT                              
052730,000198: 11,2616           12140                           STORE    VECTAB     +6,2                       
052731,000199: 11,2617           02114                           STORE    RQVV                                  
052732,000200: 11,2620           77724                           XCHX,2                                         
052733,000201: 11,2621           01500                                    DIFEQCNT                              
052734,000202: 11,2622           62175        GETRPSV            VLOAD    INCR,1                                
052735,000203: 11,2623           02105                                    RPQV                                  
052736,000204: 11,2624           00004                                    4                                     
052737,000205: 11,2625           43014                           CLEAR    BOF                                   
052738,000206: 11,2626           04260                                    RPQFLAG                               
052739,000207: 11,2627           00343                                    MOONFLAG                              
052740,000208: 11,2630           22635                                    +5                                    
052741,000209: 11,2631           53261                           VSR      VAD                                   
052742,000210: 11,2632           20612                                    9D                                    
052743,000211: 11,2633           02122                                    RPSV                                  
052744,000212: 11,2634           02122                           STORE    RPSV                                  
052745,000213: 11,2635           77624                           CALL                                           
052746,000214: 11,2636           22650                                    GAMCOMP                               
052747,000215: 11,2637           62174                           AXT,2    INCR,1                                
052748,000216: 11,2640           00004                                    4                                     
052749,000217: 11,2641           00004                                    4                                     
052750,000218: 11,2642           77775                           VLOAD                                          
052751,000219: 11,2643           02122                                    RPSV                                  
052752,000220: 11,2644           36040                           STCALL   BETAV                                 
052753,000221: 11,2645           22650                                    GAMCOMP                               
052754,000222: 11,2646           77650                           GOTO                                           
052755,000223: 11,2647           23022                                    OBLATE                                
052756,000224: 11,2650           74575        GAMCOMP            VLOAD    VSR1                                  
052757,000225: 11,2651           02040                                    BETAV                                 
052758,000226: 11,2652           40236                           VSQ      SETPD                                 
052759,000227: 11,2653           00001                                    0                                     
052760,000228: 11,2654           61501                           NORM     ROUND                                 
052761,000229: 11,2655           00040                                    31D                                   
052762,000230: 11,2656           60325                           PDDL     NORM                                  #  NORMED B SQUARED TO PD LIST

Page 1232

052764,000232: 11,2657           02070                                    ALPHAM                                #  NORMALIZE (LESS ONE) LENGTH OF ALPHA
052765,000233: 11,2660           00041                                    32D                                   #  SAVING NORM SCALE FACTOR IN X1
052766,000234: 11,2661           63342                           SR1      PDVL                                  
052767,000235: 11,2662           02040                                    BETAV                                 #  C(PDL+2) = ALMOST NORMED ALPHA
052768,000236: 11,2663           77656                           UNIT                                           
052769,000237: 11,2664           16040                           STODL    BETAV                                 
052770,000238: 11,2665           00045                                    36D                                   
052771,000239: 11,2666           02072                           STORE    BETAM                                 
052772,000240: 11,2667           55301                           NORM     BDDV                                  #  FORM NORMALIZED QUOTIENT ALPHAM/BETAM
052773,000241: 11,2670           00042                                    33D                                   
052774,000242: 11,2671           41562                           SR1R     PUSH                                  #  C(PDL+2) = ALMOST NORMALIZED RHO.
052775,000243: 11,2672           77743                           DLOAD*                                         
052776,000244: 11,2673           27710                                    ASCALE,1                              
052777,000245: 11,2674           00051                           STORE    S1                                    
052778,000246: 11,2675           57124                           XCHX,2   XAD,2                                 
052779,000247: 11,2676           00050                                    S1                                    
052780,000248: 11,2677           00040                                    32D                                   
052781,000249: 11,2700           71264                           XSU,2    DLOAD                                 
052782,000250: 11,2701           00041                                    33D                                   
052783,000251: 11,2702           00003                                    2D                                    
052784,000252: 11,2703           65057                           SR*      XCHX,2                                
052785,000253: 11,2704           57177                                    0          -1,2                       
052786,000254: 11,2705           00050                                    S1                                    
052787,000255: 11,2706           74406                           PUSH     SR1R                                  #  RHO/4 TO 4D
052788,000256: 11,2707           50315                           PDVL     DOT                                   
052789,000257: 11,2710           02032                                    ALPHAV                                
052790,000258: 11,2711           02040                                    BETAV                                 
052791,000259: 11,2712           44372                           SL1R     BDSU                                  #  (RHO/4) - 2(ALPHAV/2.BETAV/2)
052792,000260: 11,2713           57206                           PUSH     DMPR                                  #  TO PDL+6
052793,000261: 11,2714           00005                                    4                                     
052794,000262: 11,2715           77752                           SL1                                            
052795,000263: 11,2716           43206                           PUSH     DAD                                   
052796,000264: 11,2717           25756                                    DQUARTER                              
052797,000265: 11,2720           75406                           PUSH     SQRT                                  
052798,000266: 11,2721           41475                           DMPR     PUSH                                  
052799,000267: 11,2722           00013                                    10D                                   
052800,000268: 11,2723           43352                           SL1      DAD                                   
052801,000269: 11,2724           25756                                    DQUARTER                              
052802,000270: 11,2725           43325                           PDDL     DAD                                   #  (1/4)+2((Q+1)/4)      TO PD+14D
052803,000271: 11,2726           00013                                    10D                                   
052804,000272: 11,2727           24005                                    HALFDP                                
052805,000273: 11,2730           72475                           DMPR     SL1                                   
052806,000274: 11,2731           00011                                    8D                                    
052807,000275: 11,2732           56215                           DAD      DDV                                   
052808,000276: 11,2733           25750                                    THREE/8                               
052809,000277: 11,2734           00017                                    14D                                   
052810,000278: 11,2735           74275                           DMPR     VXSC                                  
052811,000279: 11,2736           00007                                    6                                     
052812,000280: 11,2737           02040                                    BETAV                                 #                -
052813,000281: 11,2740           64515                           PDVL     VSR3                                  #  (G/2)(C(PD+4))B/2 TO PD+16D

Page 1233

052815,000283: 11,2741           02032                                    ALPHAV                                
052816,000284: 11,2742           41455                           VAD      PUSH                                  #  A12 + C(PD+16D) TO PD+16D
052817,000285: 11,2743           41345                           DLOAD    DMP                                   
052818,000286: 11,2744           00001                                    0                                     
052819,000287: 11,2745           00015                                    12D                                   
052820,000288: 11,2746           61501                           NORM     ROUND                                 
052821,000289: 11,2747           00037                                    30D                                   
052822,000290: 11,2750           40665                           BDDV     DMP*                                  
052823,000291: 11,2751           00003                                    2                                     
052824,000292: 11,2752           51770                                    MUEARTH,2                             
052825,000293: 11,2753           74276                           DCOMP    VXSC                                  
052826,000294: 11,2754           57124                           XCHX,2   XAD,2                                 
052827,000295: 11,2755           00050                                    S1                                    
052828,000296: 11,2756           00051                                    S2                                    
052829,000297: 11,2757           55064                           XSU,2    XSU,2                                 
052830,000298: 11,2760           00036                                    30D                                   
052831,000299: 11,2761           00037                                    31D                                   
052832,000300: 11,2762           77600                           BOV                                            #  CLEAR OVIND
052833,000301: 11,2763           22764                                    +1                                    
052834,000302: 11,2764           65057                           VSR*     XCHX,2                                
052835,000303: 11,2765           57177                                    0          -1,2                       
052836,000304: 11,2766           00050                                    S1                                    
052837,000305: 11,2767           77655                           VAD                                            
052838,000306: 11,2770           02062                                    FV                                    
052839,000307: 11,2771           02062                           STORE    FV                                    
052840,000308: 11,2772           43400                           BOV      RVQ                                   #  RETURN IF NO OVERFLOW
052841,000309: 11,2773           22774                                    +1                                    
052842,000310: 11,2774           51575        GOBAQUE            VLOAD    ABVAL                                 
052843,000311: 11,2775           01521                                    TDELTAV                               
052844,000312: 11,2776           77654                           BZE                                            
052845,000313: 11,2777           23017                                    INT-ABRT                              
052846,000314: 11,3000           54345                           DLOAD    SR                                    
052847,000315: 11,3001           02100                                    H                                     
052848,000316: 11,3002           20612                                    9D                                    
052849,000317: 11,3003           44206                           PUSH     BDSU                                  
052850,000318: 11,3004           01551                                    TC                                    
052851,000319: 11,3005           16074                           STODL    TAU.                                  
052852,000320: 11,3006           01517                                    TET                                   
052853,000321: 11,3007           45425                           DSU      STADR                                 
052854,000322: 11,3010           42260                           STCALL   TET                                   
052855,000323: 11,3011           22376                                    KEPPREP                               
052856,000324: 11,3012           77624                           CALL                                           
052857,000325: 11,3013           23441                                    RECTIFY                               
052858,000326: 11,3014           77614                           SETGO                                          
052859,000327: 11,3015           04020                                    RPQFLAG                               
052860,000328: 11,3016           27257                                    TESTLOOP                              
052861,000329: 
052862,000330: 11,3017           77776        INT-ABRT           EXIT                                           
052863,000331: 11,3020           05652                           TC       POODOO                                
052864,000332: 11,3021           00430                           OCT      00430                                 
052865,000333: 

Page 1234

052867,000335:                                                                                                  #  THE OBLATE ROUTINE COMPUTES THE ACCELERATION DUE TO OBLATENESS.  IT USES THE UNIT OF THE VEHICLE
052868,000336:                                                                                                  #  POSITION VECTOR FOUND IN ALPHAV AND THE DISTANCE TO THE CENTER IN ALPHAM.  THIS IS ADDED TO THE SUM OF THE
052869,000337:                                                                                                  #  DISTURBING ACCELERATIONS IN FV AND THE PROPER DIFEQ STAGE IS CALLED VIA X1.
052870,000338: 
052871,000339: 11,3022           71354        OBLATE             LXA,2    DLOAD                                 
052872,000340: 11,3023           02030                                    PBODY                                 
052873,000341: 11,3024           02070                                    ALPHAM                                
052874,000342: 11,3025           44601                           SETPD    DSU*                                  
052875,000343: 11,3026           00001                                    0                                     
052876,000344: 11,3027           50053                                    RDE,2                                 
052877,000345: 11,3030           43044                           BPL      BOF                                   #  GET URPV
052878,000346: 11,3031           23232                                    NBRANCH                               
052879,000347: 11,3032           00343                                    MOONFLAG                              
052880,000348: 11,3033           23241                                    COSPHIE                               
052881,000349: 11,3034           65375                           VLOAD    PDDL                                  
052882,000350: 11,3035           02032                                    ALPHAV                                
052883,000351: 11,3036           01517                                    TET                                   
052884,000352: 11,3037           45125                           PDDL     CALL                                  
052885,000353: 11,3040           25746                                    3/5                                   
052886,000354: 11,3041           51670                                    R-TO-RP                               
052887,000355: 11,3042           00017                           STORE    URPV                                  
052888,000356: 11,3043           47375                           VLOAD    VXV                                   
052889,000357: 11,3044           02013                                    504LM                                 
052890,000358: 11,3045           24001                                    ZUNIT                                 
052891,000359: 11,3046           61255                           VAD      VXM                                   
052892,000360: 11,3047           24001                                    ZUNIT                                 
052893,000361: 11,3050           00025                                    MMATRIX                               
052894,000362: 11,3051           77656                           UNIT                                           #  POSSIBLY UNNECESSARY
052895,000363: 11,3052           00025        COMTERM            STORE    UZ                                    
052896,000364: 11,3053           57345                           DLOAD    DMPR                                  
052897,000365: 11,3054           00023                                    COSPHI/2                              
052898,000366: 11,3055           25760                                    3/32                                  
052899,000367: 11,3056           63525                           PDDL     DSQ                                   #  P2/64 TO PD0
052900,000368: 11,3057           00023                                    COSPHI/2                              
052901,000369: 11,3060           45275                           DMPR     DSU                                   
052902,000370: 11,3061           25762                                    15/16                                 
052903,000371: 11,3062           25754                                    3/64                                  
052904,000372: 11,3063           57206                           PUSH     DMPR                                  #  P3/32 TO PD2
052905,000373: 11,3064           00023                                    COSPHI/2                              
052906,000374: 11,3065           76405                           DMP      SL1R                                  
052907,000375: 11,3066           25766                                    7/12                                  
052908,000376: 11,3067           57325                           PDDL     DMPR                                  
052909,000377: 11,3070           00001                                    0                                     
052910,000378: 11,3071           25774                                    2/3                                   
052911,000379: 11,3072           41421                           BDSU     PUSH                                  #  P4/128 TO PD4
052912,000380: 11,3073           57275                           DMPR     DMPR                                  
052913,000381: 11,3074           00023                                    COSPHI/2                              #  BEGIN COMPUTING P5/1024
052914,000382: 11,3075           25770                                    9/16                                  
052915,000383: 11,3076           57325                           PDDL     DMPR                                  
052916,000384: 11,3077           00003                                    2                                     
052917,000385: 11,3100           25772                                    5/128                                 

Page 1235

052919,000387: 11,3101           77621                           BDSU                                           
052920,000388: 11,3102           77603                           DMP*                                           
052921,000389: 11,3103           51764                                    J4REQ/J3,2                            
052922,000390: 11,3104           43271                           DDV      DAD                                   #               -3
052923,000391: 11,3105           02070                                    ALPHAM                                #  (((P5/256)B 2  /R+P4/32)  /R+P3/8)ALPHAV
052924,000392: 11,3106           00005                                    4                                     #             4             3
052925,000393: 11,3107           56273                           DMPR*    DDV                                   
052926,000394: 11,3110           51760                                    2J3RE/J2,2                            
052927,000395: 11,3111           02070                                    ALPHAM                                
052928,000396: 11,3112           74215                           DAD      VXSC                                  
052929,000397: 11,3113           00003                                    2                                     
052930,000398: 11,3114           02032                                    ALPHAV                                
052931,000399: 11,3115           14033                           STODL    TVEC                                  
052932,000400: 11,3116           70403                           DMP*     SR1                                   
052933,000401: 11,3117           51764                                    J4REQ/J3,2                            
052934,000402: 11,3120           43271                           DDV      DAD                                   
052935,000403: 11,3121           02070                                    ALPHAM                                #                -3
052936,000404: 11,3122           50473                           DMPR*    SR3                                   
052937,000405: 11,3123           51760                                    2J3RE/J2,2                            #     3        4
052938,000406: 11,3124           43271                           DDV      DAD                                   
052939,000407: 11,3125           02070                                    ALPHAM                                
052940,000408: 11,3126           76561                           VXSC     VSL1                                  
052941,000409: 11,3127           00025                                    UZ                                    
052942,000410: 11,3130           77645                           BVSU                                           
052943,000411: 11,3131           00033                                    TVEC                                  
052944,000412: 11,3132           14033                           STODL    TVEC                                  
052945,000413: 11,3133           02070                                    ALPHAM                                
052946,000414: 11,3134           63501                           NORM     DSQ                                   
052947,000415: 11,3135           00047                                    X1                                    
052948,000416: 11,3136           60316                           DSQ      NORM                                  
052949,000417: 11,3137           00051                                    S1                                    #          4
052950,000418: 11,3140           54606                           PUSH     BDDV*                                 #  NORMED R  TO 0D
052951,000419: 11,3141           51754                                    J2REQSQ,2                             
052952,000420: 11,3142           40161                           VXSC     BOV                                   
052953,000421: 11,3143           00033                                    TVEC                                  
052954,000422: 11,3144           23145                                    +1                                    #  (RESET OVERFLOW INDICATOR)
052955,000423: 11,3145           56070                           XAD,1    XAD,1                                 
052956,000424: 11,3146           00046                                    X1                                    
052957,000425: 11,3147           00046                                    X1                                    
052958,000426: 11,3150           53670                           XAD,1    VSL*                                  
052959,000427: 11,3151           00050                                    S1                                    
052960,000428: 11,3152           20153                                    0          -22D,1                     
052961,000429: 11,3153           40055                           VAD      BOV                                   
052962,000430: 11,3154           02062                                    FV                                    
052963,000431: 11,3155           22774                                    GOBAQUE                               
052964,000432: 11,3156           36062                           STCALL   FV                                    
052965,000433: 11,3157           27725                                    QUALITY1                              
052966,000434: 
052967,000435: 11,3160           77716        QUALITY3           DSQ                                            #  J22 TERM X R**4 IN 2D, SCALED B61
052968,000436:                                                                                                  #  AS VECTOR.

Page 1236

052970,000438: 11,3161           41206                           PUSH     DMP                                   #  STORE COSPHI**2 SCALED B2 IN 8D
052971,000439: 11,3162           27712                                    5/8                                   #  5 SCALED B3
052972,000440: 11,3163           60525                           PDDL     SR2                                   #  PUT 5 COSPHI**2, D5, IN 8D.  GET
052973,000441:                                                                                                  #  COSPHI**2 D2 FROM 8D
052974,000442: 11,3164           44215                           DAD      BDSU                                  #  END UP WITH (1-7 COSPHI**2), B5
052975,000443: 11,3165           00011                                    8D                                    #  ADDING COSPHI**2 B4 SAME AS COSPHI**2
052976,000444:                                                                                                  #  X 2 D5
052977,000445: 11,3166           11043                                    D1/32                                 #  1 SCALED B5
052978,000446: 11,3167           41205                           DMP      DMP                                   
052979,000447: 11,3170           00017                                    URPV                                  #  X COMPONENT
052980,000448: 11,3171           27712                                    5/8                                   #  5 SCALED B3
052981,000449: 11,3172           56561                           VXSC     VSL5                                  #  AFTER SHIFT, SCALED B5
052982,000450: 11,3173           00017                                    URPV                                  #  VECTOR, B1.
052983,000451: 11,3174           77725                           PDDL                                           #  VECTOR INTO 8D, 10D, 12D, SCALED B5.
052984,000452:                                                                                                  #  GET 5 COSPHI**2 OUT OF 8D
052985,000453: 11,3175           43225                           DSU      DAD                                   
052986,000454: 11,3176           11043                                    D1/32                                 #  1 B5
052987,000455: 11,3177           00011                                    8D                                    #  X COMPONENT (SAME AS MULTIPLYING
052988,000456:                                                                                                  #  BY UNITX)
052989,000457: 11,3200           14011                           STODL    8D                                    
052990,000458: 11,3201           00017                                    URPV                                  #  X COMPONENT
052991,000459: 11,3202           41205                           DMP      DMP                                   
052992,000460: 11,3203           00023                                    URPV       +4                         #  Z COMPONENT
052993,000461: 11,3204           27712                                    5/8                                   #  5 B3 ANSWER B5
052994,000462: 11,3205           43352                           SL1      DAD                                   #  FROM 12D FOR Z COMPONENT (SL1 GIVES 10
052995,000463:                                                                                                  #  INSTEAD OF 5 FOR COEFFICIENT)
052996,000464: 11,3206           60325                           PDDL     NORM                                  #  BACK INTO 12D FOR Z COMPONENT.
052997,000465: 11,3207           02070                                    ALPHAM                                #  SCALED B27 FOR MOON
052998,000466: 11,3210           00050                                    X2                                    
052999,000467: 11,3211           67206                           PUSH     SLOAD                                 #  STORE IN 14D, DESTROYING URPV
053000,000468:                                                                                                  #  X COMPONENT
053001,000469: 11,3212           01354                                    E32C31RM                              
053002,000470: 11,3213           74271                           DDV      VXSC                                  #  IF X2 = 0, DIVISION GIVES B53, VXSC
053003,000471:                                                                                                  #  OUT OF 8D B5 GIVES B58
053004,000472: 11,3214           53257                           VSL*     VAD                                   #  SHIFT MAKES B61, FOR ADDITION OF 
053005,000473:                                                                                                  #  VECTOR IN 2D
053006,000474: 11,3215           57601                                    0          -3,2                       
053007,000475: 11,3216           70257                           VSL*     V/SC                                  #  OPERAND FROM 0D, B108 FOR X1 = 0
053008,000476: 11,3217           20146                                    0          -27D,1                     #  FOR X1 = 0, MAKES B88, GIVING B-20
053009,000477:                                                                                                  #  FOR RESULT.
053010,000478: 11,3220           65325                           PDDL     PDDL                                  
053011,000479: 11,3221           01517                                    TET                                   
053012,000480: 11,3222           27712                                    5/8                                   #  ANY NON-ZERO CONSTANT
053013,000481: 11,3223           45154                           LXA,2    CALL                                  #  POSITION IN 0D, TIME IN 6D.  X2 LEFT
053014,000482:                                                                                                  #  ALONE.
053015,000483: 11,3224           02030                                    PBODY                                 
053016,000484: 11,3225           55716                                    RP-TO-R                               
053017,000485: 11,3226           40055                           VAD      BOV                                   #  OVERFLOW INDICATOR RESET IN "RP-TO-R"
053018,000486: 11,3227           02062                                    FV                                    
053019,000487: 11,3230           22774                                    GOBAQUE                               

Page 1237

053021,000489: 11,3231           02062                           STORE    FV                                    
053022,000490: 11,3232           72135        NBRANCH            SLOAD    LXA,1                                 
053023,000491: 11,3233           01501                                    DIFEQCNT                              
053024,000492: 11,3234           00154                                    MPAC                                  
053025,000493: 11,3235           73205                           DMP      CGOTO                                 
053026,000494: 11,3236           27714                                    -1/12                                 
053027,000495: 11,3237           00155                                    MPAC                                  
053028,000496: 11,3240           23247                                    DIFEQTAB                              
053029,000497: 11,3241           77745        COSPHIE            DLOAD                                          
053030,000498: 11,3242           02036                                    ALPHAV     +4                         
053031,000499: 11,3243           24023                           STOVL    COSPHI/2                              
053032,000500: 11,3244           24001                                    ZUNIT                                 
053033,000501: 11,3245           77650                           GOTO                                           
053034,000502: 11,3246           23052                                    COMTERM                               
053035,000503: 11,3247           23466        DIFEQTAB           CADR     DIFEQ+0                               
053036,000504: 11,3250           23472                           CADR     DIFEQ+1                               
053037,000505: 11,3251           23503                           CADR     DIFEQ+2                               
053038,000506: 11,3252           77214        TIMESTEP           BOF      VLOAD                                 
053039,000507: 11,3253           00342                                    MIDFLAG                               
053040,000508: 11,3254           23303                                    RECTEST                               
053041,000509: 11,3255           01535                                    RCV                                   
053042,000510: 11,3256           41241                           DOT      DMP                                   
053043,000511: 11,3257           01543                                    VCV                                   
053044,000512: 11,3260           02076                                    DT/2                                  #  (R.V) X (DELTA T)
053045,000513: 11,3261           77640                           BMN                                            
053046,000514: 11,3262           23303                                    RECTEST                               
053047,000515: 11,3263           43014                           BON      BOF                                   
053048,000516: 11,3264           00303                                    MOONFLAG                              
053049,000517: 11,3265           23360                                    LUNSPH                                
053050,000518: 11,3266           04340                                    RPQFLAG                               
053051,000519: 11,3267           23355                                    EARSPH                                
053052,000520: 11,3270           45145                           DLOAD    CALL                                  
053053,000521: 11,3271           01517                                    TET                                   
053054,000522: 11,3272           33664                                    LSPOS                                 #  RPQV IN MPAC
053055,000523: 11,3273           02105                           STORE    RPQV                                  #  RPQV
053056,000524: 11,3274           77754                           LXA,2                                          
053057,000525: 11,3275           02030                                    PBODY                                 
053058,000526: 11,3276           51445        INLUNCHK           BVSU     ABVAL                                 
053059,000527: 11,3277           01535                                    RCV                                   
053060,000528: 11,3300           50025                           DSU      BMN                                   
053061,000529: 11,3301           27720                                    RSPHERE                               
053062,000530: 11,3302           23375                                    DOSWITCH                              
053063,000531: 11,3303           51575        RECTEST            VLOAD    ABVAL                                 #  RECTIFY IF
053064,000532: 11,3304           01521                                    TDELTAV                               
053065,000533: 11,3305           77600                           BOV                                            
053066,000534: 11,3306           23331                                    CALLRECT                              
053067,000535: 11,3307           51025                           DSU      BPL                                   #        1) EITHER TDELTAV OR TNUV EQUALS OR
053068,000536: 11,3310           25764                                    3/4                                   #           EXCEEDS 3/4 IN MAGNITUDE
053069,000537: 11,3311           23331                                    CALLRECT                              
053070,000538: 11,3312           53615                           DAD      SL*                                   #                        OR

Page 1238

053072,000540: 11,3313           25764                                    3/4                                   
053073,000541: 11,3314           57605                                    0          -7,2                       #        2) ABVAL(TDELTAV) EQUALS OR EXCEEDS
053074,000542: 11,3315           45271                           DDV      DSU                                   #           .01(ABVAL(RCV))
053075,000543: 11,3316           00013                                    10D                                   
053076,000544: 11,3317           27716                                    RECRATIO                              
053077,000545: 11,3320           77244                           BPL      VLOAD                                 
053078,000546: 11,3321           23331                                    CALLRECT                              
053079,000547: 11,3322           01527                                    TNUV                                  
053080,000548: 11,3323           45246                           ABVAL    DSU                                   
053081,000549: 11,3324           25764                                    3/4                                   
053082,000550: 11,3325           77600                           BOV                                            
053083,000551: 11,3326           23331                                    CALLRECT                              
053084,000552: 11,3327           77640                           BMN                                            
053085,000553: 11,3330           23333                                    INTGRATE                              
053086,000554: 11,3331           77624        CALLRECT           CALL                                           
053087,000555: 11,3332           23441                                    RECTIFY                               
053088,000556: 11,3333           77775        INTGRATE           VLOAD                                          
053089,000557: 11,3334           01527                                    TNUV                                  
053090,000558: 11,3335           25135                           STOVL    ZV                                    
053091,000559: 11,3336           01521                                    TDELTAV                               
053092,000560: 11,3337           01127                           STORE    YV                                    
053093,000561: 11,3340           77614                           CLEAR                                          
053094,000562: 11,3341           00261                                    JSWITCH                               
053095,000563: 11,3342           66375        DIFEQ0             VLOAD    SSP                                   
053096,000564: 11,3343           01127                                    YV                                    
053097,000565: 11,3344           01501                                    DIFEQCNT                              
053098,000566: 11,3345           00000                                    0                                     
053099,000567: 11,3346           16032                           STODL    ALPHAV                                
053100,000568: 11,3347           24007                                    DPZERO                                
053101,000569: 11,3350           02100                           STORE    H                                     #  START H AT ZERO.  GOES 0(DELT/2)DELT.
053102,000570: 11,3351           52014                           BON      GOTO                                  
053103,000571: 11,3352           00301                                    JSWITCH                               
053104,000572: 11,3353           23705                                    DOW..                                 
053105,000573: 11,3354           22516                                    ACCOMP                                
053106,000574: 11,3355           52175        EARSPH             VLOAD    GOTO                                  
053107,000575: 11,3356           02105                                    RPQV                                  
053108,000576: 11,3357           23276                                    INLUNCHK                              
053109,000577: 11,3360           60545        LUNSPH             DLOAD    SR2                                   
053110,000578: 11,3361           00013                                    10D                                   
053111,000579: 11,3362           50025                           DSU      BMN                                   
053112,000580: 11,3363           27720                                    RSPHERE                               
053113,000581: 11,3364           23303                                    RECTEST                               
053114,000582: 11,3365           71214                           BOF      DLOAD                                 
053115,000583: 11,3366           04340                                    RPQFLAG                               
053116,000584: 11,3367           23375                                    DOSWITCH                              
053117,000585: 11,3370           01517                                    TET                                   
053118,000586: 11,3371           77624                           CALL                                           
053119,000587: 11,3372           33664                                    LUNPOS                                
053120,000588: 11,3373           77676                           VCOMP                                          
053121,000589: 11,3374           02105                           STORE    RPQV                                  

Page 1239

053123,000591: 11,3375           77624        DOSWITCH           CALL                                           
053124,000592: 11,3376           23401                                    ORIGCHNG                              
053125,000593: 11,3377           77650                           GOTO                                           
053126,000594: 11,3400           23333                                    INTGRATE                              
053127,000595: 11,3401           45020        ORIGCHNG           STQ      CALL                                  
053128,000596: 11,3402           02112                                    ORIGEX                                
053129,000597: 11,3403           23441                                    RECTIFY                               
053130,000598: 11,3404           53775                           VLOAD    VSL*                                  
053131,000599: 11,3405           01535                                    RCV                                   
053132,000600: 11,3406           57576                                    0,2                                   
053133,000601: 11,3407           53651                           VSU      VSL*                                  
053134,000602: 11,3410           02105                                    RPQV                                  
053135,000603: 11,3411           57574                                    2,2                                   
053136,000604: 11,3412           01503                           STORE    RRECT                                 
053137,000605: 11,3413           15535                           STODL    RCV                                   
053138,000606: 11,3414           01517                                    TET                                   
053139,000607: 11,3415           77624                           CALL                                           
053140,000608: 11,3416           33775                                    LUNVEL                                
053141,000609: 11,3417           57414                           BOF      VCOMP                                 
053142,000610: 11,3420           00343                                    MOONFLAG                              
053143,000611: 11,3421           23422                                    +1                                    
053144,000612: 11,3422           53715                           PDVL     VSL*                                  
053145,000613: 11,3423           01543                                    VCV                                   
053146,000614: 11,3424           57576                                    0,2                                   
053147,000615: 11,3425           77651                           VSU                                            
053148,000616: 11,3426           77657                           VSL*                                           
053149,000617: 11,3427           57574                                    0          +2,2                       
053150,000618: 11,3430           01511                           STORE    VRECT                                 
053151,000619: 11,3431           01543                           STORE    VCV                                   
053152,000620: 11,3432           67154                           LXA,2    SXA,2                                 
053153,000621: 11,3433           02112                                    ORIGEX                                
053154,000622: 11,3434           00052                                    QPRET                                 
053155,000623: 11,3435           52014                           BON      GOTO                                  
053156,000624: 11,3436           00303                                    MOONFLAG                              
053157,000625: 11,3437           26711                                    CLRMOON                               
053158,000626: 11,3440           26716                                    SETMOON                               

Page 1240

053160,000628:                                                                                                  #  THE RECTIFY SUBROUTINE IS CALLED BY THE INTEGRATION PROGRAM AND OCCASIONALLY BY THE MEASUREMENT INCORPORATION
053161,000629:                                                                                                  #  ROUTINES TO ESTABLISH A NEW CONIC.
053162,000630: 
053163,000631: 11,3441           77354        RECTIFY            LXA,2    VLOAD                                 
053164,000632: 11,3442           02030                                    PBODY                                 
053165,000633: 11,3443           01521                                    TDELTAV                               
053166,000634: 11,3444           53257                           VSL*     VAD                                   
053167,000635: 11,3445           57605                                    0          -7,2                       
053168,000636: 11,3446           01535                                    RCV                                   
053169,000637: 11,3447           01503                           STORE    RRECT                                 
053170,000638: 11,3450           25535                           STOVL    RCV                                   
053171,000639: 11,3451           01527                                    TNUV                                  
053172,000640: 11,3452           53257                           VSL*     VAD                                   
053173,000641: 11,3453           57602                                    0          -4,2                       
053174,000642: 11,3454           01543                                    VCV                                   
053175,000643: 11,3455           01511        MINIRECT           STORE    VRECT                                 
053176,000644: 11,3456           25543                           STOVL    VCV                                   
053177,000645: 11,3457           24007                                    ZEROVEC                               
053178,000646: 11,3460           01521                           STORE    TDELTAV                               
053179,000647: 11,3461           15527                           STODL    TNUV                                  
053180,000648: 11,3462           24007                                    ZEROVEC                               
053181,000649: 11,3463           01551                           STORE    TC                                    
053182,000650: 11,3464           01553                           STORE    XKEP                                  
053183,000651: 11,3465           77616                           RVQ                                            
053184,000652: 

Page 1241

053186,000654:                                                                                                  #  THE THREE DIFEQ ROUTINES - DIFEQ+0, DIFEQ+12, AND DIFEQ+24 - ARE ENTERED TO PROCESS THE CONTRIBUTIONS AT THE
053187,000655:                                                                                                  #  BEGINNING, MIDDLE, AND END OF THE TIMESTEP, RESPECTIVELY.  THE UPDATING IS DONE BY THE NYSTROM METHOD.
053188,000656: 
053189,000657: 11,3466           64575        DIFEQ+0            VLOAD    VSR3                                  
053190,000658: 11,3467           02062                                    FV                                    
053191,000659: 11,3470           36046                           STCALL   PHIV                                  
053192,000660: 11,3471           23646                                    DIFEQCOM                              
053193,000661: 11,3472           74575        DIFEQ+1            VLOAD    VSR1                                  
053194,000662: 11,3473           02062                                    FV                                    
053195,000663: 11,3474           53206                           PUSH     VAD                                   
053196,000664: 11,3475           02046                                    PHIV                                  
053197,000665: 11,3476           26054                           STOVL    PSIV                                  
053198,000666: 11,3477           53362                           VSR1     VAD                                   
053199,000667: 11,3500           02046                                    PHIV                                  
053200,000668: 11,3501           36046                           STCALL   PHIV                                  
053201,000669: 11,3502           23646                                    DIFEQCOM                              
053202,000670: 11,3503           57345        DIFEQ+2            DLOAD    DMPR                                  
053203,000671: 11,3504           02100                                    H                                     
053204,000672: 11,3505           25774                                    DP2/3                                 
053205,000673: 11,3506           74206                           PUSH     VXSC                                  
053206,000674: 11,3507           02046                                    PHIV                                  
053207,000675: 11,3510           53372                           VSL1     VAD                                   
053208,000676: 11,3511           01135                                    ZV                                    
053209,000677: 11,3512           53361                           VXSC     VAD                                   
053210,000678: 11,3513           02100                                    H                                     
053211,000679: 11,3514           01127                                    YV                                    
053212,000680: 11,3515           25127                           STOVL    YV                                    
053213,000681: 11,3516           02062                                    FV                                    
053214,000682: 11,3517           53322                           VSR3     VAD                                   
053215,000683: 11,3520           02054                                    PSIV                                  
053216,000684: 11,3521           76561                           VXSC     VSL1                                  
053217,000685: 11,3522           77655                           VAD                                            
053218,000686: 11,3523           01135                                    ZV                                    
053219,000687: 11,3524           01135                           STORE    ZV                                    
053220,000688: 11,3525           45014                           BOFF     CALL                                  
053221,000689: 11,3526           00341                                    JSWITCH                               
053222,000690: 11,3527           23577                                    ENDSTATE                              
053223,000691: 11,3530           11244                                    GRP2PC                                
053224,000692: 11,3531           77354                           LXA,2    VLOAD                                 
053225,000693: 11,3532           01117                                    COLREG                                
053226,000694: 11,3533           01135                                    ZV                                    
053227,000695: 11,3534           77732                           VSL3                                           #  ADJUST W-POSITION FOR STORAGE
053228,000696: 11,3535           12467                           STORE    W          +54D,2                     
053229,000697: 11,3536           77775                           VLOAD                                          
053230,000698: 11,3537           01127                                    YV                                    
053231,000699: 11,3540           40132                           VSL3     BOV                                   
053232,000700: 11,3541           23671                                    WMATEND                               
053233,000701: 11,3542           12401                           STORE    W,2                                   
053234,000702: 
053235,000703: 11,3543           77624                           CALL                                           
053236,000704: 11,3544           11244                                    GRP2PC                                

Page 1242

053238,000706: 11,3545           66354                           LXA,2    SSP                                   
053239,000707: 11,3546           01117                                    COLREG                                
053240,000708: 11,3547           00052                                    S2                                    
053241,000709: 11,3550           00000                                    0                                     
053242,000710: 11,3551           67114                           INCR,2   SXA,2                                 
053243,000711: 11,3552           00006                                    6                                     
053244,000712: 11,3553           01126                                    YV                                    
053245,000713: 11,3554           45104                           TIX,2    CALL                                  
053246,000714: 11,3555           23642                                    RELOADSV                              
053247,000715: 11,3556           11244                                    GRP2PC                                
053248,000716: 11,3557           67154                           LXA,2    SXA,2                                 
053249,000717: 11,3560           01126                                    YV                                    
053250,000718: 11,3561           01117                                    COLREG                                
053251,000719: 
053252,000720: 11,3562           77624        NEXTCOL            CALL                                           
053253,000721: 11,3563           11244                                    GRP2PC                                
053254,000722: 11,3564           76754                           LXA,2    VLOAD*                                
053255,000723: 11,3565           01117                                    COLREG                                
053256,000724: 11,3566           75376                                    W,2                                   
053257,000725: 11,3567           77722                           VSR3                                           #  ADJUST W-POSITION FOR INTEGRATION
053258,000726: 11,3570           01127                           STORE    YV                                    
053259,000727: 11,3571           76173                           VLOAD*   AXT,1                                 
053260,000728: 11,3572           75310                                    W          +54D,2                     
053261,000729: 11,3573           00000                                    0                                     
053262,000730: 11,3574           77722                           VSR3                                           #  ADJUST W-VELOCITY FOR INTEGRATION
053263,000731: 11,3575           35135                           STCALL   ZV                                    
053264,000732: 11,3576           23342                                    DIFEQ0                                
053265,000733: 
053266,000734: 11,3577           77200        ENDSTATE           BOV      VLOAD                                 
053267,000735: 11,3600           22774                                    GOBAQUE                               
053268,000736: 11,3601           01135                                    ZV                                    
053269,000737: 11,3602           25527                           STOVL    TNUV                                  
053270,000738: 11,3603           01127                                    YV                                    
053271,000739: 11,3604           01521                           STORE    TDELTAV                               
053272,000740: 11,3605           43014                           BON      BOFF                                  
053273,000741: 11,3606           04715                                    MIDAVFLG                              
053274,000742: 11,3607           27633                                    CKMID2                                #  CHECK FOR MID2 BEFORE GOING TO TIMEINC
053275,000743: 11,3610           01756                                    DIM0FLAG                              
053276,000744: 11,3611           27257                                    TESTLOOP                              
053277,000745: 11,3612           77776                           EXIT                                           
053278,000746: 11,3613           05353                           TC       PHASCHNG                              
053279,000747: 11,3614           04022                           OCT      04022                                 #  PHASE 1
053280,000748: 11,3615           05504                           TC       UPFLAG                                #  PHASE CHANGE HAS OCCURRED BETWEEN
053281,000749: 11,3616           00236                           ADRES    REINTFLG                              #  INTSTALL AND INTWAKE
053282,000750: 11,3617           06037                           TC       INTPRET                               
053283,000751: 11,3620           77731                           SSP                                            
053284,000752: 11,3621           00053                                    QPRET                                 
053285,000753: 11,3622           23627                                    AMOVED                                
053286,000754: 11,3623           52014                           BON      GOTO                                  
053287,000755: 11,3624           01714                                    VINTFLAG                              

Page 1243

053289,000757: 11,3625           26661                                    ATOPCSM                               
053290,000758: 11,3626           26734                                    ATOPLEM                               
053291,000759: 11,3627           66214        AMOVED             SET      SSP                                   
053292,000760: 11,3630           00061                                    JSWITCH                               
053293,000761: 11,3631           01120                                    COLREG                                
053294,000762: 11,3632           77741                           DEC      -30        B-14                       
053295,000763: 11,3633           66214                           BOFF     SSP                                   
053296,000764: 11,3634           01755                                    D6OR9FLG                              
053297,000765: 11,3635           23562                                    NEXTCOL                               
053298,000766: 11,3636           01120                                    COLREG                                
053299,000767: 11,3637           77717                           DEC      -48        B-14                       
053300,000768: 11,3640           77650                           GOTO                                           
053301,000769: 11,3641           23562                                    NEXTCOL                               
053302,000770: 
053303,000771: 11,3642           77745        RELOADSV           DLOAD                                          #  RELOAD TEMPORARY STATE VECTOR
053304,000772: 11,3643           01116                                    TDEC                                  #  FROM PERMANENT IN CASE OF
053305,000773: 11,3644           34041                           STCALL   TDEC1                                 
053306,000774: 11,3645           27141                                    INTEGRV2                              #  BY STARTING AT INTEGRV2.
053307,000775: 11,3646           43345        DIFEQCOM           DLOAD    DAD                                   #  INCREMENT H AND DIFEQCNT.
053308,000776: 11,3647           02076                                    DT/2                                  
053309,000777: 11,3650           02100                                    H                                     
053310,000778: 11,3651           66110                           INCR,1   SXA,1                                 
053311,000779: 11,3652           77763                           DEC      -12        B-14                       
053312,000780: 11,3653           01500                                    DIFEQCNT                              #  DIFEQCNT SET FOR NEXT ENTRY.
053313,000781: 11,3654           02100                           STORE    H                                     
053314,000782: 11,3655           74561                           VXSC     VSR1                                  
053315,000783: 11,3656           02062                                    FV                                    
053316,000784: 11,3657           74255                           VAD      VXSC                                  
053317,000785: 11,3660           01135                                    ZV                                    
053318,000786: 11,3661           02100                                    H                                     
053319,000787: 11,3662           77655                           VAD                                            
053320,000788: 11,3663           01127                                    YV                                    
053321,000789: 11,3664           02032                           STORE    ALPHAV                                
053322,000790: 11,3665           52014                           BON      GOTO                                  
053323,000791: 11,3666           00301                                    JSWITCH                               
053324,000792: 11,3667           23705                                    DOW..                                 
053325,000793: 11,3670           22476                                    FBR3                                  
053326,000794: 
053327,000795: 11,3671           43014        WMATEND            CLEAR    CLEAR                                 
053328,000796: 11,3672           01676                                    DIM0FLAG                              #  DONT INTEGRATE W THIS TIME
053329,000797: 11,3673           01671                                    ORBWFLAG                              #  INVALIDATE W
053330,000798: 11,3674           77614                           CLEAR                                          
053331,000799: 11,3675           02676                                    RENDWFLG                              
053332,000800: 11,3676           77414                           SET      EXIT                                  
053333,000801: 11,3677           01472                                    STATEFLG                              #  PICK UP STATE VECTOR UPDATE
053334,000802: 11,3700           05567                           TC       ALARM                                 
053335,000803: 11,3701           00421                           OCT      421                                   
053336,000804: 11,3702           06037                           TC       INTPRET                               

Page 1244

053338,000806: 11,3703           77650                           GOTO                                           
053339,000807: 11,3704           27257                                    TESTLOOP                              #  FINISH INTEGRATING STATE VECTOR
053340,000808: 

Page 1245

053342,000810:                                                                                                  #  ORBITAL ROUTINE FOR EXTRAPOLATION OF THE W MATRIX.  IT COMPUTES THE SECOND DERIVATIVE OF EACH COLUMN POSITION
053343,000811:                                                                                                  #  VECTOR OF THE MATRIX AND CALLS THE NYSTROM INTEGRATION ROUTINES TO SOLVE THE DIFFERENTIAL EQUATIONS.  THE PROGRAM
053344,000812:                                                                                                  #  USES A TABLE OF VEHICLE POSITION VECTORS COMPUTED DURING THE INTEGRATION OF THE VEHICLES POSITION AND VELOCITY.
053345,000813: 
053346,000814: 11,3705           70754        DOW..              LXA,2    DLOAD*                                
053347,000815: 11,3706           02030                                    PBODY                                 
053348,000816: 11,3707           51770                                    MUEARTH,2                             
053349,000817: 11,3710           36072                           STCALL   BETAM                                 
053350,000818: 11,3711           23733                                    DOW..1                                
053351,000819: 11,3712           02062                           STORE    FV                                    
053352,000820: 11,3713           62014                           BOF      INCR,1                                
053353,000821: 11,3714           00342                                    MIDFLAG                               
053354,000822: 11,3715           23232                                    NBRANCH                               
053355,000823: 11,3716           77771                           DEC      -6         B-14                       
053356,000824: 11,3717           70744                           LXC,2    DLOAD*                                
053357,000825: 11,3720           02030                                    PBODY                                 
053358,000826: 11,3721           51772                                    MUEARTH    -2,2                       
053359,000827: 11,3722           36072                           STCALL   BETAM                                 
053360,000828: 11,3723           23733                                    DOW..1                                
053361,000829: 11,3724           50414                           BON      VSR6                                  
053362,000830: 11,3725           00303                                    MOONFLAG                              
053363,000831: 11,3726           23727                                    +1                                    
053364,000832: 11,3727           77655                           VAD                                            
053365,000833: 11,3730           02062                                    FV                                    
053366,000834: 11,3731           36062                           STCALL   FV                                    
053367,000835: 11,3732           23232                                    NBRANCH                               
053368,000836: 11,3733           60575        DOW..1             VLOAD    VSR4                                  
053369,000837: 11,3734           02032                                    ALPHAV                                
053370,000838: 11,3735           53513                           PDVL*    UNIT                                  
053371,000839: 11,3736           02132                                    VECTAB,1                              
053372,000840: 11,3737           46315                           PDVL     VPROJ                                 
053373,000841: 11,3740           02032                                    ALPHAV                                
053374,000842: 11,3741           52361                           VXSC     VSU                                   
053375,000843: 11,3742           25764                                    3/4                                   
053376,000844: 11,3743           60325                           PDDL     NORM                                  
053377,000845: 11,3744           00045                                    36D                                   
053378,000846: 11,3745           00052                                    S2                                    
053379,000847: 11,3746           63406                           PUSH     DSQ                                   
053380,000848: 11,3747           77605                           DMP                                            
053381,000849: 11,3750           65301                           NORM     PDDL                                  
053382,000850: 11,3751           00043                                    34D                                   
053383,000851: 11,3752           02072                                    BETAM                                 
053384,000852: 11,3753           56342                           SR1      DDV                                   
053385,000853: 11,3754           77761                           VXSC                                           
053386,000854: 11,3755           57154                           LXA,2    XAD,2                                 
053387,000855: 11,3756           00051                                    S2                                    
053388,000856: 11,3757           00051                                    S2                                    
053389,000857: 11,3760           57074                           XAD,2    XAD,2                                 
053390,000858: 11,3761           00051                                    S2                                    
053391,000859: 11,3762           00042                                    34D                                   
053392,000860: 11,3763           43457                           VSL*     RVQ                                   

Page 1246

053394,000862: 11,3764           57606                                    0          -8D,2                      
053395,000863: 
053396,000864:                                                                                                  #  ****************************************************************************************************************
053397,000865:                                                                                                  #  ****************************************************************************************************************
053398,000866: 11,3765           43131        SETITCTR           SSP      BOFF                                  #  SET ITERCTR FOR LAMBERT CALLS.  THIS
053399,000867: 11,3766           00027                                    ITERCTR                               #  CODING BELONGS IN INITVEL AND IS HERE
053400,000868: 11,3767           00024                                    20D                                   #  FOR PURPOSES OF A ONE-MODULE
053401,000869: 11,3770           03752                                    AVEGFLAG                              #  REMANUFACTURE ONLY.  CODING SHOULD
053402,000870: 11,3771           25212                                    LAMBERT                               #  BE MOVED BACK TO INITVEL FOR LUMINARY 1B
053403,000871: 11,3772           52131                           SSP      GOTO                                  
053404,000872: 11,3773           00027                                    ITERCTR                               
053405,000873: 11,3774           00005                                    5                                     
053406,000874: 11,3775           25212                                    LAMBERT                               
053407,000875:                                                                                                  #  ****************************************************************************************************************
053408,000876:                                                                                                  #  ****************************************************************************************************************
053409,000877: 
053410,000878: 12,2000                                           SETLOC   ORBITAL1                              
053411,000879: 12,2000                                           BANK                                           
053412,000880: 
053413,000881: 12,3745           04631 23146  3/5                2DEC     .6         B-2                        
053414,000882: 
053415,000883: 12,3747           14000 00000  THREE/8            2DEC     .375                                  
053416,000884: 
053417,000885: 12,3751           02314 31463  .3D                2DEC     .3         B-2                        
053418,000886: 
053419,000887: 12,3753           01400 00000  3/64               2DEC     3          B-6                        
053420,000888: 
053421,000889: 12,3755           10000 00000  DP1/4              2DEC     .25                                   
053422,000890: 
053423,000891: 12,3757  12,3755               DQUARTER           EQUALS   DP1/4                                 
053424,000892: 12,3757  12,3755               POS1/4             EQUALS   DP1/4                                 
053425,000893: 12,3757           03000 00000  3/32               2DEC     3          B-5                        
053426,000894: 
053427,000895: 12,3761           36000 00000  15/16              2DEC     15.        B-4                        
053428,000896: 
053429,000897: 12,3763           30000 00000  3/4                2DEC     3.0        B-2                        
053430,000898: 
053431,000899: 12,3765           22525 12525  7/12               2DEC     .5833333333                            
053432,000900: 
053433,000901: 12,3767           22000 00000  9/16               2DEC     9          B-4                        
053434,000902: 
053435,000903: 12,3771           01200 00000  5/128              2DEC     5          B-7                        
053436,000904: 
053437,000905: 12,3773  12,2006               DPZERO             EQUALS   ZEROVEC                               
053438,000906: 12,3773           25252 25253  DP2/3              2DEC     .6666666667                            
053439,000907: 
053440,000908: 12,3775  12,3773               2/3                EQUALS   DP2/3                                 
053441,000909: 12,3775           00027        OCT27              OCT      27                                    
053442,000910: 

Page 1247

053444,000912: 13,3675                                           BANK     13                                    
053445,000913: 13,2000                                           SETLOC   ORBITAL2                              
053446,000914: 13,2000                                           BANK                                           
053447,000915:                                                                                                  #  IT IS VITAL THAT THE FOLLOWING CONSTANTS NOT BE SHUFFLED
053448,000916: 13,3675           77764                           DEC      -11        B-14                       
053449,000917: 13,3676           77775                           DEC      -2         B-14                       
053450,000918: 13,3677           77766                           DEC      -9         B-14                       
053451,000919: 13,3700           77771                           DEC      -6         B-14                       
053452,000920: 13,3701           77775                           DEC      -2         B-14                       
053453,000921: 13,3702           77775                           DEC      -2         B-14                       
053454,000922: 13,3703           00000                           DEC      0          B-14                       
053455,000923: 13,3704           77763                           DEC      -12        B-14                       
053456,000924: 13,3705           77766                           DEC      -9         B-14                       
053457,000925: 13,3706           77773                           DEC      -4         B-14                       
053458,000926: 13,3707           77770        ASCALE             DEC      -7         B-14                       
053459,000927: 13,3710           77771                           DEC      -6         B-14                       
053460,000928: 13,3711           24000 00000  5/8                2DEC     5          B-3                        
053461,000929: 
053462,000930: 13,3713           74631 63145  -1/12              2DEC     -.1                                   
053463,000931: 
053464,000932: 13,3715           00243 32703  RECRATIO           2DEC     .01                                   
053465,000933: 
053466,000934: 13,3717           03654 21000  RSPHERE            2DEC     64373.76   E3         B-29            
053467,000935: 
053468,000936: 13,3721           03654 21000  RDM                2DEC     16093.44   E3         B-27            
053469,000937: 
053470,000938: 13,3723           04627 25200  RDE                2DEC     80467.20   E3         B-29            
053471,000939: 
053472,000940: 13,3725                        RATT               EQUALS   00                                    
053473,000941: 13,3725                        VATT               EQUALS   6D                                    
053474,000942: 13,3725                        TAT                EQUALS   12D                                   
053475,000943: 13,3725                        RATT1              EQUALS   14D                                   
053476,000944: 13,3725                        VATT1              EQUALS   20D                                   
053477,000945: 13,3725                        MU(P)              EQUALS   26D                                   
053478,000946: 13,3725                        TDEC1              EQUALS   32D                                   
053479,000947: 13,3725                        URPV               EQUALS   14D                                   
053480,000948: 13,3725     0022               COSPHI/2           EQUALS   URPV       +4                         
053481,000949: 13,3725                        UZ                 EQUALS   20D                                   
053482,000950: 13,3725                        TVEC               EQUALS   26D                                   
053483,000951: 
053484,000952: 13,3725           71214        QUALITY1           BOF      DLOAD                                 
053485,000953: 13,3726           00343                                    MOONFLAG                              
053486,000954: 13,3727           23232                                    NBRANCH                               
053487,000955: 13,3730           00017                                    URPV                                  
053488,000956: 13,3731           77716                           DSQ                                            
053489,000957: 13,3732           63525        QUALITY2           PDDL     DSQ                                   #  SQUARE INTO 2D, B2
053490,000958: 13,3733           00021                                    URPV       +2                         #  Y COMPONENT, B1
053491,000959: 13,3734           77625                           DSU                                            
053492,000960: 13,3735           74205                           DMP      VXSC                                  #  5(Y**2-X**2)UR
053493,000961: 13,3736           27712                                    5/8                                   #  CONSTANT, 5B3
053494,000962: 13,3737           00017                                    URPV                                  #  VECTOR.  RESULT MAXIMUM IS 5, SCALING

Page 1248

053496,000964:                                                                                                  #  HERE B6
053497,000965: 13,3740           65332                           VSL3     PDDL                                  #  STORE SCALED B3 IN 2D, 4D, 6D FOR XYZ
053498,000966: 13,3741           00017                                    URPV                                  #  X COMPONENT, B1
053499,000967: 13,3742           43342                           SR1      DAD                                   #  2 X X COMPONENT FOR B3 SCALING
053500,000968: 13,3743           00003                                    2D                                    #  ADD TO VECTOR X COMPONENT OF ANSWER,
053501,000969:                                                                                                  #  SAME AS MULTIPLYING BY UNITX.  MAX IS 7.
053502,000970: 13,3744           14003                           STODL    2D                                    
053503,000971: 13,3745           00021                                    URPV       +2                         #  Y COMPONENT, B1
053504,000972: 13,3746           44342                           SR1      BDSU                                  #  2 X Y COMPONENT FOR B3 SCALING
053505,000973: 13,3747           00005                                    4D                                    #  SUBTRACT FROM VECTOR Y COMPONENT OF
053506,000974:                                                                                                  #  ANSWER, SAME AS MULTIPLYING BY UNITY.
053507,000975:                                                                                                  #  MAX IS 7.
053508,000976: 13,3750           00005                           STORE    4D                                    #  2D HAS VECTOR, B3.
053509,000977: 13,3751           74335                           SLOAD    VXSC                                  #  MULTIPLY COEFFIECIENT TIMES VECTOR IN 2D
053510,000978: 13,3752           01353                                    E3J22R2M                              
053511,000979: 13,3753           43525                           PDDL     RVQ                                   #  J22 TERM X R**4 IN 2D, SCALED B61
053512,000980: 13,3754           00023                                    COSPHI/2                              #  SAME AS URPV +4  Z COMPONENT
053513,000981: 

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