Source Code

This source code is very close to the Apollo Guidance Computer software for the Apollo 13 Lunar module. This revision of the Luminary 131 program is from December of 1969, whereas there was a later revision in January of 1970, and still another revision in February, which is the code that flew on the mission. As far as this transcription is concerned, it was originally from a copy made in 1991 of a printout from the collection of AGC developer Don Eyles for collector David Craig. It was subsequently scanned by Gary Neff, reprocessed for online presentation at the now-discontinued History of Recent Science and Technology (HRST) website of MIT's Dibner Institute (the full-quality scans being discarded in the process), and finally transcribed by Ron Burkey for the Virtual AGC Project. Although a high-quality replacement scan for a completely illegible page was later provided by Gary Neff, the reduced legibility of the reprocessed HRST posting nevertheless caused many errors to be introduced into the transcription. Accordingly, a second scan of the same physical printout was made in 2017 for the Virtual AGC Project's collection at the Internet Archive, and used to correct the transcription errors. All of the scanned materials mentioned, as well as other Luminary 131 related material, are available online. Don Eyles apprently made additional hand-written notes in printout between 1991 and 2017, so the two scans are not identical in that respect. The page-headings in the printout read, in part:
	GAP:  ASSEMBLE REVISION 131 OF AGC PROGRAM LUMINARY BY NASA 2021112-091
	17:53 DEC. 19, 1969
Note that the date is the date the printout was made, not the date on which the program revision was released, although these happen to be very close together.

036603,000002:                                                                                                  ## Copyright:   Public domain.
036604,000003:                                                                                                  ## Filename:    SERVICER.agc
036605,000004:                                                                                                  ## Purpose:     A section of Luminary 1C, revision 131.
036606,000005:                                                                                                  ##              It is part of the source code for the Lunar Module's (LM)
036607,000006:                                                                                                  ##              Apollo Guidance Computer (AGC) for Apollo 13.
036608,000007:                                                                                                  ##              This file is intended to be a faithful transcription, except
036609,000008:                                                                                                  ##              that the code format has been changed to conform to the
036610,000009:                                                                                                  ##              requirements of the yaYUL assembler rather than the
036611,000010:                                                                                                  ##              original YUL assembler.
036612,000011:                                                                                                  ## Reference:   pp. 852-890
036613,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
036614,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
036615,000014:                                                                                                  ## Mod history: 05/27/03 RSB.   Began transcribing.
036616,000015:                                                                                                  ##              05/14/05 RSB    Corrected website references above.
036617,000016:                                                                                                  ##              2010-08-24 JL   Fixed page numbers.
036618,000017:                                                                                                  ##              2010-10-25 JL   Indentation fixes.
036619,000018:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
036620,000019:                                                                                                  ##                              original harcopy, as opposed to the PDF page
036621,000020:                                                                                                  ##                              numbers in 1701.pdf.
036622,000021:                                                                                                  ##              2017-02-26 RSB  Proofed comment text using octopus/ProoferComments.
036623,000022:                                                                                                  ##              2017-03-01 RSB  Fixed lingering typos.
036624,000023:                                                                                                  ##              2017-03-14 RSB  Comment-text fixes noted in proofing Luminary 116.
036625,000024:                                                                                                  ##              2017-03-16 RSB  Comment-text fixes identified in 5-way
036626,000025:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
036627,000026: 

Page 852

036629,000028: 37,3410                                           BANK     37                                    
036630,000029: 37,2000                                           SETLOC   SERV1                                 
036631,000030: 37,2000                                           BANK                                           
036632,000031: 
036633,000032: 37,3410  E7,1515                                  EBANK=   DVCNTR                                
036634,000033: 
036635,000034:                                                                                                  #  *************************************   PREREAD   **************************************************************
036636,000035: 
036637,000036: 37,3410                                           COUNT*   $$/SERV                               
036638,000037: 
036639,000038: 37,3410           34757        PREREAD            CAF      SEVEN                                 #  5.7 SPOT TO SKIP LASTBIAS AFTER
036640,000039: 37,3411           03527                           TC       GNUFAZE5                              #  RESTART.
036641,000040: 37,3412           35031                           CAF      PRIO21                                
036642,000041: 37,3413           05072                           TC       NOVAC                                 
036643,000042: 37,3414  E3,1460                                  EBANK=   NBDX                                  
036644,000043: 37,3414           03671 14063                     2CADR    LASTBIAS                              #  DO LAST GYRO COMPENSATION IN FREE FALL
036645,000044: 
036646,000045: 37,3416           03541        BIBIBIAS           TC       PIPASR     +3                         #  CLEAR + READ PIPS LAST TIME IN FRE5+F133
036647,000046:                                                                                                  #  DO NOT DESTROY VALUE OF PIPTIME1
036648,000047: 
036649,000048: 37,3417           40103                           CS       FLAGWRD7                              
036650,000049: 37,3420           74773                           MASK     SUPER011                              #  SET V37FLAG AND AVEGFLAG (BITS 5 AND 6
036651,000050: 37,3421           26103                           ADS      FLAGWRD7                              #        OF FLAGWRD7)
036652,000051: 
036653,000052: 37,3422           44735                           CS       DRFTBIT                               
036654,000053: 37,3423           70076                           MASK     FLAGWRD2                              #  RESET DRIFTFLAG
036655,000054: 37,3424           54076                           TS       FLAGWRD2                              
036656,000055: 
036657,000056: 37,3425           34751                           CAF      FOUR                                  #  INITIALIZE DV MONITOR
036658,000057: 37,3426           55256                           TS       PIPAGE                                
036659,000058: 
036660,000059: 37,3427           37713                           CAF      PRIO22                                
036661,000060: 37,3430           05105                           TC       FINDVAC                               #  TO FIRST ENTRY TO AVERAGE G.
036662,000061: 37,3431  E7,1515                                  EBANK=   DVCNTR                                
036663,000062: 37,3431           02463 46067                     2CADR    NORMLIZE                              
036664,000063: 
036665,000064: 37,3433           34752                           CA       TWO                                   #  5.2SPOT FOR REREADAC AND NORMLIZE
036666,000065: 37,3434           03523        GOREADAX           TC       GNUTFAZ5                              
036667,000066: 37,3435           35000                           CA       2SECS                                 #  WAIT TWO SECONDS FOR READACCS
036668,000067: 37,3436           05224                           TC       VARDELAY                              
036669,000068: 

Page 853

036671,000070:                                                                                                  #  *************************************   READACCS   *************************************************************
036672,000071: 
036673,000072: 37,3437           43535        READACCS           CS       OCT37771                              #  THIS PIECE OF CODING ATTEMPTS TO
036674,000073: 37,3440           60030                           AD       TIME5                                 #  SYNCHRONIZE READACCS WITH THE DIGITAL
036675,000074: 37,3441           10000                           CCS      A                                     #  AUTOPILOT SO THAT A PAXIS RUPT WILL
036676,000075: 37,3442           44753                           CS       ONE                                   #  OCCUR APPROXIMATELY 70 MILLISECONDS
036677,000076: 37,3443           13445                           TCF      +2                                    #  FOLLOWING THE READACCS RUPT.  THE 70 MS
036678,000077: 37,3444           34753                           CA       ONE                                   #  OFFSET WAS CHOSEN SO THAT THE PAXIS
036679,000078: 37,3445           26030                 +2        ADS      TIME5                                 #  RUPT WOULD NOT OCCUR SIMULTANEOUSLY
036680,000079:                                                                                                  #  WITH ANY OF THE 8 SUBSEQUENT R10,R11
036681,000080:                                                                                                  #  INTERRUPTS -- THUS MINIMIZING THE POSS-
036682,000081:                                                                                                  #  IBILITY OF LOSING DOWNRUPTS.
036683,000082: 
036684,000083: 37,3446           03536                           TC       PIPASR                                #  READ THE PIPAS.
036685,000084: 
036686,000085: 37,3447           34756        PIPSDONE           CA       FIVE                                  
036687,000086: 37,3450           03527                           TC       GNUFAZE5                              
036688,000087: 37,3451           34753        REDO5.5            CAF      ONE                                   
036689,000088: 37,3452           55256                           TS       PIPAGE                                
036690,000089: 
036691,000090: 37,3453           34736                           CA       PRIO20                                
036692,000091: 37,3454           05105                           TC       FINDVAC                               
036693,000092: 37,3455  E7,1515                                  EBANK=   DVCNTR                                
036694,000093: 37,3455           02206 66067                     2CADR    SERVICER                              #  SET UP SERVICER JOB
036695,000094: 
036696,000095: 37,3457           34743                           CA       BIT9                                  
036697,000096: 37,3460           00006                           EXTEND                                         
036698,000097: 37,3461           05011                           WOR      DSALMOUT                              #  TURN ON TEST CONNECTOR OUTBIT
036699,000098: 
036700,000099: 37,3462           30103                           CA       FLAGWRD7                              
036701,000100: 37,3463           74747                           MASK     AVEGFBIT                              
036702,000101: 37,3464           00006                           EXTEND                                         
036703,000102: 37,3465           13515                           BZF      AVEGOUT                               #  AVEGFLAG DOWN - SET UP FINAL EXIT
036704,000103: 
036705,000104: 37,3466           30102                           CA       FLAGWRD6                              
036706,000105: 37,3467           74744                           MASK     MUNFLBIT                              
036707,000106: 37,3470           00006                           EXTEND                                         
036708,000107: 37,3471           13513                           BZF      MAKEACCS                              #  MUNFLAG CLEAR - BYPASS LR AND DISP.
036709,000108: 
036710,000109: 37,3472           10754                           CCS      PHASE2                                
036711,000110: 37,3473           13513                           TCF      MAKEACCS                              #  PHASE 2 ACTIVATED - AVOID MULTIPLE R10.
036712,000111: 
036713,000112: 37,3474           34757                           CAF      SEVEN                                 #  SET PIPCTR FOR 4X/SEC RATE.
036714,000113: 37,3475           55055                           TS       PIPCTR                                
036715,000114: 
036716,000115: 37,3476           40025                           CS       TIME1                                 #  SET TBASE2 .05 SECONDS IN THE PAST.
036717,000116: 37,3477           64756                           AD       FIVE                                  
036718,000117: 37,3500           64734                           AD       NEG1/2                                
036719,000118: 37,3501           64734                           AD       NEG1/2                                
036720,000119: 37,3502           57054                           XCH      TBASE2                                

Page 854

036722,000121: 37,3503           34361                           CAF      DEC17                                 #  2.21SPOT FOR R10,R11
036723,000122: 37,3504           54001                           TS       L                                     
036724,000123: 37,3505           40000                           COM                                            
036725,000124: 37,3506           52754                           DXCH     -PHASE2                               
036726,000125: 
036727,000126: 37,3507           36007                           CAF      OCT24                                 #  FIRST R10,R11 IN .200 SECONDS.
036728,000127: 37,3510           05203                           TC       WAITLIST                              
036729,000128: 37,3511  E7,1536                                  EBANK=   UNIT/R/                               
036730,000129: 37,3511           02006 42067                     2CADR    R10,R11                               
036731,000130: 
036732,000131: 37,3513           34751        MAKEACCS           CA       FOUR                                  
036733,000132: 37,3514           13434                           TCF      GOREADAX                              #  DO PHASE CHANGE AND RECALL READACCS
036734,000133: 
036735,000134: 37,3515           00006        AVEGOUT            EXTEND                                         
036736,000135: 37,3516           33534                           DCA      AVOUTCAD                              #  SET UP FINAL SERVICER EXIT
036737,000136: 37,3517           53252                           DXCH     AVGEXIT                               
036738,000137: 
036739,000138: 37,3520           34751                           CA       FOUR                                  #  SET 5.4 SPOT FOR REREADAC AND SERVICER
036740,000139: 37,3521           03523                           TC       GNUTFAZ5                              #  IF REREADAC IS CALLED, IT WILL EXIT
036741,000140: 37,3522           05261                           TC       TASKOVER                              #  END TASK WITHOUT CALLING READACCS
036742,000141: 
036743,000142: 37,3523           54001        GNUTFAZ5           TS       L                                     #  SAVE INPUT IN L
036744,000143: 37,3524           40025                           CS       TIME1                                 
036745,000144: 37,3525           55062                           TS       TBASE5                                #  SET TBASE5
036746,000145: 37,3526           13530                           TCF      +2                                    
036747,000146: 
036748,000147: 37,3527           54001        GNUFAZE5           TS       L                                     #  SAVE INPUT IN L
036749,000148: 37,3530           40001                           CS       L                                     #  -PHASE IN A, PHASE IN L
036750,000149: 37,3531           52762                           DXCH     -PHASE5                               #  SET -PHASE5,PHASE5
036751,000150: 37,3532           00002                           TC       Q                                     
036752,000151: 
036753,000152: 37,3533  E7,1515                                  EBANK=   DVCNTR                                
036754,000153: 37,3533           03661 44067  AVOUTCAD           2CADR    AVGEND                                
036755,000154: 
036756,000155: 37,3535           37771        OCT37771           OCT      37771                                 
036757,000156: 
036758,000157: 33,2206                                           BANK     33                                    
036759,000158: 33,2000                                           SETLOC   SERVICES                              
036760,000159: 33,2000                                           BANK                                           
036761,000160: 
036762,000161: 33,2206                                           COUNT*   $$/SERV                               
036763,000162: 

Page 855

036765,000164:                                                                                                  #  *************************************   SERVICER   *************************************************************
036766,000165: 
036767,000166: 33,2206           05353        SERVICER           TC       PHASCHNG                              #  RESTART REREADAC + SERVICER
036768,000167: 33,2207           16035                           OCT      16035                                 
036769,000168: 33,2210           20000                           OCT      20000                                 
036770,000169: 33,2211  E7,1515                                  EBANK=   DVCNTR                                
036771,000170: 33,2211           02217 66067                     2CADR    GETABVAL                              
036772,000171: 
036773,000172: 33,2213           37721                           CAF      PRIO31                                #  INITIALIZE 1/PIPADT IN CASE RESTART HAS
036774,000173: 33,2214           55074                           TS       1/PIPADT                              #  CAUSED LASTBIAS TO BE SKIPPED.
036775,000174: 
036776,000175: 33,2215           04616                           TC       BANKCALL                              #  PIPA COMPENSATION CALL
036777,000176: 33,2216           15271                           CADR     1/PIPA                                
036778,000177: 
036779,000178: 33,2217           06042        GETABVAL           TC       INTPRET                               
036780,000179: 33,2220           51575                           VLOAD    ABVAL                                 
036781,000180: 33,2221           00325                                    DELV                                  
036782,000181: 33,2222           77776                           EXIT                                           
036783,000182: 33,2223           30154                           CA       MPAC                                  
036784,000183: 33,2224           55245                           TS       ABDELV                                #  ABDELV = CM/SEC*2(-14).
036785,000184: 33,2225           00006                           EXTEND                                         
036786,000185: 33,2226           72020                           MP       KPIP                                  
036787,000186: 33,2227           53514                           DXCH     ABDVCONV                              #  ABDVCONV = M/CS * 2(-5).
036788,000187: 33,2230           00006                           EXTEND                                         
036789,000188: 33,2231           31244                           DCA      MASS                                  
036790,000189: 33,2232           53571                           DXCH     MASS1                                 #  INITIALIZE MASS1 IN CASE WE SKIP MASSMON
036791,000190: 33,2233           40104        MASSMON            CS       FLAGWRD8                              #  ARE WE ON THE SURFACE?
036792,000191: 33,2234           74744                           MASK     SURFFBIT                              
036793,000192: 33,2235           00006                           EXTEND                                         
036794,000193: 33,2236           12254                           BZF      MOONSPOT                              #  YES:  BYPASS MASS MESS
036795,000194: 33,2237           30106                           CA       FLGWRD10                              #  NO:  WHICH VEX SHOULD BE USED?
036796,000195: 33,2240           74737                           MASK     APSFLBIT                              
036797,000196: 33,2241           10000                           CCS      A                                     
036798,000197: 33,2242           00006                           EXTEND                                         #  IF EXTEND IS EXECUTED, APSVEX --> A,
036799,000198: 33,2243           32001                           DCA      APSVEX                                #        OTHERWISE DPSVEX --> A
036800,000199: 33,2244           54002                           TS       Q                                     
036801,000200: 
036802,000201: 33,2245           00006                           EXTEND                                         
036803,000202: 33,2246           31514                           DCA      ABDVCONV                              
036804,000203: 33,2247           00006                           EXTEND                                         
036805,000204: 33,2250           10002        OCT10002           DV       Q                                     #  WHERE APPROPRIATE VEX RESIDES
036806,000205: 33,2251           00006                           EXTEND                                         
036807,000206: 33,2252           71243                           MP       MASS                                  
036808,000207: 33,2253           21571                           DAS      MASS1                                 
036809,000208: 
036810,000209: 33,2254           32021        MOONSPOT           CA       KPIP1                                 #  TP MPAC = ABDELV AT 2(14) CM/SEC
036811,000210: 33,2255           07312                           TC       SHORTMP                               #  MULTIPLY BY KPIP1 TO GET

Page 856

036813,000212: 33,2256           52155                           DXCH     MPAC                                  #  ABDELV AT 2(7) M/CS
036814,000213: 33,2257           21510                           DAS      DVTOTAL                               #  UPDATE DVTOTAL FOR DISPLAY
036815,000214: 
036816,000215: 33,2260           02440                           TC       TMPTOSPT                              
036817,000216: 
036818,000217: 33,2261           04616                           TC       BANKCALL                              
036819,000218: 33,2262           47617                           CADR     QUICTRIG                              
036820,000219: 
036821,000220: 33,2263           32414                           CAF      XNBPIPAD                              
036822,000221: 33,2264           04616                           TC       BANKCALL                              
036823,000222: 33,2265           20037                           CADR     FLESHPOT                              
036824,000223: 33,2266           06042                           TC       INTPRET                               
036825,000224: 33,2267           45014        AVERAGEG           BON      CALL                                  
036826,000225: 33,2270           03307                                    MUNFLAG                               
036827,000226: 33,2271           66771                                    RVBOTH                                
036828,000227: 33,2272           66735                                    CALCRVG                               
036829,000228: 33,2273           77776                           EXIT                                           
036830,000229: 33,2274           03512        GOSERV             TC       QUIKFAZ5                              
036831,000230: 
036832,000231: 33,2275           02423        COPYCYCL           TC       COPYCYC                               
036833,000232: 
036834,000233:                                                                                                  #                CA      ZERO            A IS ZERO ON RETURN FROM COPYCYC
036835,000234: 33,2276           55157                           TS       PIPATMPX                              #  STILL UNDER INHINT
036836,000235: 33,2277           55160                           TS       PIPATMPY                              
036837,000236: 33,2300           55161                           TS       PIPATMPZ                              
036838,000237: 
036839,000238: 33,2301           44741                           CS       STEERBIT                              #  CLEAR STEERSW PRIOR TO DVMON.
036840,000239: 33,2302           70076                           MASK     FLAGWRD2                              
036841,000240: 33,2303           54076                           TS       FLAGWRD2                              
036842,000241: 
036843,000242: 33,2304           34745                           CAF      IDLEFBIT                              #  IS THE IDLE FLAG SET?
036844,000243: 33,2305           70103                           MASK     FLAGWRD7                              
036845,000244: 33,2306           10000                           CCS      A                                     
036846,000245: 33,2307           12342                           TCF      NODVMON1                              #  IDLEFLAG = 1, HENCE SET AUXFLAG TO 0.
036847,000246: 
036848,000247: 33,2310           40102                           CS       FLAGWRD6                              
036849,000248: 33,2311           74752                           MASK     AUXFLBIT                              
036850,000249: 33,2312           10000                           CCS      A                                     
036851,000250: 33,2313           12346                           TCF      NODVMON2                              #  AUXFLAG = 0, HENCE SET AUXFLAG TO 1.
036852,000251: 
036853,000252: 33,2314           41250        DVMON              CS       DVTHRUSH                              
036854,000253: 33,2315           61245                           AD       ABDELV                                
036855,000254: 33,2316           00006                           EXTEND                                         
036856,000255: 33,2317           62352                           BZMF     LOTHRUST                              
036857,000256: 
036858,000257: 33,2320           40076                           CS       FLAGWRD2                              #  SET STEERSW.
036859,000258: 33,2321           74741                           MASK     STEERBIT                              
036860,000259: 33,2322           26076                           ADS      FLAGWRD2                              
036861,000260: 
036862,000261: 33,2323           34753        DVCNTSET           CAF      ONE                                   #  ALLOW TWO PASSES MAXIMUM NOW THAT

Page 857

036864,000263: 33,2324           55515                           TS       DVCNTR                                #  THRUST HAS BEEN DETECTED.
036865,000264: 
036866,000265: 33,2325           30106                           CA       FLGWRD10                              #  BRANCH IF APSFLAG IS SET.
036867,000266: 33,2326           74737                           MASK     APSFLBIT                              
036868,000267: 33,2327           10000                           CCS      A                                     
036869,000268: 33,2330           12375                           TCF      USEJETS                               
036870,000269: 
036871,000270: 33,2331           34743                           CA       BIT9                                  #  CHECK GIMBAL FAIL BIT
036872,000271: 33,2332           00006                           EXTEND                                         
036873,000272: 33,2333           02032                           RAND     CHAN32                                
036874,000273: 33,2334           00006                           EXTEND                                         
036875,000274: 33,2335           12375                           BZF      USEJETS                               
036876,000275: 
036877,000276: 33,2336           44736        USEGTS             CS       USEQRJTS                              
036878,000277: 33,2337           70111                           MASK     DAPBOOLS                              
036879,000278: 33,2340           54111                           TS       DAPBOOLS                              
036880,000279: 33,2341           12400                           TCF      SERVOUT                               
036881,000280: 
036882,000281: 33,2342           44752        NODVMON1           CS       AUXFLBIT                              #  SET AUXFLAG TO 0.
036883,000282: 33,2343           70102                           MASK     FLAGWRD6                              
036884,000283: 33,2344           54102                           TS       FLAGWRD6                              
036885,000284: 33,2345           12375                           TCF      USEJETS                               
036886,000285: 33,2346           40102        NODVMON2           CS       FLAGWRD6                              #  SET AUXFLAG TO 1.
036887,000286: 33,2347           74752                           MASK     AUXFLBIT                              
036888,000287: 33,2350           26102                           ADS      FLAGWRD6                              
036889,000288: 33,2351           12375                           TCF      USEJETS                               
036890,000289: 
036891,000290: 33,2352           03512        LOTHRUST           TC       QUIKFAZ5                              
036892,000291: 33,2353           11515                           CCS      DVCNTR                                
036893,000292: 33,2354           12366                           TCF      DECCNTR                               
036894,000293: 
036895,000294: 33,2355           10760                           CCS      PHASE4                                #  COMFAIL JOB ACTIVE?
036896,000295: 33,2356           12400                           TCF      SERVOUT                               #  YES   WON'T NEED ANOTHER.
036897,000296: 
036898,000297: 33,2357           05353                           TC       PHASCHNG                              #  4.37SPOT FOR COMFAIL.
036899,000298: 33,2360           00374                           OCT      00374                                 
036900,000299: 
036901,000300: 33,2361           37716                           CAF      PRIO25                                
036902,000301: 33,2362           05072                           TC       NOVAC                                 
036903,000302: 33,2363  E7,1455                                  EBANK=   WHICH                                 
036904,000303: 33,2363           02575 74067                     2CADR    COMFAIL                               
036905,000304: 
036906,000305: 33,2365           12400                           TCF      SERVOUT                               
036907,000306: 
036908,000307: 33,2366           55570        DECCNTR            TS       DVCNTR1                               
036909,000308: 33,2367           03512                           TC       QUIKFAZ5                              
036910,000309: 33,2370           31570                           CA       DVCNTR1                               
036911,000310: 33,2371           55515                           TS       DVCNTR                                
036912,000311: 33,2372           00004                           INHINT                                         
036913,000312: 33,2373           04674                           TC       IBNKCALL                              #  IF THRUST IS LOW, NO STEERING IS DONE

Page 858

036915,000314: 33,2374           40166                           CADR     STOPRATE                              #  AND THE DESIRED RATES ARE SET TO ZERO.
036916,000315: 33,2375           40111        USEJETS            CS       DAPBOOLS                              
036917,000316: 33,2376           74736                           MASK     USEQRJTS                              
036918,000317: 33,2377           26111                           ADS      DAPBOOLS                              
036919,000318: 33,2400           00003        SERVOUT            RELINT                                         
036920,000319: 33,2401           04616                           TC       BANKCALL                              
036921,000320: 33,2402           40463                           CADR     1/ACCS                                
036922,000321: 
036923,000322: 33,2403           30167                           CA       PRIORITY                              
036924,000323: 33,2404           75004                           MASK     LOW9                                  
036925,000324: 33,2405           54166                           TS       PUSHLOC                               
036926,000325: 33,2406           22007                           ZL                                             
036927,000326: 33,2407           52121                           DXCH     FIXLOC                                #  FIXLOC AND OVFIND
036928,000327: 
036929,000328: 33,2410           03512                           TC       QUIKFAZ5                              
036930,000329: 33,2411           00006                           EXTEND                                         #  EXIT TO SELECTED ROUTINE WHETHER THERE
036931,000330: 33,2412           31252                           DCA      AVGEXIT                               #  IS THRUST OR NOT.  THE STATE OF STEERSW
036932,000331: 33,2413           52006                           DXCH     Z                                     #  WILL CONVEY THIS INFORMATION.
036933,000332: 
036934,000333: 33,2414           02145        XNBPIPAD           ECADR    XNBPIP                                
036935,000334: 
036936,000335: 32,3746                                           BANK     32                                    
036937,000336: 22,2000                                           SETLOC   SERV2                                 
036938,000337: 22,2000                                           BANK                                           
036939,000338: 22,3661                                           COUNT*   $$/SERV                               
036940,000339: 
036941,000340: 22,3661           31234        AVGEND             CA       PIPTIME    +1                         #  FINAL AVERAGE G EXIT
036942,000341: 22,3662           55074                           TS       1/PIPADT                              #  SET UP FREE FALL GYRO COMPENSATION.
036943,000342: 
036944,000343: 22,3663           05504                           TC       UPFLAG                                #  SET DRIFT FLAG.
036945,000344: 22,3664           00036                           ADRES    DRIFTFLG                              
036946,000345: 
036947,000346: 22,3665           04616                           TC       BANKCALL                              
036948,000347: 22,3666           17301                           CADR     PIPFREE                               
036949,000348: 
036950,000349: 22,3667           44743                           CS       BIT9                                  
036951,000350: 22,3670           00006                           EXTEND                                         
036952,000351: 22,3671           03011                           WAND     DSALMOUT                              
036953,000352: 
036954,000353: 22,3672           05327                           TC       2PHSCHNG                              
036955,000354: 22,3673           00005                           OCT      5                                     #  GROUP 5 OFF
036956,000355: 22,3674           05022                           OCT      05022                                 #  GROUP 2 ON
036957,000356: 22,3675           20000                           OCT      20000                                 
036958,000357: 
036959,000358: 22,3676           06042                           TC       INTPRET                               
036960,000359: 22,3677           43014                           SET      CLEAR                                 
036961,000360: 22,3700           01464                                    NOR29FLG                              #  SHUT OFF R29 WHEN SERVICER ENDS.
036962,000361: 22,3701           03664                                    SWANDISP                              #  SHUT OFF R10 WHEN SERVICER ENDS.
036963,000362: 22,3702           45014                           CLEAR    CALL                                  #  RESET MUNFLAG.
036964,000363: 22,3703           03267                                    MUNFLAG                               

Page 859

036966,000365: 22,3704           27463                                    AVETOMID                              
036967,000366: 22,3705           77414                           CLEAR    EXIT                                  
036968,000367: 22,3706           03671                                    V37FLAG                               
036969,000368: 22,3707           04635        AVERTRN            TC       POSTJUMP                              
036970,000369: 22,3710           10116                           CADR     V37RET                                
036971,000370: 
036972,000371: 22,3711  22,3707               OUTGOAVE           =        AVERTRN                               
036973,000372: 22,3711  E7,1570               DVCNTR1            =        MASS1                                 
036974,000373: 

Page 860

036976,000375: 27,2000                                           SETLOC   SERV3                                 
036977,000376: 27,2000                                           BANK                                           
036978,000377: 27,3322                                           COUNT*   $$/SERV                               
036979,000378: 
036980,000379: 27,3322           00006        SERVIDLE           EXTEND                                         #  DISCONNECT SERVICER FROM ALL GUIDANCE
036981,000380: 27,3323           33360                           DCA      SVEXTADR                              
036982,000381: 27,3324           53252                           DXCH     AVGEXIT                               
036983,000382: 
036984,000383: 27,3325           40103                           CS       FLAGWRD7                              #  DISCONNECT THE DELTA-V MONITOR
036985,000384: 27,3326           74745                           MASK     IDLEFBIT                              
036986,000385: 27,3327           26103                           ADS      FLAGWRD7                              
036987,000386: 
036988,000387: 27,3330           34735                           CAF      LRBYBIT                               #  TERMINATE R12 IF RUNNING.
036989,000388: 27,3331           54107                           TS       FLGWRD11                              
036990,000389: 
036991,000390: 27,3332           00006                           EXTEND                                         
036992,000391: 27,3333           34755                           DCA      NEG0                                  
036993,000392: 27,3334           52752                           DXCH     -PHASE1                               
036994,000393: 
036995,000394: 27,3335           30102                           CA       FLAGWRD6                              #  DO NOT TURN OFF PHASE 2 IF MUNFLAG SET.
036996,000395: 27,3336           74744                           MASK     MUNFLBIT                              
036997,000396: 27,3337           10000                           CCS      A                                     
036998,000397: 27,3340           13344                           TCF      +4                                    
036999,000398: 
037000,000399: 27,3341           00006                           EXTEND                                         
037001,000400: 27,3342           34755                           DCA      NEG0                                  
037002,000401: 27,3343           52754                           DXCH     -PHASE2                               
037003,000402: 
037004,000403: 27,3344           00006                 +4        EXTEND                                         
037005,000404: 27,3345           34755                           DCA      NEG0                                  
037006,000405: 27,3346           52756                           DXCH     -PHASE3                               
037007,000406: 
037008,000407: 27,3347           00006                           EXTEND                                         
037009,000408: 27,3350           34755                           DCA      NEG0                                  
037010,000409: 27,3351           52764                           DXCH     -PHASE6                               
037011,000410: 
037012,000411: 27,3352           34764                           CAF      OCT33                                 #  4.33SPOT FOR GOPOOFIX
037013,000412: 27,3353           54001                           TS       L                                     
037014,000413: 27,3354           40000                           COM                                            
037015,000414: 27,3355           52760                           DXCH     -PHASE4                               
037016,000415: 
037017,000416: 27,3356           15634                           TCF      WHIMPER                               #  PERFORM A SOFTWARE RESTART AND PROCEED
037018,000417:                                                                                                  #  TO GOTOPOOH WHILE SERVICER CONTINUES TO
037019,000418:                                                                                                  #  RUN, ALBEIT IN A GROUND STATE WHERE
037020,000419:                                                                                                  #  ONLY STATE-VECTOR DEPENDENT FUNCTIONS
037021,000420:                                                                                                  #  ARE MAINTAINED.
037022,000421: 
037023,000422: 27,3357  E7,1515                                  EBANK=   DVCNTR                                

Page 861

037025,000424: 27,3357           03746 64067  SVEXTADR           2CADR    SERVEXIT                              
037026,000425: 
037027,000426: 32,3746                                           BANK     32                                    
037028,000427: 32,2000                                           SETLOC   SERV                                  
037029,000428: 32,2000                                           BANK                                           
037030,000429: 32,3746                                           COUNT*   $$/SERV                               
037031,000430: 
037032,000431: 32,3746           05353        SERVEXIT           TC       PHASCHNG                              
037033,000432: 32,3747           00035                           OCT      00035                                 
037034,000433: 
037035,000434: 32,3750           15155                           TCF      ENDOFJOB                              
037036,000435: 
037037,000436: 23,2463                                           BANK     23                                    
037038,000437: 23,2000                                           SETLOC   NORMLIZ                               
037039,000438: 23,2000                                           BANK                                           
037040,000439: 
037041,000440: 23,2463                                           COUNT*   $$/SERV                               
037042,000441: 

Page 862

037044,000443:                                                                                                  #  NORMLIZE AND COPYCYCL
037045,000444: 
037046,000445: 23,2463           06042        NORMLIZE           TC       INTPRET                               
037047,000446: 23,2464           43175                           VLOAD    BOFF                                  
037048,000447: 23,2465           03545                                    RN1                                   
037049,000448: 23,2466           03347                                    MUNFLAG                               
037050,000449: 23,2467           66415                                    NORMLIZ1                              
037051,000450: 23,2470           64252                           VSL6     MXV                                   
037052,000451: 23,2471           01734                                    REFSMMAT                              
037053,000452: 23,2472           37521                           STCALL   R                                     
037054,000453: 23,2473           67067                                    MUNGRAV                               
037055,000454: 23,2474           76575                           VLOAD    VSL1                                  
037056,000455: 23,2475           03553                                    VN1                                   
037057,000456: 23,2476           77721                           MXV                                            
037058,000457: 23,2477           01734                                    REFSMMAT                              
037059,000458: 23,2500           27527                           STOVL    V                                     
037060,000459: 23,2501           01726                                    V(CSM)                                
037061,000460: 23,2502           53435                           VXV      UNIT                                  
037062,000461: 23,2503           01720                                    R(CSM)                                
037063,000462: 23,2504           03720                           STORE    UHYP                                  
037064,000463: 23,2505           77776        ASCSPOT            EXIT                                           
037065,000464: 23,2506           00006                           EXTEND                                         #  MAKE SURE GOUP 2 IS OFF.
037066,000465: 23,2507           34755                           DCA      NEG0                                  
037067,000466: 23,2510           52754                           DXCH     -PHASE2                               
037068,000467: 
037069,000468: 23,2511           04635                           TC       POSTJUMP                              
037070,000469: 23,2512           66420                           CADR     NORMLIZ2                              
037071,000470: 
037072,000471: 33,2415                                           BANK     33                                    
037073,000472: 33,2000                                           SETLOC   SERVICES                              
037074,000473: 33,2000                                           BANK                                           
037075,000474: 33,2415                                           COUNT*   $$/SERV                               
037076,000475: 
037077,000476: 33,2415           77624        NORMLIZ1           CALL                                           
037078,000477: 33,2416           66667                                    CALCGRAV                              
037079,000478: 33,2417           77776                           EXIT                                           
037080,000479: 
037081,000480: 33,2420           32437        NORMLIZ2           CA       EIGHTEEN                              
037082,000481: 33,2421           02424                           TC       COPYCYC    +1                         #  DO NOT COPY MASS IN NORMLIZE
037083,000482: 33,2422           05155                           TC       ENDOFJOB                              
037084,000483: 
037085,000484: 33,2423           36007        COPYCYC            CA       OCT24                                 #  DEC 20
037086,000485: 33,2424           00004                 +1        INHINT                                         
037087,000486: 33,2425           77752                 +2        MASK     NEG1                                  #  REDUCE BY 1 IF ODD
037088,000487: 33,2426           54061                           TS       ITEMP1                                
037089,000488: 33,2427           00006                           EXTEND                                         
037090,000489: 33,2430           50061                           INDEX    ITEMP1                                
037091,000490: 33,2431           31545                           DCA      RN1                                   
037092,000491: 33,2432           50061                           INDEX    ITEMP1                                

Page 863

037094,000493: 33,2433           53220                           DXCH     RN                                    
037095,000494: 33,2434           10061                           CCS      ITEMP1                                
037096,000495: 33,2435           12425                           TCF      COPYCYC    +2                         
037097,000496: 33,2436           00002                           TC       Q                                     #  RETURN UNDER INHINT
037098,000497: 
037099,000498: 33,2437           00022        EIGHTEEN           DEC      18         B-14                       
037100,000499: 

Page 864

037102,000501:                                                                                                  #  ******************* PIPA READER ********************
037103,000502:                                                                                                  #  MOD NO. 00  BY D. LICKLY  DEC.9 1966
037104,000503: 
037105,000504:                                                                                                  #  FUNCTIONAL DESCRIPTION
037106,000505:                                                                                                  #        SUBROUTINE TO READ PIPA COUNTERS, TRYING TO BE VERY CAREFUL SO THAT IT WILL BE RESTARTABLE.
037107,000506:                                                                                                  #        PIPA READINGS ARE STORED IN THE VECTOR DELV.  THE HIGH ORDER PART OF EACH COMPONENT CONTAINS THE PIPA READING,
037108,000507:                                                                                                  #        RESTARTS BEGIN AT REREADAC.
037109,000508: 
037110,000509:                                                                                                  #        AT THE END OF THE PIPA READER THE CDUS ARE READ AND STORED AS A
037111,000510:                                                                                                  #        VECTOR IN CDUTEMP.  THE HIGH ORDER PART OF EACH COMPONENT CONTAINS
037112,000511:                                                                                                  #        THE CDU READING IN 2S COMP IN THE ORDER CDUX,Y,Z.  THE THRUST
037113,000512:                                                                                                  #        VECTOR ESTIMATOR IN FINDCDUD REQUIRES THE CDUS BE READ AT PIPTIME.
037114,000513: 
037115,000514:                                                                                                  #  CALLING SEQUENCE AND EXIT
037116,000515:                                                                                                  #        CALL VIA TC, ISWCALL, ETC.
037117,000516:                                                                                                  #        EXIT IS VIA Q.
037118,000517: 
037119,000518:                                                                                                  #  INPUT
037120,000519:                                                                                                  #        INPUT IS THROUGH THE COUNTERS PIPAX, PIPAY, PIPAZ, AND TIME2.
037121,000520: 
037122,000521:                                                                                                  #  OUTPUT
037123,000522:                                                                                                  #        HIGH ORDER COMPONENTS OF THE VECTOR DELV CONTAIN THE PIPA READINGS.
037124,000523:                                                                                                  #        PIPTIME CONTAINS TIME OF PIPA READING.
037125,000524: 
037126,000525:                                                                                                  #  DEBRIS (ERASABLE LOCATIONS DESTROYED BY PROGRAM)
037127,000526:                                                                                                  #        TEMX    TEMY    TEMZ    PIPAGE
037128,000527: 
037129,000528: 37,3536                                           BANK     37                                    
037130,000529: 37,2000                                           SETLOC   SERV1                                 
037131,000530: 37,2000                                           BANK                                           
037132,000531: 
037133,000532: 37,3536                                           COUNT*   $$/SERV                               
037134,000533: 
037135,000534: 37,3536           00006        PIPASR             EXTEND                                         

Page 865

037137,000536: 37,3537           30025                           DCA      TIME2                                 
037138,000537: 37,3540           53561                           DXCH     PIPTIME1                              #  CURRENT TIME POSITIVE VALUE
037139,000538: 37,3541           44755                 +3        CS       ZERO                                  #  INITIALIZE THESE AT NEG. ZERO.
037140,000539: 37,3542           55253                           TS       TEMX                                  
037141,000540: 37,3543           55254                           TS       TEMY                                  
037142,000541: 37,3544           55255                           TS       TEMZ                                  
037143,000542: 
037144,000543: 37,3545           34755                           CA       ZERO                                  
037145,000544: 37,3546           54330                           TS       DELVZ                                 
037146,000545: 37,3547           54331                           TS       DELVZ      +1                         
037147,000546: 37,3550           54326                           TS       DELVY                                 
037148,000547: 37,3551           54327                           TS       DELVY      +1                         
037149,000548: 37,3552           54325                           TS       DELVX      +1                         
037150,000549: 37,3553           55256                           TS       PIPAGE                                #  SHOW PIPA READING IN PROGRESS
037151,000550: 
037152,000551: 37,3554           00006        REPIP1             EXTEND                                         
037153,000552: 37,3555           40040                           DCS      PIPAX                                 #  X AND Y PIPS READ
037154,000553: 37,3556           53254                           DXCH     TEMX                                  
037155,000554: 37,3557           52040                           DXCH     PIPAX                                 #  PIPAS SET TO NEG ZERO AS READ.
037156,000555: 37,3560           54324                           TS       DELVX                                 
037157,000556: 37,3561           22326                           LXCH     DELVY                                 
037158,000557: 
037159,000558: 37,3562           40041        REPIP3             CS       PIPAZ                                 #  REPEAT PROCESS FOR Z PIP
037160,000559: 37,3563           57255                           XCH      TEMZ                                  
037161,000560: 37,3564           56041                           XCH      PIPAZ                                 
037162,000561: 37,3565           54330        DODELVZ            TS       DELVZ                                 
037163,000562: 
037164,000563: 37,3566           00006        REPIP4             EXTEND                                         #  COMPUTE GUIDANCE PERIOD
037165,000564: 37,3567           31561                           DCA      PIPTIME1                              
037166,000565: 37,3570           53247                           DXCH     PGUIDE                                
037167,000566: 37,3571           00006                           EXTEND                                         
037168,000567: 37,3572           41234                           DCS      PIPTIME                               
037169,000568: 37,3573           21247                           DAS      PGUIDE                                
037170,000569: 
037171,000570: 37,3574           30032                           CA       CDUX                                  #  READ CDUS INTO HIGH ORDER CDUTEMPS
037172,000571: 37,3575           55154                           TS       CDUTEMPX                              
037173,000572: 37,3576           30033                           CA       CDUY                                  
037174,000573: 37,3577           55155                           TS       CDUTEMPY                              
037175,000574: 37,3600           30034                           CA       CDUZ                                  
037176,000575: 37,3601           55156                           TS       CDUTEMPZ                              
037177,000576: 37,3602           30324                           CA       DELVX                                 
037178,000577: 37,3603           55157                           TS       PIPATMPX                              
037179,000578: 37,3604           30326                           CA       DELVY                                 
037180,000579: 37,3605           55160                           TS       PIPATMPY                              
037181,000580: 37,3606           30330                           CA       DELVZ                                 
037182,000581: 37,3607           55161                           TS       PIPATMPZ                              
037183,000582: 
037184,000583: 37,3610           00002                           TC       Q                                     
037185,000584: 

Page 866

037187,000586: 37,3611           11256        REREADAC           CCS      PIPAGE                                
037188,000587: 37,3612           13437                           TCF      READACCS                              #  PIP READING NOT STARTED.  GO TO BEGINNING
037189,000588: 
037190,000589: 37,3613           33651                           CAF      DONEADR                               #  SET UP RETURN FROM PIPASR
037191,000590: 37,3614           54002                           TS       Q                                     
037192,000591: 
037193,000592: 37,3615           10330                           CCS      DELVZ                                 
037194,000593: 37,3616           13566                           TCF      REPIP4                                #  Z DONE, GO DO CDUS
037195,000594: 37,3617           13622                           TCF      +3                                    #  Z NOT DONE, CHECK Y.
037196,000595: 37,3620           13566                           TCF      REPIP4                                
037197,000596: 37,3621           13566                           TCF      REPIP4                                
037198,000597: 
037199,000598: 37,3622           22007                           ZL                                             
037200,000599: 37,3623           10326                           CCS      DELVY                                 
037201,000600: 37,3624           13627                           TCF      +3                                    
037202,000601: 37,3625           13636                           TCF      CHKTEMX                               #  Y NOT DONE, CHECK X.
037203,000602: 37,3626           13627                           TCF      +1                                    
037204,000603: 37,3627           22041                           LXCH     PIPAZ                                 #  Y DONE, ZERO Z PIP.
037205,000604: 
037206,000605: 37,3630           11255                           CCS      TEMZ                                  
037207,000606: 37,3631           41255                           CS       TEMZ                                  #  TEMZ NOT = -0, CONTAINS -PIPAZ VALUE.
037208,000607: 37,3632           13565                           TCF      DODELVZ                               
037209,000608: 37,3633           13631                           TCF      -2                                    
037210,000609: 37,3634           22330                           LXCH     DELVZ                                 #  TEMZ = -0, L HAS ZPIP VALUE.
037211,000610: 37,3635           13566                           TCF      REPIP4                                
037212,000611: 
037213,000612: 37,3636           11253        CHKTEMX            CCS      TEMX                                  #  HAS THIS CHANGED
037214,000613: 37,3637           41253                           CS       TEMX                                  #  YES
037215,000614: 37,3640           13643                           TCF      +3                                    #  YES
037216,000615: 37,3641           13637                           TCF      -2                                    #  YES
037217,000616: 37,3642           13554                           TCF      REPIP1                                #  NO
037218,000617: 37,3643           54324                           TS       DELVX                                 
037219,000618: 
037220,000619: 37,3644           41254                           CS       TEMY                                  
037221,000620: 37,3645           54326                           TS       DELVY                                 
037222,000621: 
037223,000622: 37,3646           44755                           CS       ZERO                                  #  ZERO X AND Y PIPS
037224,000623: 37,3647           52040                           DXCH     PIPAX                                 #  L STILL ZERO FROM ABOVE
037225,000624: 
037226,000625: 37,3650           13562                           TCF      REPIP3                                
037227,000626: 
037228,000627: 37,3651           03447        DONEADR            GENADR   PIPSDONE                              
037229,000628: 

Page 867

037231,000630: 33,2440                                           BANK     33                                    
037232,000631: 33,2000                                           SETLOC   SERVICES                              
037233,000632: 33,2000                                           BANK                                           
037234,000633: 
037235,000634: 33,2440                                           COUNT*   $$/SERV                               
037236,000635: 
037237,000636: 33,2440           31155        TMPTOSPT           CA       CDUTEMPY                              #  THIS SUBROUTINE, CALLED BY AN RTB FROM
037238,000637: 33,2441           54765                           TS       CDUSPOTY                              #  INTERPRETIVE, LOADS THE CDUS CORRESPON-
037239,000638: 33,2442           31156                           CA       CDUTEMPZ                              #  DING TO PIPTIME INTO THE CDUSPOT VECTOR.
037240,000639: 33,2443           54767                           TS       CDUSPOTZ                              
037241,000640: 33,2444           31154                           CA       CDUTEMPX                              
037242,000641: 33,2445           54771                           TS       CDUSPOTX                              
037243,000642: 33,2446           00002                           TC       Q                                     
037244,000643: 
037245,000644:                                                                                                  #  LRHTASK IS A WAITLIST TASK SET BY READACCS DURING THE DESCENT BRAKING
037246,000645:                                                                                                  #  PHASE WHEN THE ALT TO THE LUNAR SURFACE IS LESS THAN 25,000 FT.  THIS
037247,000646:                                                                                                  #  TASK CLEARS THE ALTITUDE MEASUREMENT MADE DISCRETE AND INITIATES THE
037248,000647:                                                                                                  #  LANDING RADAR MEASUREMENT JOB (LRHJOB) TO TAKE A ALTITUDE MEASUREMENT
037249,000648:                                                                                                  #  50 MS PRIOR TO THE NEXT READACCS TASK.
037250,000649: 
037251,000650: 21,2125                                           BANK     21                                    
037252,000651: 21,2000                                           SETLOC   R10                                   
037253,000652: 21,2000                                           BANK                                           
037254,000653: 
037255,000654: 21,2125                                           COUNT*   $$/SERV                               
037256,000655: 
037257,000656: 21,2125           40107        LRHTASK            CS       FLGWRD11                              
037258,000657: 21,2126           74735                           MASK     LRBYBIT                               
037259,000658: 21,2127           00006                           EXTEND                                         
037260,000659: 21,2130           12141                           BZF      GRP2OFF                               #  LR BYPASS SET - BYPASS ALL LR READING.
037261,000660: 
037262,000661: 21,2131           40107                           CS       FLGWRD11                              
037263,000662: 21,2132           74742                           MASK     NOLRRBIT                              #  IS LR READ INHIBITED?
037264,000663: 21,2133           00006                           EXTEND                                         
037265,000664: 21,2134           12141                           BZF      GRP2OFF                               #  YES.  BYPASS LR READ.
037266,000665: 
037267,000666: 21,2135           37723                           CA       PRIO32                                #  LR READ OK   SET JOB TO DO IT
037268,000667: 21,2136           05072                           TC       NOVAC                                 #  ABOUT 50 MS PRIOR TO PIPA READ
037269,000668: 21,2137  E7,1654                                  EBANK=   HMEAS                                 
037270,000669: 21,2137           03571 70067                     2CADR    LRHJOB                                
037271,000670: 
037272,000671: 21,2141           00006        GRP2OFF            EXTEND                                         
037273,000672: 21,2142           34755                           DCA      NEG0                                  
037274,000673: 21,2143           52754                           DXCH     -PHASE2                               
037275,000674: 21,2144           12021                           TCF      R10,R11A                              
037276,000675: 
037277,000676: 33,2447                                           BANK     33                                    
037278,000677: 33,2000                                           SETLOC   SERVICES                              
037279,000678: 33,2000                                           BANK                                           

Page 868

037281,000680: 33,2447                                           COUNT*   $$/SERV                               
037282,000681: 
037283,000682:                                                                                                  #  HIGATASK IS ENTERED APPROXIMATELY 6 SECS PRIOR TO HIGATE DURING THE
037284,000683:                                                                                                  #  DESCENT PHASE.  HIGATASK SETS THE HIGATE FLAG (BIT11) AND THE LR INHIBIT
037285,000684:                                                                                                  #  FLAG (BIT10) IN LRSTAT.  THE HIGATJOB IS SET UP TO REPOSITION THE LR
037286,000685:                                                                                                  #  ANTENNA FROM POSITION 1 TO POSITION 2.  IF THE REPOSITIONING IS
037287,000686:                                                                                                  #  SUCCESSFUL THE ALT BEAM AND VELOCITY BEAMS ARE TRANSFORMED TO THE NEW
037288,000687:                                                                                                  #  ORIENTATION IN NB COORDINATES AND STORED IN ERASABLE.
037289,000688: 
037290,000689: 33,2447           05353        HIGATASK           TC       PHASCHNG                              
037291,000690: 33,2450           00051                           OCT      51                                    
037292,000691: 
037293,000692: 33,2451           37723                           CA       PRIO32                                
037294,000693: 33,2452           05105                           TC       FINDVAC                               
037295,000694: 33,2453  E7,1654                                  EBANK=   HMEAS                                 
037296,000695: 33,2453           03634 66067                     2CADR    HIGATJOB                              
037297,000696: 
037298,000697: 33,2455           40107                           CS       FLGWRD11                              
037299,000698: 33,2456           75015                           MASK     PRIO3                                 
037300,000699: 33,2457           26107                           ADS      FLGWRD11                              
037301,000700: 33,2460           12546                           TCF      CONTSERV   +1                         
037302,000701: 

Page 869

037304,000703:                                                                                                  #  MUNRETRN IS THE RETURN LOC FROM SPECIAL AVE G ROUTINE (MUNRVG)
037305,000704: 
037306,000705: 33,2461           77776        MUNRETRN           EXIT                                           
037307,000706: 
037308,000707: 33,2462           40107                           CS       FLGWRD11                              
037309,000708: 33,2463           74735                           MASK     LRBYBIT                               
037310,000709: 33,2464           00006                           EXTEND                                         
037311,000710: 33,2465           12551                           BZF      COPYCYC1                              #  BYPASS LR LOGIC IF BIT15 IS SET.
037312,000711: 
037313,000712: 33,2466           40107                           CS       FLGWRD11                              #  CHECK IF AT 30000 FT
037314,000713: 33,2467           74743                           MASK     XORFLBIT                              
037315,000714: 33,2470           00006                           EXTEND                                         
037316,000715: 33,2471           12506                           BZF      R12                                   
037317,000716: 
037318,000717: 33,2472           00006        30KCHK             EXTEND                                         
037319,000718: 33,2473           33113                           DCA      1-30KFT                               
037320,000719: 33,2474           52155                           DXCH     MPAC                                  
037321,000720: 33,2475           00006                           EXTEND                                         
037322,000721: 33,2476           31535                           DCA      HCALC                                 
037323,000722: 33,2477           20155                           DAS      MPAC                                  
037324,000723: 
037325,000724: 33,2500           10000                           CCS      A                                     
037326,000725: 33,2501           12506                           TCF      R12                                   #  ALTITUDE > 30KFT
037327,000726: 33,2502           05504                           TC       UPFLAG                                #  ALTITUDE < 30KFT SET X-AXIS OVERRIDE
037328,000727: 33,2503           00311                           ADRES    XOVINFLG                              
037329,000728: 33,2504           05504                           TC       UPFLAG                                
037330,000729: 33,2505           00253                           ADRES    XORFLG                                
037331,000730: 
037332,000731: 33,2506           40107        R12                CS       FLGWRD11                              
037333,000732: 33,2507           74742                           MASK     NOLRRBIT                              
037334,000733: 33,2510           00006                           EXTEND                                         
037335,000734: 33,2511           12545                           BZF      CONTSERV                              
037336,000735: 
037337,000736: 33,2512           40107                           CS       FLGWRD11                              
037338,000737: 33,2513           74751                           MASK     NO511BIT                              
037339,000738: 33,2514           00006                           EXTEND                                         
037340,000739: 33,2515           13115                           BZF      UPDATCHK                              #  IF N0511BIT SET, DO NOT CHECK OR POSITION
037341,000740: 
037342,000741: 33,2516           40107        HITEST             CS       FLGWRD11                              
037343,000742: 33,2517           74741                           MASK     PSTHIBIT                              
037344,000743: 33,2520           00006                           EXTEND                                         
037345,000744: 33,2521           12540                           BZF      POS2CHK                               
037346,000745: 33,2522           31642        HIGATCHK           CA       TTF/8                                 #  IS TTF > CRITERION?  (TTF IS NEGATIVE)
037347,000746: 33,2523           61427                           AD       RPCRTIME                              
037348,000747: 33,2524           00006                           EXTEND                                         
037349,000748: 33,2525           62536                           BZMF     POS1CHK                               #  NO
037350,000749: 
037351,000750: 33,2526           34741                           CA       EBANK4                                #  MUST SWITCH EBANKS
037352,000751: 33,2527           56003                           XCH      EBANK                                 
037353,000752: 33,2530           54001                           TS       L                                     #  SAVE IN L

Page 870

037355,000754: 33,2531  E4,1545                                  EBANK=   XNBPIP                                
037356,000755: 33,2531           41545                           CS       XNBPIP                                #  UXBXP IN GSOP CH5
037357,000756: 33,2532  E7,1515                                  EBANK=   DVCNTR                                
037358,000757: 33,2532           22003                           LXCH     EBANK                                 #  RESTORE EBANK
037359,000758: 33,2533           61430                           AD       RPCRTQSW                              #  QSW - UXBXP
037360,000759: 33,2534           00006                           EXTEND                                         
037361,000760: 33,2535           62447                           BZMF     HIGATASK                              #  IF UXBXP > QSW, THEN REPOSITION
037362,000761: 
037363,000762: 33,2536           34746        POS1CHK            CAF      BIT6                                  
037364,000763: 33,2537           12541                           TCF      +2                                    
037365,000764: 
037366,000765: 33,2540           34745        POS2CHK            CAF      BIT7                                  
037367,000766: 33,2541           03674                           TC       POSTST                                
037368,000767: 33,2542           13115                           TCF      UPDATCHK                              #  LR IN RIGHT POSITION - CONTINUE
037369,000768: 
037370,000769: 33,2543           05567        LRPOSALM           TC       ALARM                                 #  LR NOT IN PROPER POS-ALARM-BYPASS UPDATE
037371,000770: 33,2544           00511                           OCT      511                                   #  AND CONTINUE SERVICER
037372,000771: 33,2545           00004        CONTSERV           INHINT                                         
037373,000772: 33,2546           43111                           CS       BITS4-7                               
037374,000773: 33,2547           70107                           MASK     FLGWRD11                              #  CLEAR LR MEASUREMENT MADE DISCRETES.
037375,000774: 33,2550           54107                           TS       FLGWRD11                              
037376,000775: 

Page 871

037378,000777: 33,2551           03512        COPYCYC1           TC       QUIKFAZ5                              
037379,000778: 
037380,000779: 33,2552           30077        R297               CA       FLAGWRD3                              
037381,000780: 33,2553           75014                           MASK     NR29&RDR                              
037382,000781: 33,2554           10000                           CCS      A                                     #  IS NOR29FLG OR READRFLG SET?
037383,000782: 33,2555           12567                           TCF      R29NODES                              #  YES, SO DON'T DESIGNATE.
037384,000783: 
037385,000784: 33,2556           30110                           CA       RADMODES                              #  NO, SO R29 IS CALLED FOR.
037386,000785: 33,2557           72250                           MASK     OCT10002                              #  IS THE RR NOT ZEROING ITS CDUS, AND
037387,000786: 33,2560           10000                           CCS      A                                     #  IS THE RENDEZVOUS RADAR IN AUTO MODE?
037388,000787: 33,2561           12567                           TCF      R29NODES                              #  NO, SO DON'T DESIGNATE.
037389,000788: 
037390,000789: 33,2562           30110                           CA       RADMODES                              
037391,000790: 33,2563           77713                           MASK     PRIO22                                
037392,000791: 33,2564           10000                           CCS      A                                     #  IS RR REPOSITIONING OR REMODING?
037393,000792: 33,2565           12573                           TCF      NOR29NOW                              #  YES; COME BACK IN 2 SECONDS & TRY AGAIN.
037394,000793: 
037395,000794: 33,2566           12045                           TCF      R29                                   
037396,000795: 
037397,000796: 33,2567           00004        R29NODES           INHINT                                         #  R29 NOT ALLOWED THIS CYCLE.
037398,000797: 33,2570           44742                           CS       DESIGBIT                              #  SHOW THAT DESIGNATION IS OFF.
037399,000798: 33,2571           70110                           MASK     RADMODES                              
037400,000799: 33,2572           54110                           TS       RADMODES                              
037401,000800: 
037402,000801: 33,2573           06042        NOR29NOW           TC       INTPRET                               #  INTPRET DOES A RELINT.
037403,000802: 33,2574           51575                           VLOAD    ABVAL                                 #  MPAC = ABVAL( NEW SM. POSITION VECTOR )
037404,000803: 33,2575           03573                                    R1S                                   
037405,000804: 33,2576           45206                           PUSH     DSU                                   #                                (2)
037406,000805: 33,2577           02333                                    /LAND/                                
037407,000806: 33,2600           03535                           STORE    HCALC                                 #  NEW HCALC*2(24)M.
037408,000807: 33,2601           03775                           STORE    HCALC1                                
037409,000808: 33,2602           47075                           DMPR     RTB                                   
037410,000809: 33,2603           26026                                    ALTCONV                               
037411,000810: 33,2604           21613                                    SGNAGREE                              
037412,000811: 33,2605           27742                           STOVL    ALTBITS                               #  ALTITUDE FOR R10 IN BIT UNITS.
037413,000812: 33,2606           03537                                    UNIT/R/                               
037414,000813: 33,2607           53435                           VXV      UNIT                                  
037415,000814: 33,2610           03720                                    UHYP                                  
037416,000815: 33,2611           27726                           STOVL    UHZP                                  #  DOWNRANGE HALF-UNIT VECTOR FOR R10.
037417,000816: 33,2612           03573                                    R1S                                   
037418,000817: 33,2613           60505                           VXM      VSR4                                  
037419,000818: 33,2614           01734                                    REFSMMAT                              
037420,000819: 33,2615           27545                           STOVL    RN1                                   #  TEMP. REF. POSITION VECTOR*2(29)M.
037421,000820: 33,2616           03601                                    V1S                                   
037422,000821: 33,2617           76505                           VXM      VSL1                                  
037423,000822: 33,2620           01734                                    REFSMMAT                              
037424,000823: 33,2621           27553                           STOVL    VN1                                   #  TEMP. REF. VELOCITY VECTOR*2(7)M/CS.
037425,000824: 33,2622           03537                                    UNIT/R/                               
037426,000825: 33,2623           51435                           VXV      ABVAL                                 

Page 872

037428,000827: 33,2624           03601                                    V1S                                   
037429,000828: 33,2625           63552                           SL1      DSQ                                   
037430,000829: 33,2626           77671                           DDV                                            
037431,000830: 33,2627           47075                           DMPR     RTB                                   
037432,000831: 33,2630           26030                                    ARCONV1                               
037433,000832: 33,2631           21613                                    SGNAGREE                              
037434,000833: 33,2632           77776        COPYCYC2           EXIT                                           #  LEAVE ALTITUDE RATE COMPENSATION IN MPAC
037435,000834: 33,2633           00004                           INHINT                                         
037436,000835: 33,2634           31536                           CA       UNIT/R/                               #  UPDATE RUNIT FOR R10.
037437,000836: 33,2635           55743                           TS       RUNIT                                 
037438,000837: 33,2636           31540                           CA       UNIT/R/    +2                         
037439,000838: 33,2637           55744                           TS       RUNIT      +1                         
037440,000839: 33,2640           31542                           CA       UNIT/R/    +4                         
037441,000840: 33,2641           55745                           TS       RUNIT      +2                         
037442,000841: 33,2642           30154                           CA       MPAC                                  #  LOAD NEW DALTRATE FOR R10.
037443,000842: 33,2643           55716                           TS       DALTRATE                              
037444,000843: 
037445,000844: 33,2644           00006                           EXTEND                                         
037446,000845: 33,2645           31573                           DCA      R1S                                   
037447,000846: 33,2646           53521                           DXCH     R                                     
037448,000847: 33,2647           00006                           EXTEND                                         
037449,000848: 33,2650           31575                           DCA      R1S        +2                         
037450,000849: 33,2651           53523                           DXCH     R          +2                         
037451,000850: 33,2652           00006                           EXTEND                                         
037452,000851: 33,2653           31577                           DCA      R1S        +4                         
037453,000852: 33,2654           53525                           DXCH     R          +4                         
037454,000853: 33,2655           00006                           EXTEND                                         
037455,000854: 33,2656           31601                           DCA      V1S                                   
037456,000855: 33,2657           53527                           DXCH     V                                     
037457,000856: 33,2660           00006                           EXTEND                                         
037458,000857: 33,2661           31603                           DCA      V1S        +2                         
037459,000858: 33,2662           53531                           DXCH     V          +2                         
037460,000859: 33,2663           00006                           EXTEND                                         
037461,000860: 33,2664           31605                           DCA      V1S        +4                         
037462,000861: 33,2665           53533                           DXCH     V          +4                         
037463,000862: 
037464,000863: 33,2666           12275                           TCF      COPYCYCL                              #  COMPLETE THE COYPCYCL.
037465,000864: 

Page 873

037467,000866:                                                                                                  #  *********************************************************************************************************
037468,000867: 
037469,000868: 33,2667           41456        CALCGRAV           UNIT     PUSH                                  #  SAVE UNIT/R/ IN PUSHLIST      (18)
037470,000869: 33,2670           03537                           STORE    UNIT/R/                               
037471,000870: 33,2671           67340                           LXC,1    SLOAD                                 #  RTX2 = 0 IF EARTH ORBIT, =2 IF LUNAR.
037472,000871: 33,2672           02777                                    RTX2                                  
037473,000872: 33,2673           03000                                    RTX2                                  
037474,000873: 33,2674           50076                           DCOMP    BMN                                   
037475,000874: 33,2675           66724                                    CALCGRV1                              
037476,000875: 33,2676           50375                           VLOAD    DOT                                   #                                (12)
037477,000876: 33,2677           06516                                    UNITZ                                 
037478,000877: 33,2700           03537                                    UNIT/R/                               
037479,000878: 33,2701           41552                           SL1      PUSH                                  #                                (14)
037480,000879: 33,2702           44316                           DSQ      BDSU                                  
037481,000880: 33,2703           26766                                    DP1/20                                
037482,000881: 33,2704           56325                           PDDL     DDV                                   
037483,000882: 33,2705           26040                                    RESQ                                  
037484,000883: 33,2706           00043                                    34D                                   #  (RN)SQ
037485,000884: 33,2707           00041                           STORE    32D                                   #  TEMP FOR (RE/RN)SQ
037486,000885: 33,2710           41205                           DMP      DMP                                   
037487,000886: 33,2711           26042                                    20J                                   
037488,000887: 33,2712           65361                           VXSC     PDDL                                  
037489,000888: 33,2713           03537                                    UNIT/R/                               
037490,000889: 33,2714           41205                           DMP      DMP                                   
037491,000890: 33,2715           26044                                    2J                                    
037492,000891: 33,2716           00041                                    32D                                   
037493,000892: 33,2717           76561                           VXSC     VSL1                                  
037494,000893: 33,2720           06516                                    UNITZ                                 
037495,000894: 33,2721           45455                           VAD      STADR                                 
037496,000895: 33,2722           74256                           STORE    UNITGOBL                              
037497,000896: 33,2723           41455                           VAD      PUSH                                  #  MPAC = UNIT GRAVITY VECTOR.   (18)
037498,000897: 33,2724           60345        CALCGRV1           DLOAD    NORM                                  #  PERFORM A NORMALIZATION ON RMAGSQ IN
037499,000898: 33,2725           00043                                    34D                                   #  ORDER TO BE ABLE TO SCALE THE MU FOR
037500,000899: 33,2726           00050                                    X2                                    #  MAXIMUM PRECISION.
037501,000900: 33,2727           53663                           BDDV*    SLR*                                  
037502,000901: 33,2730           26032                                    -MUDT,1                               
037503,000902: 33,2731           56623                                    0          -21D,2                     
037504,000903: 33,2732           45561                           VXSC     STADR                                 
037505,000904: 33,2733           74214                           STORE    GDT1/2                                #  SCALED AT 2(+7) M/CS
037506,000905: 33,2734           77616                           RVQ                                            
037507,000906: 
037508,000907: 33,2735           61375        CALCRVG            VLOAD    VXM                                   
037509,000908: 33,2736           00325                                    DELV                                  
037510,000909: 33,2737           01734                                    REFSMMAT                              
037511,000910: 33,2740           76561                           VXSC     VSL1                                  
037512,000911: 33,2741           26022                                    KPIP1                                 
037513,000912: 33,2742           03527                           STORE    DELVREF                               
037514,000913: 33,2743           41562                           VSR1     PUSH                                  
037515,000914: 33,2744           41455                           VAD      PUSH                                  #  (DV-OLDGDT)/2 TO PD SCALED AT 2(+7)M/CS

Page 874

037517,000916: 33,2745           01236                                    GDT/2                                 
037518,000917: 33,2746           65255                           VAD      PDDL                                  #                                        (18)
037519,000918: 33,2747           01226                                    VN                                    
037520,000919: 33,2750           01247                                    PGUIDE                                
037521,000920: 33,2751           74261                           SL       VXSC                                  
037522,000921: 33,2752           20207                                    6D                                    
037523,000922: 33,2753           44055                           VAD      STQ                                   
037524,000923: 33,2754           01220                                    RN                                    
037525,000924: 33,2755           00037                                    31D                                   
037526,000925: 33,2756           37545                           STCALL   RN1                                   #  TEMP STORAGE OF RN SCALED 2(+29) M
037527,000926: 33,2757           66667                                    CALCGRAV                              
037528,000927: 
037529,000928: 33,2760           53255                           VAD      VAD                                   
037530,000929: 33,2761           77655                           VAD                                            
037531,000930: 33,2762           01226                                    VN                                    
037532,000931: 33,2763           37553                           STCALL   VN1                                   #  TEMP STORAGE OF VN SCALED 2(+7) M/CS
037533,000932: 33,2764           00037                                    31D                                   
037534,000933: 
037535,000934: 33,2765           01463 06315  DP1/20             2DEC     0.05                                  
037536,000935: 33,2767           00010 00000  SHIFT11            2DEC     1          B-11                       
037537,000936: 

Page 875

037539,000938:                                                                                                  #  ****************************************************************************************************************
037540,000939:                                                                                                  #  MUNRVG IS A SPECIAL AVERAGE G INTEGRATION ROUTINE USED BY THRUSTING
037541,000940:                                                                                                  #  PROGRAMS WHICH FUNCTION IN THE VICINITY OF AN ASSUMED SPHERICAL MOON.
037542,000941:                                                                                                  #  THE INPUT AND OUTPUT QUANTITIES ARE REFERENCED TO THE STABLE MEMBER
037543,000942:                                                                                                  #  COORDINATE SYSTEM.
037544,000943: 
037545,000944: 33,2771           41575        RVBOTH             VLOAD    PUSH                                  
037546,000945: 33,2772           02317                                    G(CSM)                                
037547,000946: 33,2773           65255                           VAD      PDDL                                  
037548,000947: 33,2774           01726                                    V(CSM)                                
037549,000948: 33,2775           01247                                    PGUIDE                                
037550,000949: 33,2776           74271                           DDV      VXSC                                  
037551,000950: 33,2777           26770                                    SHIFT11                               
037552,000951: 33,3000           77655                           VAD                                            
037553,000952: 33,3001           01720                                    R(CSM)                                
037554,000953: 33,3002           37573                           STCALL   R1S                                   
037555,000954: 33,3003           67067                                    MUNGRAV                               
037556,000955: 33,3004           53255                           VAD      VAD                                   
037557,000956: 33,3005           01726                                    V(CSM)                                
037558,000957: 33,3006           77626                           STADR                                          
037559,000958: 33,3007           74176                           STORE    V1S                                   
037560,000959: 33,3010           77776                           EXIT                                           
037561,000960: 33,3011           03512                           TC       QUIKFAZ5                              
037562,000961: 33,3012           06042                           TC       INTPRET                               
037563,000962: 33,3013           77775                           VLOAD                                          
037564,000963: 33,3014           03563                                    GDT1/2                                
037565,000964: 33,3015           26317                           STOVL    G(CSM)                                
037566,000965: 33,3016           03573                                    R1S                                   
037567,000966: 33,3017           25720                           STOVL    R(CSM)                                
037568,000967: 33,3020           03601                                    V1S                                   
037569,000968: 33,3021           01726                           STORE    V(CSM)                                
037570,000969: 33,3022           77776                           EXIT                                           
037571,000970: 33,3023           03512                           TC       QUIKFAZ5                              
037572,000971: 33,3024           06042                           TC       INTPRET                               
037573,000972: 33,3025           74375        MUNRVG             VLOAD    VXSC                                  
037574,000973: 33,3026           00325                                    DELV                                  
037575,000974: 33,3027           26024                                    KPIP2                                 
037576,000975: 33,3030           53206                           PUSH     VAD                                   #  1ST PUSH:  DELV IN UNITS OF 2(8) M/CS
037577,000976: 33,3031           01236                                    GDT/2                                 
037578,000977: 33,3032           53206                           PUSH     VAD                                   #  2ND PUSH:  (DELV + GDT)/2, UNITS OF 2(7)
037579,000978: 33,3033           03527                                    V                                     #                                        (12)
037580,000979: 33,3034           56325                           PDDL     DDV                                   
037581,000980: 33,3035           01247                                    PGUIDE                                
037582,000981: 33,3036           26770                                    SHIFT11                               
037583,000982: 33,3037           77761                           VXSC                                           
037584,000983: 33,3040           77655                           VAD                                            
037585,000984: 33,3041           03521                                    R                                     
037586,000985: 33,3042           37573                           STCALL   R1S                                   #  STORE R SCALED AT 2(+24) M.
037587,000986: 33,3043           67067                                    MUNGRAV                               

Page 876

037589,000988: 33,3044           53255                           VAD      VAD                                   
037590,000989: 33,3045           77655                           VAD                                            #                                        (0)
037591,000990: 33,3046           03527                                    V                                     
037592,000991: 33,3047           03601                           STORE    V1S                                   #  STORE V SCALED AT 2(+7) M/CS.
037593,000992: 33,3050           77646                           ABVAL                                          
037594,000993: 33,3051           27472                           STOVL    ABVEL                                 #  STORE SPEED FOR LR AND DISPLAYS.
037595,000994: 33,3052           03537                                    UNIT/R/                               
037596,000995: 33,3053           72441                           DOT      SL1                                   
037597,000996: 33,3054           03601                                    V1S                                   
037598,000997: 33,3055           27474                           STOVL    HDOTDISP                              #  HDOT = V. UNIT(R)*2(7) M/CS.
037599,000998: 33,3056           03573                                    R1S                                   
037600,000999: 33,3057           72435                           VXV      VSL2                                  
037601,001000: 33,3060           02325                                    WM                                    
037602,001001: 33,3061           17734                           STODL    DELVS                                 #  LUNAR ROTATION CORRECTION TERM*2(5)M/CS.
037603,001002: 33,3062           00045                                    36D                                   
037604,001003: 33,3063           77625                           DSU                                            
037605,001004: 33,3064           02333                                    /LAND/                                
037606,001005: 33,3065           37535                           STCALL   HCALC                                 #  FOR NOW, DISPLAY WHETHER POS OR NEG
037607,001006: 33,3066           66461                                    MUNRETRN                              
037608,001007: 33,3067           77656        MUNGRAV            UNIT                                           #  AT 36D HAVE ABVAL(R), AT 34D R.R
037609,001008: 33,3070           17537                           STODL    UNIT/R/                               
037610,001009: 33,3071           00043                                    34D                                   
037611,001010: 33,3072           55261                           SL       BDDV                                  
037612,001011: 33,3073           20207                                    6D                                    
037613,001012: 33,3074           26036                                    -MUDTMUN                              
037614,001013: 33,3075           74205                           DMP      VXSC                                  
037615,001014: 33,3076           26770                                    SHIFT11                               
037616,001015: 33,3077           03537                                    UNIT/R/                               
037617,001016: 33,3100           03563                           STORE    GDT1/2                                #  1/2GDT SCALED AT 2(7) M/CS.
037618,001017: 33,3101           77616                           RVQ                                            
037619,001018: 
037620,001019: 33,3102           00303        1.95SECS           DEC      195        B-14                       
037621,001020: 33,3103           00014 20000  2SEC(18)           2DEC     200        B-18                       
037622,001021: 33,3105           00000 00310  2SEC(28)           2OCT     0000000310                            #  2SEC AT 2(28)
037623,001022: 33,3107           00000 00620  4SEC(28)           2DEC     400        B-28                       
037624,001023: 33,3111           00110        BITS4-7            OCT      110                                   
037625,001024: 33,3112           37767 02200  1-30KFT            2DEC     16768072   B-24                       #  DPPOSMAX-30KFT
037626,001025: 33,3114           04445        6KFT/SEC           DEC      18.288     B-7                        #  6000 FT/SEC AT 2(7) M/CS
037627,001026: 

Page 877

037629,001028: 33,3115           34742        UPDATCHK           CAF      NOLRRBIT                              #  SEE IF LR UPDATE INHIBITED.
037630,001029: 33,3116           70107                           MASK     FLGWRD11                              
037631,001030: 33,3117           10000                           CCS      A                                     
037632,001031: 33,3120           12545                           TCF      CONTSERV                              #  IT IS - NO LR UPDATE
037633,001032: 33,3121           34750                           CAF      RNGEDBIT                              #  NO INHIBIT - SEE ALT MEAS. THIS CYCLE.
037634,001033: 33,3122           70107                           MASK     FLGWRD11                              
037635,001034: 33,3123           00006                           EXTEND                                         
037636,001035: 33,3124           13250                           BZF      VMEASCHK                              #  NO ALT MEAS THIS CYCLE - CHECK FOR VEL
037637,001036: 
037638,001037: 33,3125           30120        POSUPDAT           CA       FIXLOC                                #  SET PUSHLIST TO ZERO
037639,001038: 33,3126           54166                           TS       PUSHLOC                               
037640,001039: 
037641,001040: 33,3127           06042                           TC       INTPRET                               
037642,001041: 33,3130           61375                           VLOAD    VXM                                   
037643,001042: 33,3131           02273                                    HBEAMNB                               
037644,001043: 33,3132           02146                                    XNBPIP                                #  HBEAM SM AT 2(2)
037645,001044: 33,3133           72515                           PDVL     VSL2                                  #  STORE HBEAM IN PD 0-5
037646,001045: 33,3134           03601                                    V1S                                   #  SCALE V AT 2(5) M/CS
037647,001046: 33,3135           50255                           VAD      DOT                                   
037648,001047: 33,3136           03734                                    DELVS                                 #  V RELATIVE TO SURFACE AT 2(5) M/CS
037649,001048: 33,3137           00001                                    0D                                    #  V ALONG HBEAM AT 2(7) M/CS
037650,001049: 33,3140           77405                           DMP      EXIT                                  
037651,001050: 33,3141           01352                                    RADSKAL                               #  SCALE TO RADAR COUNTS X 5
037652,001051: 
037653,001052: 33,3142           40110                           CS       FLGWRD12                              #  TEST LR ALTITUDE SCALE FACTOR
037654,001053: 33,3143           74743                           MASK     ALTSCBIT                              
037655,001054: 33,3144           00006                           EXTEND                                         
037656,001055: 33,3145           13150                           BZF      +3                                    #  BRANCH IF HIGH SCALE
037657,001056: 
037658,001057: 33,3146           31353                           CA       SKALSKAL                              #  RESCALE IF LOW SCALE
037659,001058: 33,3147           07312                           TC       SHORTMP                               
037660,001059: 
037661,001060: 33,3150           06042                 +3        TC       INTPRET                               
037662,001061: 33,3151           54215                           DAD      SL                                    #  CORRECT HMEAS FOR DOPPLER EFFECT
037663,001062: 33,3152           03655                                    HMEAS                                 
037664,001063: 33,3153           20210                                    7D                                    
037665,001064: 33,3154           74205                           DMP      VXSC                                  #  SLANT RANGE AT 2(21), PUSH UP FOR HBEAM
037666,001065: 33,3155           26011                                    HSCAL                                 #  SLANT RANGE VECTOR AT 2(23) M
037667,001066: 33,3156           45241                           DOT      DSU                                   
037668,001067: 33,3157           03537                                    UNIT/R/                               #  ALTITUDE AT 2(24) M
037669,001068: 33,3160           03535                                    HCALC                                 #  DELTA H AT 2(24) M
037670,001069: 33,3161           03665                           STORE    DELTAH                                
037671,001070: 33,3162           77776                           EXIT                                           
037672,001071: 
037673,001072: 33,3163           30107                           CA       FLGWRD11                              
037674,001073: 33,3164           74741                           MASK     PSTHIBIT                              
037675,001074: 33,3165           00006                           EXTEND                                         #  DO NOT PERFORM DATA REASONABLENESS TEST
037676,001075: 33,3166           13203                           BZF      NOREASON                              #  UNTIL AFTER HIGATE

Page 878

037678,001077: 33,3167           06042                           TC       INTPRET                               
037679,001078: 33,3170           45246                           ABS      DSU                                   
037680,001079: 33,3171           02521                                    DELQFIX                               #  ABS(DELTAH) - DQFIX   50 FT NOM
037681,001080: 33,3172           45252                           SL3      DSU                                   #  SCALE TO 2(21)
037682,001081: 33,3173           03535                                    HCALC                                 #  ABS(DELTAH) - (50 + HCALC/8) AT 2(21)
037683,001082: 33,3174           77776                           EXIT                                           
037684,001083: 
037685,001084: 33,3175           25670                           INCR     LRLCTR                                
037686,001085: 33,3176           06726                           TC       BRANCH                                
037687,001086: 33,3177           13520                           TCF      HFAIL                                 #  DELTA H TOO LARGE
037688,001087: 33,3200           13520                           TCF      HFAIL                                 #  DELTA H TOO LARGE
037689,001088: 33,3201           05516                           TC       DOWNFLAG                              #  TURN OFF ALT FAIL LAMP
037690,001089: 33,3202           00263                           ADRES    HFLSHFLG                              
037691,001090: 
037692,001091: 33,3203           40107        NOREASON           CS       FLGWRD11                              
037693,001092: 33,3204           74744                           MASK     LRINHBIT                              
037694,001093: 33,3205           10000                           CCS      A                                     
037695,001094: 33,3206           13250                           TCF      VMEASCHK                              #  UPDATE INHIBITED - TEST VELOCITY ANYWAY
037696,001095: 
037697,001096: 33,3207           06042                           TC       INTPRET                               #  DO POSITION UPDATE
037698,001097: 33,3210           40545                           DLOAD    SR4                                   
037699,001098: 33,3211           03535                                    HCALC                                 #  RESCALE H TO 2(28)M
037700,001099: 33,3212           77776                           EXIT                                           
037701,001100: 33,3213           00006                           EXTEND                                         
037702,001101: 33,3214           31665                           DCA      DELTAH                                #  STORE DELTAH IN MPAC AND
037703,001102: 33,3215           52155                           DXCH     MPAC                                  #  BRING HCALC INTO A,L
037704,001103: 33,3216           07547                           TC       ALSIGNAG                              
037705,001104: 33,3217           00006                           EXTEND                                         #  IF HIGH PART OF HCALC IS NON ZERO, THEN
037706,001105: 33,3220           13222                           BZF      +2                                    #  HCALC > HMAX,
037707,001106: 33,3221           13250                           TCF      VMEASCHK                              #  SO UPDATE IS BYPASSED
037708,001107: 33,3222           54156                           TS       MPAC       +2                         #        FOR LATER SHORTMP
037709,001108: 
037710,001109: 33,3223           40001                           CS       L                                     #  -H AT 2(14) M
037711,001110: 33,3224           61420                           AD       LRHMAX                                #  HMAX - H
037712,001111: 33,3225           00006                           EXTEND                                         
037713,001112: 33,3226           63250                           BZMF     VMEASCHK                              #  IF H >HMAX, BYPASS UPDATE
037714,001113: 33,3227           00006                           EXTEND                                         
037715,001114: 33,3230           71421                           MP       LRWH                                  #  WH(HMAX - H)
037716,001115: 33,3231           00006                           EXTEND                                         
037717,001116: 33,3232           11420                           DV       LRHMAX                                #  WH(1 - H/HMAX)
037718,001117: 33,3233           54135                           TS       MPTEMP                                
037719,001118: 33,3234           07316                           TC       SHORTMP2                              #  DELTAH (WH)(1 - H/HMAX) IN MPAC
037720,001119: 33,3235           06042                           TC       INTPRET                               #  MODE IS DP FROM ABOVE
037721,001120: 33,3236           77752                           SL1                                            
037722,001121: 33,3237           53361                           VXSC     VAD                                   
037723,001122: 33,3240           03537                                    UNIT/R/                               #  DELTAR = DH(WH)(1 - H/HMAX) UNIT/R/
037724,001123: 33,3241           03573                                    R1S                                   
037725,001124: 33,3242           37657                           STCALL   GNUR                                  
037726,001125: 33,3243           67067                                    MUNGRAV                               
037727,001126: 33,3244           77776                           EXIT                                           

Page 879

037729,001128: 33,3245           03512                           TC       QUIKFAZ5                              
037730,001129: 
037731,001130: 33,3246           34755                           CA       ZERO                                  
037732,001131: 33,3247           03474        RUPDATED           TC       GNURVST                               
037733,001132: 
037734,001133: 33,3250           03512        VMEASCHK           TC       QUIKFAZ5                              #  RESTART AT NEXT LOCATION
037735,001134: 33,3251           40107                           CS       FLGWRD11                              
037736,001135: 33,3252           74745                           MASK     VELDABIT                              #  IS V READING AVAILABLE?
037737,001136: 33,3253           10000                           CCS      A                                     
037738,001137: 33,3254           13454                           TCF      VALTCHK                               #  NO   SEE IF V READING TO BE TAKEN
037739,001138: 
037740,001139: 33,3255           41651        VELUPDAT           CS       VSELECT                               #  PROCESS VELOCITY DATA
037741,001140: 33,3256           54001                           TS       L                                     
037742,001141: 33,3257           26001                           ADS      L                                     #  -2 VSELECT IN L
037743,001142: 33,3260           60001                           AD       L                                     
037744,001143: 33,3261           60001                           AD       L                                     #  -6 VSELECT IN A
037745,001144: 33,3262           50120                           INDEX    FIXLOC                                
037746,001145: 33,3263           52047                           DXCH     X1                                    #  X1 = -6 VSELECT, X2 = -2 VSELECT
037747,001146: 
037748,001147: 33,3264           34741                           CA       EBANK4                                
037749,001148: 33,3265           54003                           TS       EBANK                                 
037750,001149: 33,3266  E4,1654                                  EBANK=   LRXCDU                                
037751,001150: 
037752,001151: 33,3266           31655                           CA       LRYCDU                                #  STORE LRCDUS IN CDUSPOTS
037753,001152: 33,3267           54765                           TS       CDUSPOT                               
037754,001153: 33,3270           31656                           CA       LRZCDU                                
037755,001154: 33,3271           54767                           TS       CDUSPOT    +2                         
037756,001155: 33,3272           31654                           CA       LRXCDU                                
037757,001156: 33,3273           54771                           TS       CDUSPOT    +4                         
037758,001157: 
037759,001158: 33,3274           04616                           TC       BANKCALL                              
037760,001159: 33,3275           47617                           CADR     QUICTRIG                              #  GET SINES AND COSINES FOR NBSM
037761,001160: 
037762,001161: 33,3276           30120                           CA       FIXLOC                                
037763,001162: 33,3277           54166                           TS       PUSHLOC                               #  SET PD TO ZERO
037764,001163: 
037765,001164: 33,3300           06042                           TC       INTPRET                               
037766,001165: 33,3301           45173                           VLOAD*   CALL                                  
037767,001166: 33,3302           02231                                    VZBEAMNB,1                            #  CONVERT VBEAM FROM NB TO SM
037768,001167: 33,3303           47675                                    *NBSM*                                
037769,001168: 33,3304           54325                           PDDL     SL                                    #  STORE IN PD 0-5
037770,001169: 33,3305           03653                                    VMEAS                                 #  LOAD VELOCITY MEASUREMENT
037771,001170: 33,3306           20215                                    12D                                   
037772,001171: 33,3307           41403                           DMP*     PUSH                                  #  SCALE TO M/CS AT 2(6)
037773,001172: 33,3310           51764                                    VZSCAL,2                              #  AND STORE IN PD 6-7
037774,001173: 33,3311           77776                           EXIT                                           
037775,001174: 33,3312           44753                           CS       ONE                                   
037776,001175: 33,3313           54163                           TS       MODE                                  #  CHANGE STORE MODE TO VECTOR
037777,001176: 
037778,001177: 33,3314           31657                           CA       PIPTEM                                #  STORE DELV IN MPAC

Page 880

037780,001179: 33,3315           22007                           ZL                                             
037781,001180: 33,3316           52155                           DXCH     MPAC                                  
037782,001181: 
037783,001182: 33,3317           31660                           CA       PIPTEM     +1                         
037784,001183: 33,3320           22007                           ZL                                             
037785,001184: 33,3321           52160                           DXCH     MPAC       +3                         
037786,001185: 
037787,001186: 33,3322           31661                           CA       PIPTEM     +2                         
037788,001187: 33,3323           22007                           ZL                                             
037789,001188: 33,3324           52162                           DXCH     MPAC       +5                         
037790,001189: 
037791,001190: 33,3325           35016                           CA       EBANK7                                
037792,001191: 33,3326           54003                           TS       EBANK                                 #  RESTORE EBANK 7
037793,001192: 33,3327  E7,1515                                  EBANK=   DVCNTR                                
037794,001193: 33,3327           06042                           TC       INTPRET                               
037795,001194: 33,3330           65361                           VXSC     PDDL                                  
037796,001195: 33,3331           26022                                    KPIP1                                 #  SCALE DELV TO 2(7) M/CS AND PUSH
037797,001196: 33,3332           02253                                    LRVTIME                               #  TIME OF DELV AT 2(28) CS
037798,001197: 33,3333           56225                           DSU      DDV                                   
037799,001198: 33,3334           01234                                    PIPTIME                               #  TU - T(N-1)
037800,001199: 33,3335           27106                                    2SEC(28)                              
037801,001200: 33,3336           76561                           VXSC     VSL1                                  #  G(N-1)(TU - T(N-1))
037802,001201: 33,3337           01236                                    GDT/2                                 #  SCALED AT 2(7) M/CS
037803,001202: 33,3340           53255                           VAD      VAD                                   #  PUSH UP FOR DELV
037804,001203: 33,3341           03527                                    V                                     #  VU = V(N-1) + DELVU + G(N-1) DTU
037805,001204: 33,3342           53352                           VSL2     VAD                                   #  SCALE TO 2(5) M/CS AND SUBTRACT
037806,001205: 33,3343           03734                                    DELVS                                 #        MOON ROTATION.
037807,001206: 33,3344           51406                           PUSH     ABVAL                                 #  STORE IN PD
037808,001207: 33,3345           43202                           SR4      DAD                                   #  ABS(VM)/8 + VELBIAS AT 2(6)
037809,001208: 33,3346           03372                                    VELBIAS                               
037810,001209: 33,3347           24025                           STOVL    20D                                   #  STORE IN 20D AND PICK UP VM
037811,001210: 33,3350           44241                           DOT      BDSU                                  #  V(EST) AT 2(6)
037812,001211: 33,3351           00001                                    0                                     #  DELTAV = VMEAS - V(EST)
037813,001212: 33,3352           51406                           PUSH     ABS                                   
037814,001213: 33,3353           77425                           DSU      EXIT                                  #  ABS(DV) - (7.5 + ABS(VM)/8))
037815,001214: 33,3354           00025                                    20D                                   
037816,001215: 
037817,001216: 33,3355           25672                           INCR     LRMCTR                                
037818,001217: 33,3356           06726                           TC       BRANCH                                
037819,001218: 33,3357           13535                           TCF      VFAIL                                 #  DELTA V TOO LARGE     ALARM
037820,001219: 33,3360           13535                           TCF      VFAIL                                 #  DELTA V TOO LARGE     ALARM
037821,001220: 
037822,001221: 33,3361           05516                           TC       DOWNFLAG                              #  TURN OFF VEL FAIL LAMP
037823,001222: 33,3362           00262                           ADRES    VFLSHFLG                              
037824,001223: 
037825,001224: 33,3363           30107                           CA       FLGWRD11                              
037826,001225: 33,3364           74740                           MASK     VXINHBIT                              
037827,001226: 33,3365           00006                           EXTEND                                         
037828,001227: 33,3366           13375                           BZF      VUPDAT                                #  IF VX INHIBIT RESET, INCORPORATE DATA.

Page 881

037830,001229: 33,3367           05516                           TC       DOWNFLAG                              
037831,001230: 33,3370           00250                           ADRES    VXINH                                 #  RESET VX INHIBIT
037832,001231: 
037833,001232: 33,3371           31651                           CA       VSELECT                               
037834,001233: 33,3372           67751                           AD       NEG2                                  #  IF VSELECT = 2 (X AXIS),
037835,001234: 33,3373           00006                           EXTEND                                         #  BYPASS UPDATE
037836,001235: 33,3374           13454                           BZF      ENDVDAT                               
037837,001236: 
037838,001237: 33,3375           40107        VUPDAT             CS       FLGWRD11                              
037839,001238: 33,3376           74744                           MASK     LRINHBIT                              
037840,001239: 33,3377           10000                           CCS      A                                     
037841,001240: 33,3400           13454                           TCF      VALTCHK                               #  UPDATE INHIBITED
037842,001241: 
037843,001242: 33,3401           54155                           TS       MPAC       +1                         
037844,001243: 
037845,001244: 33,3402           31471                           CA       ABVEL                                 #  STORE E7 ERASABLES NEEDED IN TEMPS
037846,001245: 33,3403           54130                           TS       ABVEL*                                
037847,001246: 33,3404           31651                           CA       VSELECT                               
037848,001247: 33,3405           54131                           TS       VSELECT*                              
037849,001248: 33,3406           35014                           CA       EBANK5                                
037850,001249: 33,3407           54003                           TS       EBANK                                 #  CHANGE EBANKS
037851,001250: 
037852,001251: 33,3410  E5,1527                                  EBANK=   LRVF                                  
037853,001252: 33,3410           41527                           CS       LRVF                                  
037854,001253: 33,3411           60130                           AD       ABVEL*                                #  IF V < VF, USE WVF
037855,001254: 33,3412           00006                           EXTEND                                         
037856,001255: 33,3413           63426                           BZMF     USEVF                                 
037857,001256: 
037858,001257: 33,3414           40130                           CS       ABVEL*                                
037859,001258: 33,3415           61526                           AD       LRVMAX                                #  VMAX - V
037860,001259: 33,3416           00006                           EXTEND                                         
037861,001260: 33,3417           63431                           BZMF     WSTOR      -1                         #  IF V > VMAX, W = 0
037862,001261: 
037863,001262: 33,3420           00006                           EXTEND                                         
037864,001263: 33,3421           50131                           INDEX    VSELECT*                              
037865,001264: 33,3422           71530                           MP       LRWVZ                                 #  WV(VMAX - V)
037866,001265: 
037867,001266: 33,3423           00006                           EXTEND                                         
037868,001267: 33,3424           11526                           DV       LRVMAX                                #  WV( 1 - V/VMAX )
037869,001268: 33,3425           13432                           TCF      WSTOR                                 
037870,001269: 
037871,001270: 33,3426           50131        USEVF              INDEX    VSELECT*                              
037872,001271: 33,3427           31533                           CA       LRWVFZ                                #  USE APPROPRIATE CONSTANT WEIGHT
037873,001272: 33,3430           13432                           TCF      WSTOR                                 
037874,001273: 
037875,001274: 33,3431           34755                 -1        CA       ZERO                                  
037876,001275: 33,3432           54154        WSTOR              TS       MPAC                                  
037877,001276: 33,3433           44745                           CS       BIT7                                  #  (=64D)
037878,001277: 33,3434           61010                           AD       MODREG                                
037879,001278: 33,3435           00006                           EXTEND                                         

Page 882

037881,001280: 33,3436           63441                           BZMF     +3                                    #  IF IN P65,P66,P67, USE ANOTHER CONSTANT
037882,001281: 
037883,001282: 33,3437           31536                           CA       LRWVFF                                
037884,001283: 33,3440           54154                           TS       MPAC                                  
037885,001284: 
037886,001285: 33,3441           35016                 +3        CA       EBANK7                                
037887,001286: 33,3442           54003                           TS       EBANK                                 #  CHANGE EBANKS
037888,001287: 
037889,001288: 33,3443  E7,1471                                  EBANK=   ABVEL                                 
037890,001289: 33,3443           06042                           TC       INTPRET                               
037891,001290: 33,3444           74205                           DMP      VXSC                                  #  W(DELTA V)(VBEAMSM) UP 6-7, 0-5
037892,001291: 33,3445           77655                           VAD                                            
037893,001292: 33,3446           03601                                    V1S                                   #  ADD WEIGHTED DELTA V TO VELOCITY
037894,001293: 33,3447           03657                           STORE    GNUV                                  
037895,001294: 33,3450           77776                           EXIT                                           
037896,001295: 
037897,001296: 33,3451           03512                           TC       QUIKFAZ5                              #  DO NOT RE-UPDATE
037898,001297: 
037899,001298: 33,3452           36245                           CA       SIX                                   
037900,001299: 33,3453           03474        VUPDATED           TC       GNURVST                               #  STORE NEW VELOCITY VECTOR
037901,001300: 33,3454  33,3454               ENDVDAT            =        VALTCHK                               
037902,001301: 
037903,001302: 33,3454           03512        VALTCHK            TC       QUIKFAZ5                              #  DO NOT REPEAT ABOVE
037904,001303: 
037905,001304: 33,3455           34747                           CAF      READVBIT                              #  TEST READVEL TO SEE IF VELOCITY READING
037906,001305: 33,3456           70107                           MASK     FLGWRD11                              #  IS DESIRED.
037907,001306: 33,3457           10000                           CCS      A                                     
037908,001307: 33,3460           13467                           TCF      READV                                 #  TES - READ VELOCITY
037909,001308: 33,3461           41471                           CS       ABVEL                                 #  NO - SEE IF VELOCITY < 6000 FT/SEC
037910,001309: 33,3462           63114                           AD       6KFT/SEC                              
037911,001310: 33,3463           00006                           EXTEND                                         
037912,001311: 33,3464           62545                           BZMF     CONTSERV                              #  V > 6000 FT/SEC.  DO NOT READ VELOCITY.
037913,001312: 
037914,001313: 33,3465           05504                           TC       UPFLAG                                #  V < 6000 FT/SEC.  SET READVEL AND READ.
037915,001314: 33,3466           00257                           ADRES    READVEL                               
037916,001315: 
037917,001316: 33,3467           37723        READV              CAF      PRIO32                                #  SET UP JOB TO READ VELOCITY BEAMS.
037918,001317: 33,3470           05072                           TC       NOVAC                                 
037919,001318: 33,3471  E7,1654                                  EBANK=   HMEAS                                 
037920,001319: 33,3471           03556 66067                     2CADR    LRVJOB                                
037921,001320: 
037922,001321: 33,3473           12545                           TCF      CONTSERV                              #  CONTINUE WITH SERVICER
037923,001322: 
037924,001323: 33,3474           54130        GNURVST            TS       BUF                                   #  STORE GNUR (=GNUV) IN R1S OR V1S
037925,001324: 33,3475           00006                           EXTEND                                         #  A = 0 FOR R, A = 6 FOR V
037926,001325: 33,3476           31657                           DCA      GNUR                                  
037927,001326: 33,3477           50130                           INDEX    BUF                                   
037928,001327: 33,3500           53573                           DXCH     R1S                                   
037929,001328: 33,3501           00006                           EXTEND                                         

Page 883

037931,001330: 33,3502           31661                           DCA      GNUR       +2                         
037932,001331: 33,3503           50130                           INDEX    BUF                                   
037933,001332: 33,3504           53575                           DXCH     R1S        +2                         
037934,001333: 33,3505           00006                           EXTEND                                         
037935,001334: 33,3506           31663                           DCA      GNUR       +4                         
037936,001335: 33,3507           50130                           INDEX    BUF                                   
037937,001336: 33,3510           53577                           DXCH     R1S        +4                         
037938,001337: 33,3511           00002                           TC       Q                                     
037939,001338: 
037940,001339: 33,3512           35007        QUIKFAZ5           CA       EBANK3                                
037941,001340: 33,3513           56003                           XCH      EBANK                                 #  SET EBANK 3
037942,001341: 33,3514           52002                           DXCH     L                                     #  Q TO A, A TO L
037943,001342: 33,3515  E3,1446                                  EBANK=   PHSNAME5                              
037944,001343: 33,3515           55446                           TS       PHSNAME5                              
037945,001344: 33,3516           22003                           LXCH     EBANK                                 
037946,001345: 33,3517  E7,1515                                  EBANK=   DVCNTR                                
037947,001346: 33,3517           00000                           TC       A                                     
037948,001347: 
037949,001348: 33,3520           41671        HFAIL              CS       LRRCTR                                
037950,001349: 33,3521           00006                           EXTEND                                         
037951,001350: 33,3522           13532                           BZF      NORLITE                               #  IF R = 0, DO NOT TURN ON TRK FAIL
037952,001351: 33,3523           61670                           AD       LRLCTR                                
037953,001352: 33,3524           77750                           MASK     NEG3                                  
037954,001353: 33,3525           00006                           EXTEND                                         #  IF L-R LT 4, DO NOT TURN ON TRK FAIL
037955,001354: 33,3526           13530                           BZF      +2                                    
037956,001355: 33,3527           13532                           TCF      NORLITE                               
037957,001356: 
037958,001357: 33,3530           05504                           TC       UPFLAG                                #  AND SET BIT TO TURN ON TRACKER FAIL LITE
037959,001358: 33,3531           00263                           ADRES    HFLSHFLG                              
037960,001359: 
037961,001360: 33,3532           31670        NORLITE            CA       LRLCTR                                
037962,001361: 33,3533           55671                           TS       LRRCTR                                #  SET R = L
037963,001362: 
037964,001363: 33,3534           13250                           TCF      VMEASCHK                              
037965,001364: 
037966,001365: 33,3535           41673        VFAIL              CS       LRSCTR                                #  DELTA Q LARGE
037967,001366: 33,3536           00006                           EXTEND                                         #  IF S = 0, DO NOT TURN ON TRACKER FAIL
037968,001367: 33,3537           13547                           BZF      NOLITE                                
037969,001368: 33,3540           61672                           AD       LRMCTR                                #  M-S
037970,001369: 33,3541           77750                           MASK     NEG3                                  #  TEST FOR M-S > 3
037971,001370: 33,3542           00006                           EXTEND                                         #  IF M-S > 3, THEN TWO OR MORE OF THE
037972,001371: 33,3543           13545                           BZF      +2                                    #        LAST FOUR V READINGS WERE BAD,
037973,001372: 33,3544           13547                           TCF      NOLITE                                #        SO TURN ON VELOCITY FAIL LIGHT
037974,001373: 
037975,001374: 33,3545           05504                           TC       UPFLAG                                #  AND SET BIT TO TURN ON TRACKER FAIL LITE
037976,001375: 33,3546           00262                           ADRES    VFLSHFLG                              
037977,001376: 

Page 884

037979,001378: 33,3547           31672        NOLITE             CA       LRMCTR                                #  SET S = M
037980,001379: 33,3550           55673                           TS       LRSCTR                                
037981,001380: 
037982,001381: 33,3551           11651                           CCS      VSELECT                               #  TEST FOR Z COMPONENT
037983,001382: 33,3552           13454                           TCF      ENDVDAT                               #  NOT Z, DO NOT SET VX INHIBIT
037984,001383: 
037985,001384: 33,3553           05504                           TC       UPFLAG                                #  Z COMPONENT - SET FLAG TO SKIP X
037986,001385: 33,3554           00250                           ADRES    VXINH                                 #  COMPONENT, AS ERROR MAY BE DUE TO CROSS
037987,001386: 33,3555           13454                           TCF      ENDVDAT                               #  LOBE LOCK UP NOT DETECTED ON X AXIS.
037988,001387: 

Page 885

037990,001389:                                                                                                  #  ********************************************************************************************************
037991,001390:                                                                                                  #  LRVJOB IS SET WHEN THE LEM IS BELOW 15000 FT DURING THE LANDING PHASE
037992,001391:                                                                                                  #  THIS JOB INITIALIZES THE LANDING RADAR READ ROUTINE FOR 5 VELOCITY
037993,001392:                                                                                                  #  SAMPLES AND GOES TO SLEEP WHILE THE SAMPLING IS DONE-ABOUT 500 MS.
037994,001393:                                                                                                  #  WITH A GOODEND RETURN THE DATA IS STORED IN VMEAS AND BIT7 OF LRSTAT
037995,001394:                                                                                                  #  IS SET.  THE GIMBAL ANGLES ARE READ ABOUT MIDWAY IN THE SAMPLING .
037996,001395: 
037997,001396: 33,3556     4361               170MS              EQUALS   ND1                                   
037998,001397: 
037999,001398: 33,3556           34361        LRVJOB             CA       170MS                                 #  SET TASK TO READ CDUS + PIPAS
038000,001399: 33,3557           05203                           TC       WAITLIST                              
038001,001400: 33,3560  E4,1652                                  EBANK=   LRVTIME                               
038002,001401: 33,3560           03632 70064                     2CADR    RDGIMS                                
038003,001402: 
038004,001403: 33,3562           11651                           CCS      VSELECT                               #  SEQUENCE LR VEL BEAM SELECTOR
038005,001404: 33,3563           13565                           TCF      +2                                    
038006,001405: 33,3564           34752                           CAF      TWO                                   #  IF ZERO-RESET TO TWO
038007,001406: 33,3565           60000                           DOUBLE                                         #  2XVSELECT USED FOR VBEAM INDEX IN LRVEL
038008,001407: 33,3566           04616                           TC       BANKCALL                              #  GO INITIALIZE LR VEL READ ROUTINE
038009,001408: 33,3567           53116                           CADR     LRVEL                                 
038010,001409: 33,3570           04616                           TC       BANKCALL                              #  PUT LRVJOB TO SLEEP ABOUT 500 MS
038011,001410: 33,3571           17705                           CADR     RADSTALL                              
038012,001411: 33,3572           13625                           TCF      VBAD                                  
038013,001412: 33,3573           11675                           CCS      STILBADV                              #  IS DATA GOOD JUST PRESENT?
038014,001413: 33,3574           13626                           TCF      VSTILBAD                              #  JUST GOOD - MUST WAIT 4 SECONDS.
038015,001414: 
038016,001415: 33,3575           00004                           INHINT                                         
038017,001416: 33,3576           00006                           EXTEND                                         #  GOOD RETURN-STOW AWAY VMEAS
038018,001417: 33,3577           31101                           DCA      SAMPLSUM                              
038019,001418: 33,3600           53653                           DXCH     VMEAS                                 
038020,001419: 33,3601           34741                           CA       EBANK4                                #  FOR DOWNLINK
038021,001420: 33,3602           54003                           TS       EBANK                                 
038022,001421: 33,3603  E4,1652                                  EBANK=   LRVTIME                               
038023,001422: 
038024,001423: 33,3603           00006                           EXTEND                                         
038025,001424: 33,3604           31653                           DCA      LRVTIME                               
038026,001425: 33,3605           53740                           DXCH     LRVTIMDL                              
038027,001426: 33,3606           00006                           EXTEND                                         
038028,001427: 33,3607           31655                           DCA      LRXCDU                                
038029,001428: 33,3610           53735                           DXCH     LRXCDUDL                              
038030,001429: 33,3611           31656                           CA       LRZCDU                                
038031,001430: 33,3612           55736                           TS       LRZCDUDL                              
038032,001431: 33,3613           35016                           CA       EBANK7                                
038033,001432: 33,3614           54003                           TS       EBANK                                 
038034,001433: 33,3615  E7,1651                                  EBANK=   VSELECT                               
038035,001434: 
038036,001435: 33,3615           40107                           CS       FLGWRD11                              #  SET BIT TO INDICATE VELOCITY
038037,001436: 33,3616           74745                           MASK     VELDABIT                              #  MEASUREMENT MADE.

Page 886

038039,001438: 33,3617           26107                           ADS      FLGWRD11                              
038040,001439: 33,3620           11651        ENDLRV             CCS      VSELECT                               #  UPDATE VSELECT
038041,001440: 33,3621           13623                           TCF      +2                                    
038042,001441: 33,3622           34752                           CA       TWO                                   
038043,001442: 33,3623           55651                           TS       VSELECT                               
038044,001443: 33,3624           15155                           TCF      ENDOFJOB                              
038045,001444: 
038046,001445: 33,3625           34752        VBAD               CAF      TWO                                   #  SET STILBAD TO WAIT 4 SECONDS
038047,001446: 33,3626           55675        VSTILBAD           TS       STILBADV                              
038048,001447: 33,3627           13620                           TCF      ENDLRV                                
038049,001448: 
038050,001449:                                                                                                  #  LRHJOB IS SET BY LRHTASK WHEN LEM IS BELOW 25000 FT.  THIS JOB
038051,001450:                                                                                                  #  INITIALIZES THE LR READ ROUTINE FOR AN ALT MEASUREMENT AND GOES TO
038052,001451:                                                                                                  #  SLEEP WHILE THE SAMPLING IS DONE-ABOUT 95 MS.  WITH A GOODEND RETURN
038053,001452:                                                                                                  #  THE ALT DATA IS STORED IN HMEAS AND BIT7 OF LRSTAT IS SET.
038054,001453: 
038055,001454: 34,3571                                           BANK     34                                    
038056,001455: 34,2000                                           SETLOC   R12STUFF                              
038057,001456: 34,2000                                           BANK                                           
038058,001457: 
038059,001458: 34,3571                                           COUNT*   $$/SERV                               
038060,001459: 
038061,001460: 34,3571           04616        LRHJOB             TC       BANKCALL                              #  INITIATE LR ALT MEASUREMENT
038062,001461: 34,3572           53102                           CADR     LRALT                                 
038063,001462: 34,3573           04616                           TC       BANKCALL                              #  LRHJOB TO SLEEP ABOUT 95MS
038064,001463: 34,3574           17705                           CADR     RADSTALL                              
038065,001464: 34,3575           13620                           TCF      HBAD                                  
038066,001465: 34,3576           11674                           CCS      STILBADH                              #  IS DATA GOOD JUST PRESENT?
038067,001466: 34,3577           13630                           TCF      HSTILBAD                              #  JUST GOOD - MUST WAIT 4 SECONDS.
038068,001467: 
038069,001468: 34,3600           00004                           INHINT                                         
038070,001469: 34,3601           00006                           EXTEND                                         
038071,001470: 34,3602           31101                           DCA      SAMPLSUM                              #  GOOD RETURN-STORE AWAY LRH DATA
038072,001471: 34,3603           53655                           DXCH     HMEAS                                 #  LRH DATA 1.079 FT/BIT
038073,001472: 34,3604           00006                           EXTEND                                         #  FOR DOWNLINK
038074,001473: 34,3605           31561                           DCA      PIPTIME1                              
038075,001474: 34,3606           53755                           DXCH     MKTIME                                
038076,001475: 
038077,001476: 34,3607           00006                           EXTEND                                         
038078,001477: 34,3610           31156                           DCA      CDUTEMPY                              #  CDUY,Z = AIG,AMG
038079,001478: 34,3611           53460                           DXCH     AIG                                   
038080,001479: 
038081,001480: 34,3612           31154                           CA       CDUTEMPX                              #  CDUX = AOG
038082,001481: 34,3613           55461                           TS       AOG                                   
038083,001482: 
038084,001483: 34,3614           40107                           CS       FLGWRD11                              #  SET BIT TO INDICATE RANGE
038085,001484: 34,3615           74750                           MASK     RNGEDBIT                              #  MEASUREMENT MADE.
038086,001485: 34,3616           26107                           ADS      FLGWRD11                              
038087,001486: 34,3617           05155        ENDLRH             TC       ENDOFJOB                              #  TERMINATE LRHJOB
038088,001487: 

Page 887

038090,001489: 34,3620           30101        HBAD               CA       FLAGWRD5                              
038091,001490: 34,3621           74742                           MASK     RNGSCBIT                              #  IS BAD RETURN DUE TO SCALE CHANGE?
038092,001491: 34,3622           00006                           EXTEND                                         
038093,001492: 34,3623           13627                           BZF      HSTILBAD   -1                         #  NO   RESET HSTILBAD
038094,001493: 34,3624           05516                           TC       DOWNFLAG                              #  YES   RESET SCALE CHANGE BIT AND IGNORE
038095,001494: 34,3625           00120                           ADRES    RNGSCFLG                              
038096,001495: 34,3626           05155                           TC       ENDOFJOB                              
038097,001496: 
038098,001497: 34,3627           34752                           CAF      TWO                                   #  SET STILBAD TO WAIT 4 SECONDS
038099,001498: 34,3630           55674        HSTILBAD           TS       STILBADH                              
038100,001499: 34,3631           05155                           TC       ENDOFJOB                              
038101,001500: 
038102,001501: 34,3632                                           BANK     34                                    
038103,001502: 34,2000                                           SETLOC   SERV4                                 
038104,001503: 34,2000                                           BANK                                           
038105,001504: 
038106,001505: 34,3632                                           COUNT*   $$/SERV                               
038107,001506: 
038108,001507:                                                                                                  #  RDGIMS IS A TASK SET UP BY LRVJOB TO PICK UP THE IMU CDUS AND TIME
038109,001508:                                                                                                  #  AT ABOUT THE MIDPOINT OF THE LR VEL READ ROUTINE WHEN 5 VEL SAMPLES
038110,001509:                                                                                                  #  ARE SPECIFIED.
038111,001510: 
038112,001511: 34,3632  E4,1652                                  EBANK=   LRVTIME                               
038113,001512: 34,3632           00006        RDGIMS             EXTEND                                         
038114,001513: 34,3633           30025                           DCA      TIME2                                 #  PICK UP TIME2, TIME1
038115,001514: 34,3634           53653                           DXCH     LRVTIME                               #        AND SAVE IN LRVTIME
038116,001515: 
038117,001516: 34,3635           00006                           EXTEND                                         
038118,001517: 34,3636           30033                           DCA      CDUX                                  #  PICK UP CDUX AND CDUY
038119,001518: 34,3637           53655                           DXCH     LRXCDU                                #        AND SAVE IN LRXCDU AND LRYCDU
038120,001519: 
038121,001520: 34,3640           30034                           CA       CDUZ                                  
038122,001521: 34,3641           55656                           TS       LRZCDU                                #  SAVE CDUZ IN LRZCDU
038123,001522: 
038124,001523: 34,3642           30037                           CA       PIPAX                                 
038125,001524: 34,3643           55657                           TS       PIPTEM                                #  SAVE PIPAX IN PIPTEM
038126,001525: 
038127,001526: 34,3644           00006                           EXTEND                                         
038128,001527: 34,3645           30041                           DCA      PIPAY                                 #  PICK UP PIPAY AND PIPAZ
038129,001528: 34,3646           53661                           DXCH     PIPTEM     +1                         #        AND SAVE IN PIPTEM +1 AND PIPTEM +2
038130,001529: 34,3647           05261                           TC       TASKOVER                              
038131,001530: 
038132,001531: 33,3630                                           BANK     33                                    
038133,001532: 33,2000                                           SETLOC   SERVICES                              
038134,001533: 33,2000                                           BANK                                           
038135,001534: 
038136,001535: 33,3630                                           COUNT*   $$/SERV                               
038137,001536: 
038138,001537: 33,3630  E7,1515                                  EBANK=   DVCNTR                                

Page 888

038140,001539:                                                                                                  #  HIGATJOB IS SET APPROXIMATELY 6 SECONDS PRIOR TO HIGH GATE DURING
038141,001540:                                                                                                  #  THE DESCENT BURN PHASE OF LUNAR LANDING.  THIS JOB INITIATES THE
038142,001541:                                                                                                  #  LANDING RADAR REPOSITIONING ROUTINE AND GOES TO SLEEP UNTIL THE
038143,001542:                                                                                                  #  LR ANTENNA MOVES FROM POSITION 1 TO POSITION 2.  IF THE LR ANTENNA
038144,001543:                                                                                                  #  ACHIEVES POSITION 2 WITHIN 22 SECONDS THE ALTITUDE AND VELOCITY
038145,001544:                                                                                                  #  BEAM VECTORS ARE RECOMPUTED TO REFLECT THE NEW ORIENTATION WITH
038146,001545:                                                                                                  #  RESPECT TO THE NB.  BIT10 OF LRSTAT IS CLEARED TO ALLOW LR
038147,001546:                                                                                                  #  MEASUREMENTS AND THE JOB TERMINATES.
038148,001547: 
038149,001548: 33,3630           00004        REREPOS            INHINT                                         
038150,001549: 33,3631           40107                           CS       FLGWRD11                              
038151,001550: 33,3632           75015                           MASK     PRIO3                                 
038152,001551: 33,3633           26107                           ADS      FLGWRD11                              
038153,001552: 
038154,001553: 33,3634           04616        HIGATJOB           TC       BANKCALL                              #  START LRPOS2 JOB
038155,001554: 33,3635           53454                           CADR     LRPOS2                                
038156,001555: 33,3636           04616                           TC       BANKCALL                              #  PUT HIGATJOB TO SLEEP UNTIL JOB IS DONE
038157,001556: 33,3637           17705                           CADR     RADSTALL                              
038158,001557: 33,3640           13653                           TCF      POSALARM                              #  BAD END ALARM
038159,001558: 
038160,001559: 33,3641           37714        POSGOOD            CA       PRIO23                                #  REDUCE PRIORITY FOR INTERPRETIVE COMPS.
038161,001560: 33,3642           05146                           TC       PRIOCHNG                              
038162,001561: 
038163,001562: 33,3643           03717                           TC       SETPOS2                               #  LR IN POS2 - SET UP TRANSFORMATIONS
038164,001563: 
038165,001564: 33,3644           05504                           TC       UPFLAG                                
038166,001565: 33,3645           00256                           ADRES    LPOS2FLG                              
038167,001566: 33,3646           05516        ENDPOS             TC       DOWNFLAG                              
038168,001567: 33,3647           00252                           ADRES    NOLRREAD                              #  RESET NOLRREAD FLAG TO ENABLE LR READING
038169,001568: 33,3650           05353        LRRESTRT           TC       PHASCHNG                              
038170,001569: 
038171,001570: 33,3651           00001                           OCT      1                                     
038172,001571: 33,3652           05155                           TC       ENDOFJOB                              
038173,001572: 
038174,001573: 33,3653           33757        POSALARM           CA       OCT523                                
038175,001574: 33,3654           04616                           TC       BANKCALL                              
038176,001575: 33,3655           21563                           CADR     PRIOLARM                              #  FLASH ALARM CODE
038177,001576: 33,3656           13650                           TCF      LRRESTRT                              #  V34-TERMINATE R12 (NOLRRBIT SET)
038178,001577: 33,3657           13662                           TCF      P1CHK                                 #  PROCEED
038179,001578: 33,3660           13670                           TCF      P2CHK                                 #  V32E
038180,001579: 33,3661           05155                           TC       ENDOFJOB                              
038181,001580: 
038182,001581: 33,3662           05504        P1CHK              TC       UPFLAG                                
038183,001582: 33,3663           00261                           ADRES    NO511FLG                              
038184,001583: 33,3664           34746                           CA       BIT6                                  
038185,001584: 33,3665           03674                           TC       POSTST                                
038186,001585: 33,3666           03646                           TC       ENDPOS                                
038187,001586: 33,3667           13641                           TCF      POSGOOD                               #  NOT POS1-CHANGE TO POS2
038188,001587: 
038189,001588: 33,3670           34745        P2CHK              CA       BIT7                                  

Page 889

038191,001590: 33,3671           03674                           TC       POSTST                                
038192,001591: 33,3672           13641                           TCF      POSGOOD                               
038193,001592: 33,3673           13653                           TCF      POSALARM                              
038194,001593: 33,3674           00006        POSTST             EXTEND                                         
038195,001594: 33,3675           02033                           RAND     CHAN33                                
038196,001595: 33,3676           00006                           EXTEND                                         
038197,001596: 33,3677           16745                           BZF      TCQ                                   
038198,001597: 33,3700           16742                           TCF      Q+1                                   
038199,001598: 33,3701           04645        SETPOS1            TC       MAKECADR                              #  MUST BE CALLED BY BANKCALL
038200,001599: 33,3702           55656                           TS       LRADRET1                              #  SAVE RETURN CADR, SINCE BUF2 CLOBBERED
038201,001600: 
038202,001601: 33,3703           34752                           CAF      TWO                                   
038203,001602: 33,3704           55674                           TS       STILBADH                              #  INITIALIZE STILBAD
038204,001603: 33,3705           55675                           TS       STILBADV                              #  INITIALIZE STILBAD
038205,001604: 
038206,001605: 33,3706           34755                           CA       ZERO                                  #  INDEX FOR LRALPHA, LRBETA IN POS 1.
038207,001606: 33,3707           55670                           TS       LRLCTR                                #  SET L,M,R, ANS S TO ZERO
038208,001607: 33,3710           55672                           TS       LRMCTR                                
038209,001608: 33,3711           55671                           TS       LRRCTR                                
038210,001609: 33,3712           55673                           TS       LRSCTR                                
038211,001610: 33,3713           55651                           TS       VSELECT                               #  INITIALIZE VSELECT
038212,001611: 
038213,001612: 33,3714           03720                           TC       SETPOS                                #  CONTINUE WITH COMPUTATIONS
038214,001613: 
038215,001614: 33,3715           31656                           CA       LRADRET1                              
038216,001615: 33,3716           04640                           TC       BANKJUMP                              #  RETURN TO CALLER
038217,001616: 
038218,001617: 33,3717           34752        SETPOS2            CA       TWO                                   #  INDEX FOR POS2
038219,001618: 33,3720           56002        SETPOS             XCH      Q                                     #  SAVE INDEX IN Q
038220,001619: 33,3721           55650                           TS       LRADRET                               #  SAVE RETURN
038221,001620: 
038222,001621: 33,3722           35014                           CA       EBANK5                                
038223,001622: 33,3723           54003                           TS       EBANK                                 
038224,001623: 33,3724  E5,1522                                  EBANK=   LRALPHA                               
038225,001624: 
038226,001625: 33,3724           00006                           EXTEND                                         
038227,001626: 33,3725           50002                           INDEX    Q                                     
038228,001627: 33,3726           31523                           DCA      LRALPHA                               #  LRALPHA IN A, LRBETA IN L
038229,001628: 33,3727           54771                           TS       CDUSPOT    +4                         #  ROTATION ABOUT X
038230,001629: 33,3730           22765                           LXCH     CDUSPOT                               #  ROTATION ABOUT Y
038231,001630: 33,3731           34755                           CA       ZERO                                  
038232,001631: 33,3732           54767                           TS       CDUSPOT    +2                         #  ZERO ROTATION ABOUT Z.
038233,001632: 
038234,001633: 33,3733           35016                           CA       EBANK7                                
038235,001634: 33,3734           54003                           TS       EBANK                                 
038236,001635: 33,3735  E7,1650                                  EBANK=   LRADRET                               
038237,001636: 
038238,001637: 33,3735           06042                           TC       INTPRET                               
038239,001638: 33,3736           45175                           VLOAD    CALL                                  

Page 890

038241,001640: 33,3737           06520                                    UNITY                                 #  CONVERT UNITY(ANTENNA) TO NB
038242,001641: 33,3740           47653                                    TRG*SMNB                              
038243,001642: 33,3741           26237                           STOVL    VYBEAMNB                              
038244,001643: 33,3742           06522                                    UNITX                                 #  CONVERT UNITX(ANTENNA) TO NB
038245,001644: 33,3743           77624                           CALL                                           
038246,001645: 33,3744           47673                                    *SMNB*                                
038247,001646: 33,3745           02245                           STORE    VXBEAMNB                              
038248,001647: 33,3746           76435                           VXV      VSL1                                  
038249,001648: 33,3747           02237                                    VYBEAMNB                              
038250,001649: 33,3750           26231                           STOVL    VZBEAMNB                              #  Z = X * Y
038251,001650: 33,3751           26003                                    HBEAMANT                              
038252,001651: 33,3752           77624                           CALL                                           
038253,001652: 33,3753           47673                                    *SMNB*                                #  CONVERT TO NB
038254,001653: 33,3754           02273                           STORE    HBEAMNB                               
038255,001654: 33,3755           77776                           EXIT                                           
038256,001655: 
038257,001656: 33,3756           01650                           TC       LRADRET                               
038258,001657: 
038259,001658: 33,3757           00523        OCT523             OCT      00523                                 

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