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.

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

Page 852

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

Page 853

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

Page 854

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

Page 855

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

Page 856

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

Page 857

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

Page 858

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

Page 859

036946,000365: 22,3704           27463                                    AVETOMID                              
036947,000366: 22,3705           77414                           CLEAR    EXIT                                  
036948,000367: 22,3706           03671                                    V37FLAG                               
036949,000368: 22,3707           04635        AVERTRN            TC       POSTJUMP                              
036950,000369: 22,3710           10116                           CADR     V37RET                                
036951,000370: 
036952,000371: 22,3711  22,3707               OUTGOAVE           =        AVERTRN                               
036953,000372: 22,3711  E7,1570               DVCNTR1            =        MASS1                                 
036954,000373: 

Page 860

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

Page 861

037005,000424: 27,3357           03746 64067  SVEXTADR           2CADR    SERVEXIT                              
037006,000425: 
037007,000426: 32,3746                                           BANK     32                                    
037008,000427: 32,2000                                           SETLOC   SERV                                  
037009,000428: 32,2000                                           BANK                                           
037010,000429: 32,3746                                           COUNT*   $$/SERV                               
037011,000430: 
037012,000431: 32,3746           05353        SERVEXIT           TC       PHASCHNG                              
037013,000432: 32,3747           00035                           OCT      00035                                 
037014,000433: 
037015,000434: 32,3750           15155                           TCF      ENDOFJOB                              
037016,000435: 
037017,000436: 23,2463                                           BANK     23                                    
037018,000437: 23,2000                                           SETLOC   NORMLIZ                               
037019,000438: 23,2000                                           BANK                                           
037020,000439: 
037021,000440: 23,2463                                           COUNT*   $$/SERV                               
037022,000441: 

Page 862

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

Page 863

037074,000493: 33,2433           53220                           DXCH     RN                                    
037075,000494: 33,2434           10061                           CCS      ITEMP1                                
037076,000495: 33,2435           12425                           TCF      COPYCYC    +2                         
037077,000496: 33,2436           00002                           TC       Q                                     #  RETURN UNDER INHINT
037078,000497: 
037079,000498: 33,2437           00022        EIGHTEEN           DEC      18         B-14                       
037080,000499: 

Page 864

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

Page 865

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

Page 866

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

Page 867

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

Page 868

037261,000680: 33,2447                                           COUNT*   $$/SERV                               
037262,000681: 
037263,000682:                                                                                                  #  HIGATASK IS ENTERED APPROXIMATELY 6 SECS PRIOR TO HIGATE DURING THE
037264,000683:                                                                                                  #  DESCENT PHASE.  HIGATASK SETS THE HIGATE FLAG (BIT11) AND THE LR INHIBIT
037265,000684:                                                                                                  #  FLAG (BIT10) IN LRSTAT.  THE HIGATJOB IS SET UP TO REPOSITION THE LR
037266,000685:                                                                                                  #  ANTENNA FROM POSITION 1 TO POSITION 2.  IF THE REPOSITIONING IS
037267,000686:                                                                                                  #  SUCCESSFUL THE ALT BEAM AND VELOCITY BEAMS ARE TRANSFORMED TO THE NEW
037268,000687:                                                                                                  #  ORIENTATION IN NB COORDINATES AND STORED IN ERASABLE.
037269,000688: 
037270,000689: 33,2447           05353        HIGATASK           TC       PHASCHNG                              
037271,000690: 33,2450           00051                           OCT      51                                    
037272,000691: 
037273,000692: 33,2451           37723                           CA       PRIO32                                
037274,000693: 33,2452           05105                           TC       FINDVAC                               
037275,000694: 33,2453  E7,1654                                  EBANK=   HMEAS                                 
037276,000695: 33,2453           03634 66067                     2CADR    HIGATJOB                              
037277,000696: 
037278,000697: 33,2455           40107                           CS       FLGWRD11                              
037279,000698: 33,2456           75015                           MASK     PRIO3                                 
037280,000699: 33,2457           26107                           ADS      FLGWRD11                              
037281,000700: 33,2460           12546                           TCF      CONTSERV   +1                         
037282,000701: 

Page 869

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

Page 870

037335,000754: 33,2531  E4,1545                                  EBANK=   XNBPIP                                
037336,000755: 33,2531           41545                           CS       XNBPIP                                #  UXBXP IN GSOP CH5
037337,000756: 33,2532  E7,1515                                  EBANK=   DVCNTR                                
037338,000757: 33,2532           22003                           LXCH     EBANK                                 #  RESTORE EBANK
037339,000758: 33,2533           61430                           AD       RPCRTQSW                              #  QSW - UXBXP
037340,000759: 33,2534           00006                           EXTEND                                         
037341,000760: 33,2535           62447                           BZMF     HIGATASK                              #  IF UXBXP > QSW, THEN REPOSITION
037342,000761: 
037343,000762: 33,2536           34746        POS1CHK            CAF      BIT6                                  
037344,000763: 33,2537           12541                           TCF      +2                                    
037345,000764: 
037346,000765: 33,2540           34745        POS2CHK            CAF      BIT7                                  
037347,000766: 33,2541           03674                           TC       POSTST                                
037348,000767: 33,2542           13115                           TCF      UPDATCHK                              #  LR IN RIGHT POSITION - CONTINUE
037349,000768: 
037350,000769: 33,2543           05567        LRPOSALM           TC       ALARM                                 #  LR NOT IN PROPER POS-ALARM-BYPASS UPDATE
037351,000770: 33,2544           00511                           OCT      511                                   #  AND CONTINUE SERVICER
037352,000771: 33,2545           00004        CONTSERV           INHINT                                         
037353,000772: 33,2546           43111                           CS       BITS4-7                               
037354,000773: 33,2547           70107                           MASK     FLGWRD11                              #  CLEAR LR MEASUREMENT MADE DISCRETES.
037355,000774: 33,2550           54107                           TS       FLGWRD11                              
037356,000775: 

Page 871

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

Page 872

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

Page 873

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

Page 874

037497,000916: 33,2745           01236                                    GDT/2                                 
037498,000917: 33,2746           65255                           VAD      PDDL                                  #                                        (18)
037499,000918: 33,2747           01226                                    VN                                    
037500,000919: 33,2750           01247                                    PGUIDE                                
037501,000920: 33,2751           74261                           SL       VXSC                                  
037502,000921: 33,2752           20207                                    6D                                    
037503,000922: 33,2753           44055                           VAD      STQ                                   
037504,000923: 33,2754           01220                                    RN                                    
037505,000924: 33,2755           00037                                    31D                                   
037506,000925: 33,2756           37545                           STCALL   RN1                                   #  TEMP STORAGE OF RN SCALED 2(+29) M
037507,000926: 33,2757           66667                                    CALCGRAV                              
037508,000927: 
037509,000928: 33,2760           53255                           VAD      VAD                                   
037510,000929: 33,2761           77655                           VAD                                            
037511,000930: 33,2762           01226                                    VN                                    
037512,000931: 33,2763           37553                           STCALL   VN1                                   #  TEMP STORAGE OF VN SCALED 2(+7) M/CS
037513,000932: 33,2764           00037                                    31D                                   
037514,000933: 
037515,000934: 33,2765           01463 06315  DP1/20             2DEC     0.05                                  
037516,000935: 33,2767           00010 00000  SHIFT11            2DEC     1          B-11                       
037517,000936: 

Page 875

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

Page 876

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

Page 877

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

Page 878

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

Page 879

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

Page 880

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

Page 881

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

Page 882

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

Page 883

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

Page 884

037959,001378: 33,3547           31672        NOLITE             CA       LRMCTR                                #  SET S = M
037960,001379: 33,3550           55673                           TS       LRSCTR                                
037961,001380: 
037962,001381: 33,3551           11651                           CCS      VSELECT                               #  TEST FOR Z COMPONENT
037963,001382: 33,3552           13454                           TCF      ENDVDAT                               #  NOT Z, DO NOT SET VX INHIBIT
037964,001383: 
037965,001384: 33,3553           05504                           TC       UPFLAG                                #  Z COMPONENT - SET FLAG TO SKIP X
037966,001385: 33,3554           00250                           ADRES    VXINH                                 #  COMPONENT, AS ERROR MAY BE DUE TO CROSS
037967,001386: 33,3555           13454                           TCF      ENDVDAT                               #  LOBE LOCK UP NOT DETECTED ON X AXIS.
037968,001387: 

Page 885

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

Page 886

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

Page 887

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

Page 888

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

Page 889

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

Page 890

038221,001640: 33,3737           06520                                    UNITY                                 #  CONVERT UNITY(ANTENNA) TO NB
038222,001641: 33,3740           47653                                    TRG*SMNB                              
038223,001642: 33,3741           26237                           STOVL    VYBEAMNB                              
038224,001643: 33,3742           06522                                    UNITX                                 #  CONVERT UNITX(ANTENNA) TO NB
038225,001644: 33,3743           77624                           CALL                                           
038226,001645: 33,3744           47673                                    *SMNB*                                
038227,001646: 33,3745           02245                           STORE    VXBEAMNB                              
038228,001647: 33,3746           76435                           VXV      VSL1                                  
038229,001648: 33,3747           02237                                    VYBEAMNB                              
038230,001649: 33,3750           26231                           STOVL    VZBEAMNB                              #  Z = X * Y
038231,001650: 33,3751           26003                                    HBEAMANT                              
038232,001651: 33,3752           77624                           CALL                                           
038233,001652: 33,3753           47673                                    *SMNB*                                #  CONVERT TO NB
038234,001653: 33,3754           02273                           STORE    HBEAMNB                               
038235,001654: 33,3755           77776                           EXIT                                           
038236,001655: 
038237,001656: 33,3756           01650                           TC       LRADRET                               
038238,001657: 
038239,001658: 33,3757           00523        OCT523             OCT      00523                                 

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