Source Code

This is a reconstructed version of Luminary 130, the initial AGC program released in November 1969 for the Apollo 13 LM. Three more releases followed before the flown revision was finally manufactured in February 1970.

This reconstruction was created from a previous transcription of the original listing of Luminary 131, combined with Luminary memo #129 which describes the small difference between the Luminary 130 and 131. The reconstructed source code was verified by matching memory-bank checksums to those listed for Luminary 130 in drawing 2021152G.

In this source code, program comments from the original (Luminary 131) code are prefixed with '#', while those added later by the Virtual AGC project are prefixed with '##'.

036801,000002:                                                                                                  ## Copyright:   Public domain.
036802,000003:                                                                                                  ## Filename:    SERVICER.agc
036803,000004:                                                                                                  ## Purpose:     A section of the reconstructed source code for Luminary 130.
036804,000005:                                                                                                  ##              This was the original program released for the Apollo 13 LM,
036805,000006:                                                                                                  ##              although several more revisions would follow. It has been
036806,000007:                                                                                                  ##              reconstructed from a listing of Luminary 131, from which it
036807,000008:                                                                                                  ##              differs on only two lines in P70-P71. The difference is
036808,000009:                                                                                                  ##              described in detail in Luminary memo #129, which was used
036809,000010:                                                                                                  ##              to perform the reconstruction. This file is intended to be a
036810,000011:                                                                                                  ##              faithful reconstruction, except that the code format has been
036811,000012:                                                                                                  ##              changed to conform to the requirements of the yaYUL assembler
036812,000013:                                                                                                  ##              rather than the original YUL assembler.
036813,000014:                                                                                                  ## Reference:   pp. 852-890
036814,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
036815,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
036816,000017:                                                                                                  ## Mod history: 05/27/03 RSB.   Began transcribing.
036817,000018:                                                                                                  ##              05/14/05 RSB    Corrected website references above.
036818,000019:                                                                                                  ##              2010-08-24 JL   Fixed page numbers.
036819,000020:                                                                                                  ##              2010-10-25 JL   Indentation fixes.
036820,000021:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
036821,000022:                                                                                                  ##                              original harcopy, as opposed to the PDF page
036822,000023:                                                                                                  ##                              numbers in 1701.pdf.
036823,000024:                                                                                                  ##              2017-02-26 RSB  Proofed comment text using octopus/ProoferComments.
036824,000025:                                                                                                  ##              2017-03-01 RSB  Fixed lingering typos.
036825,000026:                                                                                                  ##              2017-03-14 RSB  Comment-text fixes noted in proofing Luminary 116.
036826,000027:                                                                                                  ##              2017-03-16 RSB  Comment-text fixes identified in 5-way
036827,000028:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
036828,000029:                                                                                                  ##              2018-09-04 MAS  Copied from Luminary 131 for Luminary 130.
036829,000030: 

Page 852

036831,000032: 37,3410                                           BANK     37                                    
036832,000033: 37,2000                                           SETLOC   SERV1                                 
036833,000034: 37,2000                                           BANK                                           
036834,000035: 
036835,000036: 37,3410  E7,1515                                  EBANK=   DVCNTR                                
036836,000037: 
036837,000038:                                                                                                  #  *************************************   PREREAD   **************************************************************
036838,000039: 
036839,000040: 37,3410                                           COUNT*   $$/SERV                               
036840,000041: 
036841,000042: 37,3410           34757        PREREAD            CAF      SEVEN                                 #  5.7 SPOT TO SKIP LASTBIAS AFTER
036842,000043: 37,3411           03527                           TC       GNUFAZE5                              #  RESTART.
036843,000044: 37,3412           35031                           CAF      PRIO21                                
036844,000045: 37,3413           05072                           TC       NOVAC                                 
036845,000046: 37,3414  E3,1460                                  EBANK=   NBDX                                  
036846,000047: 37,3414           03671 14063                     2CADR    LASTBIAS                              #  DO LAST GYRO COMPENSATION IN FREE FALL
036847,000048: 
036848,000049: 37,3416           03541        BIBIBIAS           TC       PIPASR     +3                         #  CLEAR + READ PIPS LAST TIME IN FRE5+F133
036849,000050:                                                                                                  #  DO NOT DESTROY VALUE OF PIPTIME1
036850,000051: 
036851,000052: 37,3417           40103                           CS       FLAGWRD7                              
036852,000053: 37,3420           74773                           MASK     SUPER011                              #  SET V37FLAG AND AVEGFLAG (BITS 5 AND 6
036853,000054: 37,3421           26103                           ADS      FLAGWRD7                              #        OF FLAGWRD7)
036854,000055: 
036855,000056: 37,3422           44735                           CS       DRFTBIT                               
036856,000057: 37,3423           70076                           MASK     FLAGWRD2                              #  RESET DRIFTFLAG
036857,000058: 37,3424           54076                           TS       FLAGWRD2                              
036858,000059: 
036859,000060: 37,3425           34751                           CAF      FOUR                                  #  INITIALIZE DV MONITOR
036860,000061: 37,3426           55256                           TS       PIPAGE                                
036861,000062: 
036862,000063: 37,3427           37713                           CAF      PRIO22                                
036863,000064: 37,3430           05105                           TC       FINDVAC                               #  TO FIRST ENTRY TO AVERAGE G.
036864,000065: 37,3431  E7,1515                                  EBANK=   DVCNTR                                
036865,000066: 37,3431           02463 46067                     2CADR    NORMLIZE                              
036866,000067: 
036867,000068: 37,3433           34752                           CA       TWO                                   #  5.2SPOT FOR REREADAC AND NORMLIZE
036868,000069: 37,3434           03523        GOREADAX           TC       GNUTFAZ5                              
036869,000070: 37,3435           35000                           CA       2SECS                                 #  WAIT TWO SECONDS FOR READACCS
036870,000071: 37,3436           05224                           TC       VARDELAY                              
036871,000072: 

Page 853

036873,000074:                                                                                                  #  *************************************   READACCS   *************************************************************
036874,000075: 
036875,000076: 37,3437           43535        READACCS           CS       OCT37771                              #  THIS PIECE OF CODING ATTEMPTS TO
036876,000077: 37,3440           60030                           AD       TIME5                                 #  SYNCHRONIZE READACCS WITH THE DIGITAL
036877,000078: 37,3441           10000                           CCS      A                                     #  AUTOPILOT SO THAT A PAXIS RUPT WILL
036878,000079: 37,3442           44753                           CS       ONE                                   #  OCCUR APPROXIMATELY 70 MILLISECONDS
036879,000080: 37,3443           13445                           TCF      +2                                    #  FOLLOWING THE READACCS RUPT.  THE 70 MS
036880,000081: 37,3444           34753                           CA       ONE                                   #  OFFSET WAS CHOSEN SO THAT THE PAXIS
036881,000082: 37,3445           26030                 +2        ADS      TIME5                                 #  RUPT WOULD NOT OCCUR SIMULTANEOUSLY
036882,000083:                                                                                                  #  WITH ANY OF THE 8 SUBSEQUENT R10,R11
036883,000084:                                                                                                  #  INTERRUPTS -- THUS MINIMIZING THE POSS-
036884,000085:                                                                                                  #  IBILITY OF LOSING DOWNRUPTS.
036885,000086: 
036886,000087: 37,3446           03536                           TC       PIPASR                                #  READ THE PIPAS.
036887,000088: 
036888,000089: 37,3447           34756        PIPSDONE           CA       FIVE                                  
036889,000090: 37,3450           03527                           TC       GNUFAZE5                              
036890,000091: 37,3451           34753        REDO5.5            CAF      ONE                                   
036891,000092: 37,3452           55256                           TS       PIPAGE                                
036892,000093: 
036893,000094: 37,3453           34736                           CA       PRIO20                                
036894,000095: 37,3454           05105                           TC       FINDVAC                               
036895,000096: 37,3455  E7,1515                                  EBANK=   DVCNTR                                
036896,000097: 37,3455           02206 66067                     2CADR    SERVICER                              #  SET UP SERVICER JOB
036897,000098: 
036898,000099: 37,3457           34743                           CA       BIT9                                  
036899,000100: 37,3460           00006                           EXTEND                                         
036900,000101: 37,3461           05011                           WOR      DSALMOUT                              #  TURN ON TEST CONNECTOR OUTBIT
036901,000102: 
036902,000103: 37,3462           30103                           CA       FLAGWRD7                              
036903,000104: 37,3463           74747                           MASK     AVEGFBIT                              
036904,000105: 37,3464           00006                           EXTEND                                         
036905,000106: 37,3465           13515                           BZF      AVEGOUT                               #  AVEGFLAG DOWN - SET UP FINAL EXIT
036906,000107: 
036907,000108: 37,3466           30102                           CA       FLAGWRD6                              
036908,000109: 37,3467           74744                           MASK     MUNFLBIT                              
036909,000110: 37,3470           00006                           EXTEND                                         
036910,000111: 37,3471           13513                           BZF      MAKEACCS                              #  MUNFLAG CLEAR - BYPASS LR AND DISP.
036911,000112: 
036912,000113: 37,3472           10754                           CCS      PHASE2                                
036913,000114: 37,3473           13513                           TCF      MAKEACCS                              #  PHASE 2 ACTIVATED - AVOID MULTIPLE R10.
036914,000115: 
036915,000116: 37,3474           34757                           CAF      SEVEN                                 #  SET PIPCTR FOR 4X/SEC RATE.
036916,000117: 37,3475           55055                           TS       PIPCTR                                
036917,000118: 
036918,000119: 37,3476           40025                           CS       TIME1                                 #  SET TBASE2 .05 SECONDS IN THE PAST.
036919,000120: 37,3477           64756                           AD       FIVE                                  
036920,000121: 37,3500           64734                           AD       NEG1/2                                
036921,000122: 37,3501           64734                           AD       NEG1/2                                
036922,000123: 37,3502           57054                           XCH      TBASE2                                

Page 854

036924,000125: 37,3503           34361                           CAF      DEC17                                 #  2.21SPOT FOR R10,R11
036925,000126: 37,3504           54001                           TS       L                                     
036926,000127: 37,3505           40000                           COM                                            
036927,000128: 37,3506           52754                           DXCH     -PHASE2                               
036928,000129: 
036929,000130: 37,3507           36007                           CAF      OCT24                                 #  FIRST R10,R11 IN .200 SECONDS.
036930,000131: 37,3510           05203                           TC       WAITLIST                              
036931,000132: 37,3511  E7,1536                                  EBANK=   UNIT/R/                               
036932,000133: 37,3511           02006 42067                     2CADR    R10,R11                               
036933,000134: 
036934,000135: 37,3513           34751        MAKEACCS           CA       FOUR                                  
036935,000136: 37,3514           13434                           TCF      GOREADAX                              #  DO PHASE CHANGE AND RECALL READACCS
036936,000137: 
036937,000138: 37,3515           00006        AVEGOUT            EXTEND                                         
036938,000139: 37,3516           33534                           DCA      AVOUTCAD                              #  SET UP FINAL SERVICER EXIT
036939,000140: 37,3517           53252                           DXCH     AVGEXIT                               
036940,000141: 
036941,000142: 37,3520           34751                           CA       FOUR                                  #  SET 5.4 SPOT FOR REREADAC AND SERVICER
036942,000143: 37,3521           03523                           TC       GNUTFAZ5                              #  IF REREADAC IS CALLED, IT WILL EXIT
036943,000144: 37,3522           05261                           TC       TASKOVER                              #  END TASK WITHOUT CALLING READACCS
036944,000145: 
036945,000146: 37,3523           54001        GNUTFAZ5           TS       L                                     #  SAVE INPUT IN L
036946,000147: 37,3524           40025                           CS       TIME1                                 
036947,000148: 37,3525           55062                           TS       TBASE5                                #  SET TBASE5
036948,000149: 37,3526           13530                           TCF      +2                                    
036949,000150: 
036950,000151: 37,3527           54001        GNUFAZE5           TS       L                                     #  SAVE INPUT IN L
036951,000152: 37,3530           40001                           CS       L                                     #  -PHASE IN A, PHASE IN L
036952,000153: 37,3531           52762                           DXCH     -PHASE5                               #  SET -PHASE5,PHASE5
036953,000154: 37,3532           00002                           TC       Q                                     
036954,000155: 
036955,000156: 37,3533  E7,1515                                  EBANK=   DVCNTR                                
036956,000157: 37,3533           03661 44067  AVOUTCAD           2CADR    AVGEND                                
036957,000158: 
036958,000159: 37,3535           37771        OCT37771           OCT      37771                                 
036959,000160: 
036960,000161: 33,2206                                           BANK     33                                    
036961,000162: 33,2000                                           SETLOC   SERVICES                              
036962,000163: 33,2000                                           BANK                                           
036963,000164: 
036964,000165: 33,2206                                           COUNT*   $$/SERV                               
036965,000166: 

Page 855

036967,000168:                                                                                                  #  *************************************   SERVICER   *************************************************************
036968,000169: 
036969,000170: 33,2206           05353        SERVICER           TC       PHASCHNG                              #  RESTART REREADAC + SERVICER
036970,000171: 33,2207           16035                           OCT      16035                                 
036971,000172: 33,2210           20000                           OCT      20000                                 
036972,000173: 33,2211  E7,1515                                  EBANK=   DVCNTR                                
036973,000174: 33,2211           02217 66067                     2CADR    GETABVAL                              
036974,000175: 
036975,000176: 33,2213           37721                           CAF      PRIO31                                #  INITIALIZE 1/PIPADT IN CASE RESTART HAS
036976,000177: 33,2214           55074                           TS       1/PIPADT                              #  CAUSED LASTBIAS TO BE SKIPPED.
036977,000178: 
036978,000179: 33,2215           04616                           TC       BANKCALL                              #  PIPA COMPENSATION CALL
036979,000180: 33,2216           15271                           CADR     1/PIPA                                
036980,000181: 
036981,000182: 33,2217           06042        GETABVAL           TC       INTPRET                               
036982,000183: 33,2220           51575                           VLOAD    ABVAL                                 
036983,000184: 33,2221           00325                                    DELV                                  
036984,000185: 33,2222           77776                           EXIT                                           
036985,000186: 33,2223           30154                           CA       MPAC                                  
036986,000187: 33,2224           55245                           TS       ABDELV                                #  ABDELV = CM/SEC*2(-14).
036987,000188: 33,2225           00006                           EXTEND                                         
036988,000189: 33,2226           72020                           MP       KPIP                                  
036989,000190: 33,2227           53514                           DXCH     ABDVCONV                              #  ABDVCONV = M/CS * 2(-5).
036990,000191: 33,2230           00006                           EXTEND                                         
036991,000192: 33,2231           31244                           DCA      MASS                                  
036992,000193: 33,2232           53571                           DXCH     MASS1                                 #  INITIALIZE MASS1 IN CASE WE SKIP MASSMON
036993,000194: 33,2233           40104        MASSMON            CS       FLAGWRD8                              #  ARE WE ON THE SURFACE?
036994,000195: 33,2234           74744                           MASK     SURFFBIT                              
036995,000196: 33,2235           00006                           EXTEND                                         
036996,000197: 33,2236           12254                           BZF      MOONSPOT                              #  YES:  BYPASS MASS MESS
036997,000198: 33,2237           30106                           CA       FLGWRD10                              #  NO:  WHICH VEX SHOULD BE USED?
036998,000199: 33,2240           74737                           MASK     APSFLBIT                              
036999,000200: 33,2241           10000                           CCS      A                                     
037000,000201: 33,2242           00006                           EXTEND                                         #  IF EXTEND IS EXECUTED, APSVEX --> A,
037001,000202: 33,2243           32001                           DCA      APSVEX                                #        OTHERWISE DPSVEX --> A
037002,000203: 33,2244           54002                           TS       Q                                     
037003,000204: 
037004,000205: 33,2245           00006                           EXTEND                                         
037005,000206: 33,2246           31514                           DCA      ABDVCONV                              
037006,000207: 33,2247           00006                           EXTEND                                         
037007,000208: 33,2250           10002        OCT10002           DV       Q                                     #  WHERE APPROPRIATE VEX RESIDES
037008,000209: 33,2251           00006                           EXTEND                                         
037009,000210: 33,2252           71243                           MP       MASS                                  
037010,000211: 33,2253           21571                           DAS      MASS1                                 
037011,000212: 
037012,000213: 33,2254           32021        MOONSPOT           CA       KPIP1                                 #  TP MPAC = ABDELV AT 2(14) CM/SEC
037013,000214: 33,2255           07312                           TC       SHORTMP                               #  MULTIPLY BY KPIP1 TO GET

Page 856

037015,000216: 33,2256           52155                           DXCH     MPAC                                  #  ABDELV AT 2(7) M/CS
037016,000217: 33,2257           21510                           DAS      DVTOTAL                               #  UPDATE DVTOTAL FOR DISPLAY
037017,000218: 
037018,000219: 33,2260           02440                           TC       TMPTOSPT                              
037019,000220: 
037020,000221: 33,2261           04616                           TC       BANKCALL                              
037021,000222: 33,2262           47617                           CADR     QUICTRIG                              
037022,000223: 
037023,000224: 33,2263           32414                           CAF      XNBPIPAD                              
037024,000225: 33,2264           04616                           TC       BANKCALL                              
037025,000226: 33,2265           20037                           CADR     FLESHPOT                              
037026,000227: 33,2266           06042                           TC       INTPRET                               
037027,000228: 33,2267           45014        AVERAGEG           BON      CALL                                  
037028,000229: 33,2270           03307                                    MUNFLAG                               
037029,000230: 33,2271           66771                                    RVBOTH                                
037030,000231: 33,2272           66735                                    CALCRVG                               
037031,000232: 33,2273           77776                           EXIT                                           
037032,000233: 33,2274           03512        GOSERV             TC       QUIKFAZ5                              
037033,000234: 
037034,000235: 33,2275           02423        COPYCYCL           TC       COPYCYC                               
037035,000236: 
037036,000237:                                                                                                  #                CA      ZERO            A IS ZERO ON RETURN FROM COPYCYC
037037,000238: 33,2276           55157                           TS       PIPATMPX                              #  STILL UNDER INHINT
037038,000239: 33,2277           55160                           TS       PIPATMPY                              
037039,000240: 33,2300           55161                           TS       PIPATMPZ                              
037040,000241: 
037041,000242: 33,2301           44741                           CS       STEERBIT                              #  CLEAR STEERSW PRIOR TO DVMON.
037042,000243: 33,2302           70076                           MASK     FLAGWRD2                              
037043,000244: 33,2303           54076                           TS       FLAGWRD2                              
037044,000245: 
037045,000246: 33,2304           34745                           CAF      IDLEFBIT                              #  IS THE IDLE FLAG SET?
037046,000247: 33,2305           70103                           MASK     FLAGWRD7                              
037047,000248: 33,2306           10000                           CCS      A                                     
037048,000249: 33,2307           12342                           TCF      NODVMON1                              #  IDLEFLAG = 1, HENCE SET AUXFLAG TO 0.
037049,000250: 
037050,000251: 33,2310           40102                           CS       FLAGWRD6                              
037051,000252: 33,2311           74752                           MASK     AUXFLBIT                              
037052,000253: 33,2312           10000                           CCS      A                                     
037053,000254: 33,2313           12346                           TCF      NODVMON2                              #  AUXFLAG = 0, HENCE SET AUXFLAG TO 1.
037054,000255: 
037055,000256: 33,2314           41250        DVMON              CS       DVTHRUSH                              
037056,000257: 33,2315           61245                           AD       ABDELV                                
037057,000258: 33,2316           00006                           EXTEND                                         
037058,000259: 33,2317           62352                           BZMF     LOTHRUST                              
037059,000260: 
037060,000261: 33,2320           40076                           CS       FLAGWRD2                              #  SET STEERSW.
037061,000262: 33,2321           74741                           MASK     STEERBIT                              
037062,000263: 33,2322           26076                           ADS      FLAGWRD2                              
037063,000264: 
037064,000265: 33,2323           34753        DVCNTSET           CAF      ONE                                   #  ALLOW TWO PASSES MAXIMUM NOW THAT

Page 857

037066,000267: 33,2324           55515                           TS       DVCNTR                                #  THRUST HAS BEEN DETECTED.
037067,000268: 
037068,000269: 33,2325           30106                           CA       FLGWRD10                              #  BRANCH IF APSFLAG IS SET.
037069,000270: 33,2326           74737                           MASK     APSFLBIT                              
037070,000271: 33,2327           10000                           CCS      A                                     
037071,000272: 33,2330           12375                           TCF      USEJETS                               
037072,000273: 
037073,000274: 33,2331           34743                           CA       BIT9                                  #  CHECK GIMBAL FAIL BIT
037074,000275: 33,2332           00006                           EXTEND                                         
037075,000276: 33,2333           02032                           RAND     CHAN32                                
037076,000277: 33,2334           00006                           EXTEND                                         
037077,000278: 33,2335           12375                           BZF      USEJETS                               
037078,000279: 
037079,000280: 33,2336           44736        USEGTS             CS       USEQRJTS                              
037080,000281: 33,2337           70111                           MASK     DAPBOOLS                              
037081,000282: 33,2340           54111                           TS       DAPBOOLS                              
037082,000283: 33,2341           12400                           TCF      SERVOUT                               
037083,000284: 
037084,000285: 33,2342           44752        NODVMON1           CS       AUXFLBIT                              #  SET AUXFLAG TO 0.
037085,000286: 33,2343           70102                           MASK     FLAGWRD6                              
037086,000287: 33,2344           54102                           TS       FLAGWRD6                              
037087,000288: 33,2345           12375                           TCF      USEJETS                               
037088,000289: 33,2346           40102        NODVMON2           CS       FLAGWRD6                              #  SET AUXFLAG TO 1.
037089,000290: 33,2347           74752                           MASK     AUXFLBIT                              
037090,000291: 33,2350           26102                           ADS      FLAGWRD6                              
037091,000292: 33,2351           12375                           TCF      USEJETS                               
037092,000293: 
037093,000294: 33,2352           03512        LOTHRUST           TC       QUIKFAZ5                              
037094,000295: 33,2353           11515                           CCS      DVCNTR                                
037095,000296: 33,2354           12366                           TCF      DECCNTR                               
037096,000297: 
037097,000298: 33,2355           10760                           CCS      PHASE4                                #  COMFAIL JOB ACTIVE?
037098,000299: 33,2356           12400                           TCF      SERVOUT                               #  YES   WON'T NEED ANOTHER.
037099,000300: 
037100,000301: 33,2357           05353                           TC       PHASCHNG                              #  4.37SPOT FOR COMFAIL.
037101,000302: 33,2360           00374                           OCT      00374                                 
037102,000303: 
037103,000304: 33,2361           37716                           CAF      PRIO25                                
037104,000305: 33,2362           05072                           TC       NOVAC                                 
037105,000306: 33,2363  E7,1455                                  EBANK=   WHICH                                 
037106,000307: 33,2363           02575 74067                     2CADR    COMFAIL                               
037107,000308: 
037108,000309: 33,2365           12400                           TCF      SERVOUT                               
037109,000310: 
037110,000311: 33,2366           55570        DECCNTR            TS       DVCNTR1                               
037111,000312: 33,2367           03512                           TC       QUIKFAZ5                              
037112,000313: 33,2370           31570                           CA       DVCNTR1                               
037113,000314: 33,2371           55515                           TS       DVCNTR                                
037114,000315: 33,2372           00004                           INHINT                                         
037115,000316: 33,2373           04674                           TC       IBNKCALL                              #  IF THRUST IS LOW, NO STEERING IS DONE

Page 858

037117,000318: 33,2374           40166                           CADR     STOPRATE                              #  AND THE DESIRED RATES ARE SET TO ZERO.
037118,000319: 33,2375           40111        USEJETS            CS       DAPBOOLS                              
037119,000320: 33,2376           74736                           MASK     USEQRJTS                              
037120,000321: 33,2377           26111                           ADS      DAPBOOLS                              
037121,000322: 33,2400           00003        SERVOUT            RELINT                                         
037122,000323: 33,2401           04616                           TC       BANKCALL                              
037123,000324: 33,2402           40463                           CADR     1/ACCS                                
037124,000325: 
037125,000326: 33,2403           30167                           CA       PRIORITY                              
037126,000327: 33,2404           75004                           MASK     LOW9                                  
037127,000328: 33,2405           54166                           TS       PUSHLOC                               
037128,000329: 33,2406           22007                           ZL                                             
037129,000330: 33,2407           52121                           DXCH     FIXLOC                                #  FIXLOC AND OVFIND
037130,000331: 
037131,000332: 33,2410           03512                           TC       QUIKFAZ5                              
037132,000333: 33,2411           00006                           EXTEND                                         #  EXIT TO SELECTED ROUTINE WHETHER THERE
037133,000334: 33,2412           31252                           DCA      AVGEXIT                               #  IS THRUST OR NOT.  THE STATE OF STEERSW
037134,000335: 33,2413           52006                           DXCH     Z                                     #  WILL CONVEY THIS INFORMATION.
037135,000336: 
037136,000337: 33,2414           02145        XNBPIPAD           ECADR    XNBPIP                                
037137,000338: 
037138,000339: 32,3746                                           BANK     32                                    
037139,000340: 22,2000                                           SETLOC   SERV2                                 
037140,000341: 22,2000                                           BANK                                           
037141,000342: 22,3661                                           COUNT*   $$/SERV                               
037142,000343: 
037143,000344: 22,3661           31234        AVGEND             CA       PIPTIME    +1                         #  FINAL AVERAGE G EXIT
037144,000345: 22,3662           55074                           TS       1/PIPADT                              #  SET UP FREE FALL GYRO COMPENSATION.
037145,000346: 
037146,000347: 22,3663           05504                           TC       UPFLAG                                #  SET DRIFT FLAG.
037147,000348: 22,3664           00036                           ADRES    DRIFTFLG                              
037148,000349: 
037149,000350: 22,3665           04616                           TC       BANKCALL                              
037150,000351: 22,3666           17301                           CADR     PIPFREE                               
037151,000352: 
037152,000353: 22,3667           44743                           CS       BIT9                                  
037153,000354: 22,3670           00006                           EXTEND                                         
037154,000355: 22,3671           03011                           WAND     DSALMOUT                              
037155,000356: 
037156,000357: 22,3672           05327                           TC       2PHSCHNG                              
037157,000358: 22,3673           00005                           OCT      5                                     #  GROUP 5 OFF
037158,000359: 22,3674           05022                           OCT      05022                                 #  GROUP 2 ON
037159,000360: 22,3675           20000                           OCT      20000                                 
037160,000361: 
037161,000362: 22,3676           06042                           TC       INTPRET                               
037162,000363: 22,3677           43014                           SET      CLEAR                                 
037163,000364: 22,3700           01464                                    NOR29FLG                              #  SHUT OFF R29 WHEN SERVICER ENDS.
037164,000365: 22,3701           03664                                    SWANDISP                              #  SHUT OFF R10 WHEN SERVICER ENDS.
037165,000366: 22,3702           45014                           CLEAR    CALL                                  #  RESET MUNFLAG.
037166,000367: 22,3703           03267                                    MUNFLAG                               

Page 859

037168,000369: 22,3704           27463                                    AVETOMID                              
037169,000370: 22,3705           77414                           CLEAR    EXIT                                  
037170,000371: 22,3706           03671                                    V37FLAG                               
037171,000372: 22,3707           04635        AVERTRN            TC       POSTJUMP                              
037172,000373: 22,3710           10116                           CADR     V37RET                                
037173,000374: 
037174,000375: 22,3711  22,3707               OUTGOAVE           =        AVERTRN                               
037175,000376: 22,3711  E7,1570               DVCNTR1            =        MASS1                                 
037176,000377: 

Page 860

037178,000379: 27,2000                                           SETLOC   SERV3                                 
037179,000380: 27,2000                                           BANK                                           
037180,000381: 27,3322                                           COUNT*   $$/SERV                               
037181,000382: 
037182,000383: 27,3322           00006        SERVIDLE           EXTEND                                         #  DISCONNECT SERVICER FROM ALL GUIDANCE
037183,000384: 27,3323           33360                           DCA      SVEXTADR                              
037184,000385: 27,3324           53252                           DXCH     AVGEXIT                               
037185,000386: 
037186,000387: 27,3325           40103                           CS       FLAGWRD7                              #  DISCONNECT THE DELTA-V MONITOR
037187,000388: 27,3326           74745                           MASK     IDLEFBIT                              
037188,000389: 27,3327           26103                           ADS      FLAGWRD7                              
037189,000390: 
037190,000391: 27,3330           34735                           CAF      LRBYBIT                               #  TERMINATE R12 IF RUNNING.
037191,000392: 27,3331           54107                           TS       FLGWRD11                              
037192,000393: 
037193,000394: 27,3332           00006                           EXTEND                                         
037194,000395: 27,3333           34755                           DCA      NEG0                                  
037195,000396: 27,3334           52752                           DXCH     -PHASE1                               
037196,000397: 
037197,000398: 27,3335           30102                           CA       FLAGWRD6                              #  DO NOT TURN OFF PHASE 2 IF MUNFLAG SET.
037198,000399: 27,3336           74744                           MASK     MUNFLBIT                              
037199,000400: 27,3337           10000                           CCS      A                                     
037200,000401: 27,3340           13344                           TCF      +4                                    
037201,000402: 
037202,000403: 27,3341           00006                           EXTEND                                         
037203,000404: 27,3342           34755                           DCA      NEG0                                  
037204,000405: 27,3343           52754                           DXCH     -PHASE2                               
037205,000406: 
037206,000407: 27,3344           00006                 +4        EXTEND                                         
037207,000408: 27,3345           34755                           DCA      NEG0                                  
037208,000409: 27,3346           52756                           DXCH     -PHASE3                               
037209,000410: 
037210,000411: 27,3347           00006                           EXTEND                                         
037211,000412: 27,3350           34755                           DCA      NEG0                                  
037212,000413: 27,3351           52764                           DXCH     -PHASE6                               
037213,000414: 
037214,000415: 27,3352           34764                           CAF      OCT33                                 #  4.33SPOT FOR GOPOOFIX
037215,000416: 27,3353           54001                           TS       L                                     
037216,000417: 27,3354           40000                           COM                                            
037217,000418: 27,3355           52760                           DXCH     -PHASE4                               
037218,000419: 
037219,000420: 27,3356           15634                           TCF      WHIMPER                               #  PERFORM A SOFTWARE RESTART AND PROCEED
037220,000421:                                                                                                  #  TO GOTOPOOH WHILE SERVICER CONTINUES TO
037221,000422:                                                                                                  #  RUN, ALBEIT IN A GROUND STATE WHERE
037222,000423:                                                                                                  #  ONLY STATE-VECTOR DEPENDENT FUNCTIONS
037223,000424:                                                                                                  #  ARE MAINTAINED.
037224,000425: 
037225,000426: 27,3357  E7,1515                                  EBANK=   DVCNTR                                

Page 861

037227,000428: 27,3357           03746 64067  SVEXTADR           2CADR    SERVEXIT                              
037228,000429: 
037229,000430: 32,3746                                           BANK     32                                    
037230,000431: 32,2000                                           SETLOC   SERV                                  
037231,000432: 32,2000                                           BANK                                           
037232,000433: 32,3746                                           COUNT*   $$/SERV                               
037233,000434: 
037234,000435: 32,3746           05353        SERVEXIT           TC       PHASCHNG                              
037235,000436: 32,3747           00035                           OCT      00035                                 
037236,000437: 
037237,000438: 32,3750           15155                           TCF      ENDOFJOB                              
037238,000439: 
037239,000440: 23,2463                                           BANK     23                                    
037240,000441: 23,2000                                           SETLOC   NORMLIZ                               
037241,000442: 23,2000                                           BANK                                           
037242,000443: 
037243,000444: 23,2463                                           COUNT*   $$/SERV                               
037244,000445: 

Page 862

037246,000447:                                                                                                  #  NORMLIZE AND COPYCYCL
037247,000448: 
037248,000449: 23,2463           06042        NORMLIZE           TC       INTPRET                               
037249,000450: 23,2464           43175                           VLOAD    BOFF                                  
037250,000451: 23,2465           03545                                    RN1                                   
037251,000452: 23,2466           03347                                    MUNFLAG                               
037252,000453: 23,2467           66415                                    NORMLIZ1                              
037253,000454: 23,2470           64252                           VSL6     MXV                                   
037254,000455: 23,2471           01734                                    REFSMMAT                              
037255,000456: 23,2472           37521                           STCALL   R                                     
037256,000457: 23,2473           67067                                    MUNGRAV                               
037257,000458: 23,2474           76575                           VLOAD    VSL1                                  
037258,000459: 23,2475           03553                                    VN1                                   
037259,000460: 23,2476           77721                           MXV                                            
037260,000461: 23,2477           01734                                    REFSMMAT                              
037261,000462: 23,2500           27527                           STOVL    V                                     
037262,000463: 23,2501           01726                                    V(CSM)                                
037263,000464: 23,2502           53435                           VXV      UNIT                                  
037264,000465: 23,2503           01720                                    R(CSM)                                
037265,000466: 23,2504           03720                           STORE    UHYP                                  
037266,000467: 23,2505           77776        ASCSPOT            EXIT                                           
037267,000468: 23,2506           00006                           EXTEND                                         #  MAKE SURE GOUP 2 IS OFF.
037268,000469: 23,2507           34755                           DCA      NEG0                                  
037269,000470: 23,2510           52754                           DXCH     -PHASE2                               
037270,000471: 
037271,000472: 23,2511           04635                           TC       POSTJUMP                              
037272,000473: 23,2512           66420                           CADR     NORMLIZ2                              
037273,000474: 
037274,000475: 33,2415                                           BANK     33                                    
037275,000476: 33,2000                                           SETLOC   SERVICES                              
037276,000477: 33,2000                                           BANK                                           
037277,000478: 33,2415                                           COUNT*   $$/SERV                               
037278,000479: 
037279,000480: 33,2415           77624        NORMLIZ1           CALL                                           
037280,000481: 33,2416           66667                                    CALCGRAV                              
037281,000482: 33,2417           77776                           EXIT                                           
037282,000483: 
037283,000484: 33,2420           32437        NORMLIZ2           CA       EIGHTEEN                              
037284,000485: 33,2421           02424                           TC       COPYCYC    +1                         #  DO NOT COPY MASS IN NORMLIZE
037285,000486: 33,2422           05155                           TC       ENDOFJOB                              
037286,000487: 
037287,000488: 33,2423           36007        COPYCYC            CA       OCT24                                 #  DEC 20
037288,000489: 33,2424           00004                 +1        INHINT                                         
037289,000490: 33,2425           77752                 +2        MASK     NEG1                                  #  REDUCE BY 1 IF ODD
037290,000491: 33,2426           54061                           TS       ITEMP1                                
037291,000492: 33,2427           00006                           EXTEND                                         
037292,000493: 33,2430           50061                           INDEX    ITEMP1                                
037293,000494: 33,2431           31545                           DCA      RN1                                   
037294,000495: 33,2432           50061                           INDEX    ITEMP1                                

Page 863

037296,000497: 33,2433           53220                           DXCH     RN                                    
037297,000498: 33,2434           10061                           CCS      ITEMP1                                
037298,000499: 33,2435           12425                           TCF      COPYCYC    +2                         
037299,000500: 33,2436           00002                           TC       Q                                     #  RETURN UNDER INHINT
037300,000501: 
037301,000502: 33,2437           00022        EIGHTEEN           DEC      18         B-14                       
037302,000503: 

Page 864

037304,000505:                                                                                                  #  ******************* PIPA READER ********************
037305,000506:                                                                                                  #  MOD NO. 00  BY D. LICKLY  DEC.9 1966
037306,000507: 
037307,000508:                                                                                                  #  FUNCTIONAL DESCRIPTION
037308,000509:                                                                                                  #        SUBROUTINE TO READ PIPA COUNTERS, TRYING TO BE VERY CAREFUL SO THAT IT WILL BE RESTARTABLE.
037309,000510:                                                                                                  #        PIPA READINGS ARE STORED IN THE VECTOR DELV.  THE HIGH ORDER PART OF EACH COMPONENT CONTAINS THE PIPA READING,
037310,000511:                                                                                                  #        RESTARTS BEGIN AT REREADAC.
037311,000512: 
037312,000513:                                                                                                  #        AT THE END OF THE PIPA READER THE CDUS ARE READ AND STORED AS A
037313,000514:                                                                                                  #        VECTOR IN CDUTEMP.  THE HIGH ORDER PART OF EACH COMPONENT CONTAINS
037314,000515:                                                                                                  #        THE CDU READING IN 2S COMP IN THE ORDER CDUX,Y,Z.  THE THRUST
037315,000516:                                                                                                  #        VECTOR ESTIMATOR IN FINDCDUD REQUIRES THE CDUS BE READ AT PIPTIME.
037316,000517: 
037317,000518:                                                                                                  #  CALLING SEQUENCE AND EXIT
037318,000519:                                                                                                  #        CALL VIA TC, ISWCALL, ETC.
037319,000520:                                                                                                  #        EXIT IS VIA Q.
037320,000521: 
037321,000522:                                                                                                  #  INPUT
037322,000523:                                                                                                  #        INPUT IS THROUGH THE COUNTERS PIPAX, PIPAY, PIPAZ, AND TIME2.
037323,000524: 
037324,000525:                                                                                                  #  OUTPUT
037325,000526:                                                                                                  #        HIGH ORDER COMPONENTS OF THE VECTOR DELV CONTAIN THE PIPA READINGS.
037326,000527:                                                                                                  #        PIPTIME CONTAINS TIME OF PIPA READING.
037327,000528: 
037328,000529:                                                                                                  #  DEBRIS (ERASABLE LOCATIONS DESTROYED BY PROGRAM)
037329,000530:                                                                                                  #        TEMX    TEMY    TEMZ    PIPAGE
037330,000531: 
037331,000532: 37,3536                                           BANK     37                                    
037332,000533: 37,2000                                           SETLOC   SERV1                                 
037333,000534: 37,2000                                           BANK                                           
037334,000535: 
037335,000536: 37,3536                                           COUNT*   $$/SERV                               
037336,000537: 
037337,000538: 37,3536           00006        PIPASR             EXTEND                                         

Page 865

037339,000540: 37,3537           30025                           DCA      TIME2                                 
037340,000541: 37,3540           53561                           DXCH     PIPTIME1                              #  CURRENT TIME POSITIVE VALUE
037341,000542: 37,3541           44755                 +3        CS       ZERO                                  #  INITIALIZE THESE AT NEG. ZERO.
037342,000543: 37,3542           55253                           TS       TEMX                                  
037343,000544: 37,3543           55254                           TS       TEMY                                  
037344,000545: 37,3544           55255                           TS       TEMZ                                  
037345,000546: 
037346,000547: 37,3545           34755                           CA       ZERO                                  
037347,000548: 37,3546           54330                           TS       DELVZ                                 
037348,000549: 37,3547           54331                           TS       DELVZ      +1                         
037349,000550: 37,3550           54326                           TS       DELVY                                 
037350,000551: 37,3551           54327                           TS       DELVY      +1                         
037351,000552: 37,3552           54325                           TS       DELVX      +1                         
037352,000553: 37,3553           55256                           TS       PIPAGE                                #  SHOW PIPA READING IN PROGRESS
037353,000554: 
037354,000555: 37,3554           00006        REPIP1             EXTEND                                         
037355,000556: 37,3555           40040                           DCS      PIPAX                                 #  X AND Y PIPS READ
037356,000557: 37,3556           53254                           DXCH     TEMX                                  
037357,000558: 37,3557           52040                           DXCH     PIPAX                                 #  PIPAS SET TO NEG ZERO AS READ.
037358,000559: 37,3560           54324                           TS       DELVX                                 
037359,000560: 37,3561           22326                           LXCH     DELVY                                 
037360,000561: 
037361,000562: 37,3562           40041        REPIP3             CS       PIPAZ                                 #  REPEAT PROCESS FOR Z PIP
037362,000563: 37,3563           57255                           XCH      TEMZ                                  
037363,000564: 37,3564           56041                           XCH      PIPAZ                                 
037364,000565: 37,3565           54330        DODELVZ            TS       DELVZ                                 
037365,000566: 
037366,000567: 37,3566           00006        REPIP4             EXTEND                                         #  COMPUTE GUIDANCE PERIOD
037367,000568: 37,3567           31561                           DCA      PIPTIME1                              
037368,000569: 37,3570           53247                           DXCH     PGUIDE                                
037369,000570: 37,3571           00006                           EXTEND                                         
037370,000571: 37,3572           41234                           DCS      PIPTIME                               
037371,000572: 37,3573           21247                           DAS      PGUIDE                                
037372,000573: 
037373,000574: 37,3574           30032                           CA       CDUX                                  #  READ CDUS INTO HIGH ORDER CDUTEMPS
037374,000575: 37,3575           55154                           TS       CDUTEMPX                              
037375,000576: 37,3576           30033                           CA       CDUY                                  
037376,000577: 37,3577           55155                           TS       CDUTEMPY                              
037377,000578: 37,3600           30034                           CA       CDUZ                                  
037378,000579: 37,3601           55156                           TS       CDUTEMPZ                              
037379,000580: 37,3602           30324                           CA       DELVX                                 
037380,000581: 37,3603           55157                           TS       PIPATMPX                              
037381,000582: 37,3604           30326                           CA       DELVY                                 
037382,000583: 37,3605           55160                           TS       PIPATMPY                              
037383,000584: 37,3606           30330                           CA       DELVZ                                 
037384,000585: 37,3607           55161                           TS       PIPATMPZ                              
037385,000586: 
037386,000587: 37,3610           00002                           TC       Q                                     
037387,000588: 

Page 866

037389,000590: 37,3611           11256        REREADAC           CCS      PIPAGE                                
037390,000591: 37,3612           13437                           TCF      READACCS                              #  PIP READING NOT STARTED.  GO TO BEGINNING
037391,000592: 
037392,000593: 37,3613           33651                           CAF      DONEADR                               #  SET UP RETURN FROM PIPASR
037393,000594: 37,3614           54002                           TS       Q                                     
037394,000595: 
037395,000596: 37,3615           10330                           CCS      DELVZ                                 
037396,000597: 37,3616           13566                           TCF      REPIP4                                #  Z DONE, GO DO CDUS
037397,000598: 37,3617           13622                           TCF      +3                                    #  Z NOT DONE, CHECK Y.
037398,000599: 37,3620           13566                           TCF      REPIP4                                
037399,000600: 37,3621           13566                           TCF      REPIP4                                
037400,000601: 
037401,000602: 37,3622           22007                           ZL                                             
037402,000603: 37,3623           10326                           CCS      DELVY                                 
037403,000604: 37,3624           13627                           TCF      +3                                    
037404,000605: 37,3625           13636                           TCF      CHKTEMX                               #  Y NOT DONE, CHECK X.
037405,000606: 37,3626           13627                           TCF      +1                                    
037406,000607: 37,3627           22041                           LXCH     PIPAZ                                 #  Y DONE, ZERO Z PIP.
037407,000608: 
037408,000609: 37,3630           11255                           CCS      TEMZ                                  
037409,000610: 37,3631           41255                           CS       TEMZ                                  #  TEMZ NOT = -0, CONTAINS -PIPAZ VALUE.
037410,000611: 37,3632           13565                           TCF      DODELVZ                               
037411,000612: 37,3633           13631                           TCF      -2                                    
037412,000613: 37,3634           22330                           LXCH     DELVZ                                 #  TEMZ = -0, L HAS ZPIP VALUE.
037413,000614: 37,3635           13566                           TCF      REPIP4                                
037414,000615: 
037415,000616: 37,3636           11253        CHKTEMX            CCS      TEMX                                  #  HAS THIS CHANGED
037416,000617: 37,3637           41253                           CS       TEMX                                  #  YES
037417,000618: 37,3640           13643                           TCF      +3                                    #  YES
037418,000619: 37,3641           13637                           TCF      -2                                    #  YES
037419,000620: 37,3642           13554                           TCF      REPIP1                                #  NO
037420,000621: 37,3643           54324                           TS       DELVX                                 
037421,000622: 
037422,000623: 37,3644           41254                           CS       TEMY                                  
037423,000624: 37,3645           54326                           TS       DELVY                                 
037424,000625: 
037425,000626: 37,3646           44755                           CS       ZERO                                  #  ZERO X AND Y PIPS
037426,000627: 37,3647           52040                           DXCH     PIPAX                                 #  L STILL ZERO FROM ABOVE
037427,000628: 
037428,000629: 37,3650           13562                           TCF      REPIP3                                
037429,000630: 
037430,000631: 37,3651           03447        DONEADR            GENADR   PIPSDONE                              
037431,000632: 

Page 867

037433,000634: 33,2440                                           BANK     33                                    
037434,000635: 33,2000                                           SETLOC   SERVICES                              
037435,000636: 33,2000                                           BANK                                           
037436,000637: 
037437,000638: 33,2440                                           COUNT*   $$/SERV                               
037438,000639: 
037439,000640: 33,2440           31155        TMPTOSPT           CA       CDUTEMPY                              #  THIS SUBROUTINE, CALLED BY AN RTB FROM
037440,000641: 33,2441           54765                           TS       CDUSPOTY                              #  INTERPRETIVE, LOADS THE CDUS CORRESPON-
037441,000642: 33,2442           31156                           CA       CDUTEMPZ                              #  DING TO PIPTIME INTO THE CDUSPOT VECTOR.
037442,000643: 33,2443           54767                           TS       CDUSPOTZ                              
037443,000644: 33,2444           31154                           CA       CDUTEMPX                              
037444,000645: 33,2445           54771                           TS       CDUSPOTX                              
037445,000646: 33,2446           00002                           TC       Q                                     
037446,000647: 
037447,000648:                                                                                                  #  LRHTASK IS A WAITLIST TASK SET BY READACCS DURING THE DESCENT BRAKING
037448,000649:                                                                                                  #  PHASE WHEN THE ALT TO THE LUNAR SURFACE IS LESS THAN 25,000 FT.  THIS
037449,000650:                                                                                                  #  TASK CLEARS THE ALTITUDE MEASUREMENT MADE DISCRETE AND INITIATES THE
037450,000651:                                                                                                  #  LANDING RADAR MEASUREMENT JOB (LRHJOB) TO TAKE A ALTITUDE MEASUREMENT
037451,000652:                                                                                                  #  50 MS PRIOR TO THE NEXT READACCS TASK.
037452,000653: 
037453,000654: 21,2125                                           BANK     21                                    
037454,000655: 21,2000                                           SETLOC   R10                                   
037455,000656: 21,2000                                           BANK                                           
037456,000657: 
037457,000658: 21,2125                                           COUNT*   $$/SERV                               
037458,000659: 
037459,000660: 21,2125           40107        LRHTASK            CS       FLGWRD11                              
037460,000661: 21,2126           74735                           MASK     LRBYBIT                               
037461,000662: 21,2127           00006                           EXTEND                                         
037462,000663: 21,2130           12141                           BZF      GRP2OFF                               #  LR BYPASS SET - BYPASS ALL LR READING.
037463,000664: 
037464,000665: 21,2131           40107                           CS       FLGWRD11                              
037465,000666: 21,2132           74742                           MASK     NOLRRBIT                              #  IS LR READ INHIBITED?
037466,000667: 21,2133           00006                           EXTEND                                         
037467,000668: 21,2134           12141                           BZF      GRP2OFF                               #  YES.  BYPASS LR READ.
037468,000669: 
037469,000670: 21,2135           37723                           CA       PRIO32                                #  LR READ OK   SET JOB TO DO IT
037470,000671: 21,2136           05072                           TC       NOVAC                                 #  ABOUT 50 MS PRIOR TO PIPA READ
037471,000672: 21,2137  E7,1654                                  EBANK=   HMEAS                                 
037472,000673: 21,2137           03571 70067                     2CADR    LRHJOB                                
037473,000674: 
037474,000675: 21,2141           00006        GRP2OFF            EXTEND                                         
037475,000676: 21,2142           34755                           DCA      NEG0                                  
037476,000677: 21,2143           52754                           DXCH     -PHASE2                               
037477,000678: 21,2144           12021                           TCF      R10,R11A                              
037478,000679: 
037479,000680: 33,2447                                           BANK     33                                    
037480,000681: 33,2000                                           SETLOC   SERVICES                              
037481,000682: 33,2000                                           BANK                                           

Page 868

037483,000684: 33,2447                                           COUNT*   $$/SERV                               
037484,000685: 
037485,000686:                                                                                                  #  HIGATASK IS ENTERED APPROXIMATELY 6 SECS PRIOR TO HIGATE DURING THE
037486,000687:                                                                                                  #  DESCENT PHASE.  HIGATASK SETS THE HIGATE FLAG (BIT11) AND THE LR INHIBIT
037487,000688:                                                                                                  #  FLAG (BIT10) IN LRSTAT.  THE HIGATJOB IS SET UP TO REPOSITION THE LR
037488,000689:                                                                                                  #  ANTENNA FROM POSITION 1 TO POSITION 2.  IF THE REPOSITIONING IS
037489,000690:                                                                                                  #  SUCCESSFUL THE ALT BEAM AND VELOCITY BEAMS ARE TRANSFORMED TO THE NEW
037490,000691:                                                                                                  #  ORIENTATION IN NB COORDINATES AND STORED IN ERASABLE.
037491,000692: 
037492,000693: 33,2447           05353        HIGATASK           TC       PHASCHNG                              
037493,000694: 33,2450           00051                           OCT      51                                    
037494,000695: 
037495,000696: 33,2451           37723                           CA       PRIO32                                
037496,000697: 33,2452           05105                           TC       FINDVAC                               
037497,000698: 33,2453  E7,1654                                  EBANK=   HMEAS                                 
037498,000699: 33,2453           03634 66067                     2CADR    HIGATJOB                              
037499,000700: 
037500,000701: 33,2455           40107                           CS       FLGWRD11                              
037501,000702: 33,2456           75015                           MASK     PRIO3                                 
037502,000703: 33,2457           26107                           ADS      FLGWRD11                              
037503,000704: 33,2460           12546                           TCF      CONTSERV   +1                         
037504,000705: 

Page 869

037506,000707:                                                                                                  #  MUNRETRN IS THE RETURN LOC FROM SPECIAL AVE G ROUTINE (MUNRVG)
037507,000708: 
037508,000709: 33,2461           77776        MUNRETRN           EXIT                                           
037509,000710: 
037510,000711: 33,2462           40107                           CS       FLGWRD11                              
037511,000712: 33,2463           74735                           MASK     LRBYBIT                               
037512,000713: 33,2464           00006                           EXTEND                                         
037513,000714: 33,2465           12551                           BZF      COPYCYC1                              #  BYPASS LR LOGIC IF BIT15 IS SET.
037514,000715: 
037515,000716: 33,2466           40107                           CS       FLGWRD11                              #  CHECK IF AT 30000 FT
037516,000717: 33,2467           74743                           MASK     XORFLBIT                              
037517,000718: 33,2470           00006                           EXTEND                                         
037518,000719: 33,2471           12506                           BZF      R12                                   
037519,000720: 
037520,000721: 33,2472           00006        30KCHK             EXTEND                                         
037521,000722: 33,2473           33113                           DCA      1-30KFT                               
037522,000723: 33,2474           52155                           DXCH     MPAC                                  
037523,000724: 33,2475           00006                           EXTEND                                         
037524,000725: 33,2476           31535                           DCA      HCALC                                 
037525,000726: 33,2477           20155                           DAS      MPAC                                  
037526,000727: 
037527,000728: 33,2500           10000                           CCS      A                                     
037528,000729: 33,2501           12506                           TCF      R12                                   #  ALTITUDE > 30KFT
037529,000730: 33,2502           05504                           TC       UPFLAG                                #  ALTITUDE < 30KFT SET X-AXIS OVERRIDE
037530,000731: 33,2503           00311                           ADRES    XOVINFLG                              
037531,000732: 33,2504           05504                           TC       UPFLAG                                
037532,000733: 33,2505           00253                           ADRES    XORFLG                                
037533,000734: 
037534,000735: 33,2506           40107        R12                CS       FLGWRD11                              
037535,000736: 33,2507           74742                           MASK     NOLRRBIT                              
037536,000737: 33,2510           00006                           EXTEND                                         
037537,000738: 33,2511           12545                           BZF      CONTSERV                              
037538,000739: 
037539,000740: 33,2512           40107                           CS       FLGWRD11                              
037540,000741: 33,2513           74751                           MASK     NO511BIT                              
037541,000742: 33,2514           00006                           EXTEND                                         
037542,000743: 33,2515           13115                           BZF      UPDATCHK                              #  IF N0511BIT SET, DO NOT CHECK OR POSITION
037543,000744: 
037544,000745: 33,2516           40107        HITEST             CS       FLGWRD11                              
037545,000746: 33,2517           74741                           MASK     PSTHIBIT                              
037546,000747: 33,2520           00006                           EXTEND                                         
037547,000748: 33,2521           12540                           BZF      POS2CHK                               
037548,000749: 33,2522           31642        HIGATCHK           CA       TTF/8                                 #  IS TTF > CRITERION?  (TTF IS NEGATIVE)
037549,000750: 33,2523           61427                           AD       RPCRTIME                              
037550,000751: 33,2524           00006                           EXTEND                                         
037551,000752: 33,2525           62536                           BZMF     POS1CHK                               #  NO
037552,000753: 
037553,000754: 33,2526           34741                           CA       EBANK4                                #  MUST SWITCH EBANKS
037554,000755: 33,2527           56003                           XCH      EBANK                                 
037555,000756: 33,2530           54001                           TS       L                                     #  SAVE IN L

Page 870

037557,000758: 33,2531  E4,1545                                  EBANK=   XNBPIP                                
037558,000759: 33,2531           41545                           CS       XNBPIP                                #  UXBXP IN GSOP CH5
037559,000760: 33,2532  E7,1515                                  EBANK=   DVCNTR                                
037560,000761: 33,2532           22003                           LXCH     EBANK                                 #  RESTORE EBANK
037561,000762: 33,2533           61430                           AD       RPCRTQSW                              #  QSW - UXBXP
037562,000763: 33,2534           00006                           EXTEND                                         
037563,000764: 33,2535           62447                           BZMF     HIGATASK                              #  IF UXBXP > QSW, THEN REPOSITION
037564,000765: 
037565,000766: 33,2536           34746        POS1CHK            CAF      BIT6                                  
037566,000767: 33,2537           12541                           TCF      +2                                    
037567,000768: 
037568,000769: 33,2540           34745        POS2CHK            CAF      BIT7                                  
037569,000770: 33,2541           03674                           TC       POSTST                                
037570,000771: 33,2542           13115                           TCF      UPDATCHK                              #  LR IN RIGHT POSITION - CONTINUE
037571,000772: 
037572,000773: 33,2543           05567        LRPOSALM           TC       ALARM                                 #  LR NOT IN PROPER POS-ALARM-BYPASS UPDATE
037573,000774: 33,2544           00511                           OCT      511                                   #  AND CONTINUE SERVICER
037574,000775: 33,2545           00004        CONTSERV           INHINT                                         
037575,000776: 33,2546           43111                           CS       BITS4-7                               
037576,000777: 33,2547           70107                           MASK     FLGWRD11                              #  CLEAR LR MEASUREMENT MADE DISCRETES.
037577,000778: 33,2550           54107                           TS       FLGWRD11                              
037578,000779: 

Page 871

037580,000781: 33,2551           03512        COPYCYC1           TC       QUIKFAZ5                              
037581,000782: 
037582,000783: 33,2552           30077        R297               CA       FLAGWRD3                              
037583,000784: 33,2553           75014                           MASK     NR29&RDR                              
037584,000785: 33,2554           10000                           CCS      A                                     #  IS NOR29FLG OR READRFLG SET?
037585,000786: 33,2555           12567                           TCF      R29NODES                              #  YES, SO DON'T DESIGNATE.
037586,000787: 
037587,000788: 33,2556           30110                           CA       RADMODES                              #  NO, SO R29 IS CALLED FOR.
037588,000789: 33,2557           72250                           MASK     OCT10002                              #  IS THE RR NOT ZEROING ITS CDUS, AND
037589,000790: 33,2560           10000                           CCS      A                                     #  IS THE RENDEZVOUS RADAR IN AUTO MODE?
037590,000791: 33,2561           12567                           TCF      R29NODES                              #  NO, SO DON'T DESIGNATE.
037591,000792: 
037592,000793: 33,2562           30110                           CA       RADMODES                              
037593,000794: 33,2563           77713                           MASK     PRIO22                                
037594,000795: 33,2564           10000                           CCS      A                                     #  IS RR REPOSITIONING OR REMODING?
037595,000796: 33,2565           12573                           TCF      NOR29NOW                              #  YES; COME BACK IN 2 SECONDS & TRY AGAIN.
037596,000797: 
037597,000798: 33,2566           12045                           TCF      R29                                   
037598,000799: 
037599,000800: 33,2567           00004        R29NODES           INHINT                                         #  R29 NOT ALLOWED THIS CYCLE.
037600,000801: 33,2570           44742                           CS       DESIGBIT                              #  SHOW THAT DESIGNATION IS OFF.
037601,000802: 33,2571           70110                           MASK     RADMODES                              
037602,000803: 33,2572           54110                           TS       RADMODES                              
037603,000804: 
037604,000805: 33,2573           06042        NOR29NOW           TC       INTPRET                               #  INTPRET DOES A RELINT.
037605,000806: 33,2574           51575                           VLOAD    ABVAL                                 #  MPAC = ABVAL( NEW SM. POSITION VECTOR )
037606,000807: 33,2575           03573                                    R1S                                   
037607,000808: 33,2576           45206                           PUSH     DSU                                   #                                (2)
037608,000809: 33,2577           02333                                    /LAND/                                
037609,000810: 33,2600           03535                           STORE    HCALC                                 #  NEW HCALC*2(24)M.
037610,000811: 33,2601           03775                           STORE    HCALC1                                
037611,000812: 33,2602           47075                           DMPR     RTB                                   
037612,000813: 33,2603           26026                                    ALTCONV                               
037613,000814: 33,2604           21613                                    SGNAGREE                              
037614,000815: 33,2605           27742                           STOVL    ALTBITS                               #  ALTITUDE FOR R10 IN BIT UNITS.
037615,000816: 33,2606           03537                                    UNIT/R/                               
037616,000817: 33,2607           53435                           VXV      UNIT                                  
037617,000818: 33,2610           03720                                    UHYP                                  
037618,000819: 33,2611           27726                           STOVL    UHZP                                  #  DOWNRANGE HALF-UNIT VECTOR FOR R10.
037619,000820: 33,2612           03573                                    R1S                                   
037620,000821: 33,2613           60505                           VXM      VSR4                                  
037621,000822: 33,2614           01734                                    REFSMMAT                              
037622,000823: 33,2615           27545                           STOVL    RN1                                   #  TEMP. REF. POSITION VECTOR*2(29)M.
037623,000824: 33,2616           03601                                    V1S                                   
037624,000825: 33,2617           76505                           VXM      VSL1                                  
037625,000826: 33,2620           01734                                    REFSMMAT                              
037626,000827: 33,2621           27553                           STOVL    VN1                                   #  TEMP. REF. VELOCITY VECTOR*2(7)M/CS.
037627,000828: 33,2622           03537                                    UNIT/R/                               
037628,000829: 33,2623           51435                           VXV      ABVAL                                 

Page 872

037630,000831: 33,2624           03601                                    V1S                                   
037631,000832: 33,2625           63552                           SL1      DSQ                                   
037632,000833: 33,2626           77671                           DDV                                            
037633,000834: 33,2627           47075                           DMPR     RTB                                   
037634,000835: 33,2630           26030                                    ARCONV1                               
037635,000836: 33,2631           21613                                    SGNAGREE                              
037636,000837: 33,2632           77776        COPYCYC2           EXIT                                           #  LEAVE ALTITUDE RATE COMPENSATION IN MPAC
037637,000838: 33,2633           00004                           INHINT                                         
037638,000839: 33,2634           31536                           CA       UNIT/R/                               #  UPDATE RUNIT FOR R10.
037639,000840: 33,2635           55743                           TS       RUNIT                                 
037640,000841: 33,2636           31540                           CA       UNIT/R/    +2                         
037641,000842: 33,2637           55744                           TS       RUNIT      +1                         
037642,000843: 33,2640           31542                           CA       UNIT/R/    +4                         
037643,000844: 33,2641           55745                           TS       RUNIT      +2                         
037644,000845: 33,2642           30154                           CA       MPAC                                  #  LOAD NEW DALTRATE FOR R10.
037645,000846: 33,2643           55716                           TS       DALTRATE                              
037646,000847: 
037647,000848: 33,2644           00006                           EXTEND                                         
037648,000849: 33,2645           31573                           DCA      R1S                                   
037649,000850: 33,2646           53521                           DXCH     R                                     
037650,000851: 33,2647           00006                           EXTEND                                         
037651,000852: 33,2650           31575                           DCA      R1S        +2                         
037652,000853: 33,2651           53523                           DXCH     R          +2                         
037653,000854: 33,2652           00006                           EXTEND                                         
037654,000855: 33,2653           31577                           DCA      R1S        +4                         
037655,000856: 33,2654           53525                           DXCH     R          +4                         
037656,000857: 33,2655           00006                           EXTEND                                         
037657,000858: 33,2656           31601                           DCA      V1S                                   
037658,000859: 33,2657           53527                           DXCH     V                                     
037659,000860: 33,2660           00006                           EXTEND                                         
037660,000861: 33,2661           31603                           DCA      V1S        +2                         
037661,000862: 33,2662           53531                           DXCH     V          +2                         
037662,000863: 33,2663           00006                           EXTEND                                         
037663,000864: 33,2664           31605                           DCA      V1S        +4                         
037664,000865: 33,2665           53533                           DXCH     V          +4                         
037665,000866: 
037666,000867: 33,2666           12275                           TCF      COPYCYCL                              #  COMPLETE THE COYPCYCL.
037667,000868: 

Page 873

037669,000870:                                                                                                  #  *********************************************************************************************************
037670,000871: 
037671,000872: 33,2667           41456        CALCGRAV           UNIT     PUSH                                  #  SAVE UNIT/R/ IN PUSHLIST      (18)
037672,000873: 33,2670           03537                           STORE    UNIT/R/                               
037673,000874: 33,2671           67340                           LXC,1    SLOAD                                 #  RTX2 = 0 IF EARTH ORBIT, =2 IF LUNAR.
037674,000875: 33,2672           02777                                    RTX2                                  
037675,000876: 33,2673           03000                                    RTX2                                  
037676,000877: 33,2674           50076                           DCOMP    BMN                                   
037677,000878: 33,2675           66724                                    CALCGRV1                              
037678,000879: 33,2676           50375                           VLOAD    DOT                                   #                                (12)
037679,000880: 33,2677           06516                                    UNITZ                                 
037680,000881: 33,2700           03537                                    UNIT/R/                               
037681,000882: 33,2701           41552                           SL1      PUSH                                  #                                (14)
037682,000883: 33,2702           44316                           DSQ      BDSU                                  
037683,000884: 33,2703           26766                                    DP1/20                                
037684,000885: 33,2704           56325                           PDDL     DDV                                   
037685,000886: 33,2705           26040                                    RESQ                                  
037686,000887: 33,2706           00043                                    34D                                   #  (RN)SQ
037687,000888: 33,2707           00041                           STORE    32D                                   #  TEMP FOR (RE/RN)SQ
037688,000889: 33,2710           41205                           DMP      DMP                                   
037689,000890: 33,2711           26042                                    20J                                   
037690,000891: 33,2712           65361                           VXSC     PDDL                                  
037691,000892: 33,2713           03537                                    UNIT/R/                               
037692,000893: 33,2714           41205                           DMP      DMP                                   
037693,000894: 33,2715           26044                                    2J                                    
037694,000895: 33,2716           00041                                    32D                                   
037695,000896: 33,2717           76561                           VXSC     VSL1                                  
037696,000897: 33,2720           06516                                    UNITZ                                 
037697,000898: 33,2721           45455                           VAD      STADR                                 
037698,000899: 33,2722           74256                           STORE    UNITGOBL                              
037699,000900: 33,2723           41455                           VAD      PUSH                                  #  MPAC = UNIT GRAVITY VECTOR.   (18)
037700,000901: 33,2724           60345        CALCGRV1           DLOAD    NORM                                  #  PERFORM A NORMALIZATION ON RMAGSQ IN
037701,000902: 33,2725           00043                                    34D                                   #  ORDER TO BE ABLE TO SCALE THE MU FOR
037702,000903: 33,2726           00050                                    X2                                    #  MAXIMUM PRECISION.
037703,000904: 33,2727           53663                           BDDV*    SLR*                                  
037704,000905: 33,2730           26032                                    -MUDT,1                               
037705,000906: 33,2731           56623                                    0          -21D,2                     
037706,000907: 33,2732           45561                           VXSC     STADR                                 
037707,000908: 33,2733           74214                           STORE    GDT1/2                                #  SCALED AT 2(+7) M/CS
037708,000909: 33,2734           77616                           RVQ                                            
037709,000910: 
037710,000911: 33,2735           61375        CALCRVG            VLOAD    VXM                                   
037711,000912: 33,2736           00325                                    DELV                                  
037712,000913: 33,2737           01734                                    REFSMMAT                              
037713,000914: 33,2740           76561                           VXSC     VSL1                                  
037714,000915: 33,2741           26022                                    KPIP1                                 
037715,000916: 33,2742           03527                           STORE    DELVREF                               
037716,000917: 33,2743           41562                           VSR1     PUSH                                  
037717,000918: 33,2744           41455                           VAD      PUSH                                  #  (DV-OLDGDT)/2 TO PD SCALED AT 2(+7)M/CS

Page 874

037719,000920: 33,2745           01236                                    GDT/2                                 
037720,000921: 33,2746           65255                           VAD      PDDL                                  #                                        (18)
037721,000922: 33,2747           01226                                    VN                                    
037722,000923: 33,2750           01247                                    PGUIDE                                
037723,000924: 33,2751           74261                           SL       VXSC                                  
037724,000925: 33,2752           20207                                    6D                                    
037725,000926: 33,2753           44055                           VAD      STQ                                   
037726,000927: 33,2754           01220                                    RN                                    
037727,000928: 33,2755           00037                                    31D                                   
037728,000929: 33,2756           37545                           STCALL   RN1                                   #  TEMP STORAGE OF RN SCALED 2(+29) M
037729,000930: 33,2757           66667                                    CALCGRAV                              
037730,000931: 
037731,000932: 33,2760           53255                           VAD      VAD                                   
037732,000933: 33,2761           77655                           VAD                                            
037733,000934: 33,2762           01226                                    VN                                    
037734,000935: 33,2763           37553                           STCALL   VN1                                   #  TEMP STORAGE OF VN SCALED 2(+7) M/CS
037735,000936: 33,2764           00037                                    31D                                   
037736,000937: 
037737,000938: 33,2765           01463 06315  DP1/20             2DEC     0.05                                  
037738,000939: 33,2767           00010 00000  SHIFT11            2DEC     1          B-11                       
037739,000940: 

Page 875

037741,000942:                                                                                                  #  ****************************************************************************************************************
037742,000943:                                                                                                  #  MUNRVG IS A SPECIAL AVERAGE G INTEGRATION ROUTINE USED BY THRUSTING
037743,000944:                                                                                                  #  PROGRAMS WHICH FUNCTION IN THE VICINITY OF AN ASSUMED SPHERICAL MOON.
037744,000945:                                                                                                  #  THE INPUT AND OUTPUT QUANTITIES ARE REFERENCED TO THE STABLE MEMBER
037745,000946:                                                                                                  #  COORDINATE SYSTEM.
037746,000947: 
037747,000948: 33,2771           41575        RVBOTH             VLOAD    PUSH                                  
037748,000949: 33,2772           02317                                    G(CSM)                                
037749,000950: 33,2773           65255                           VAD      PDDL                                  
037750,000951: 33,2774           01726                                    V(CSM)                                
037751,000952: 33,2775           01247                                    PGUIDE                                
037752,000953: 33,2776           74271                           DDV      VXSC                                  
037753,000954: 33,2777           26770                                    SHIFT11                               
037754,000955: 33,3000           77655                           VAD                                            
037755,000956: 33,3001           01720                                    R(CSM)                                
037756,000957: 33,3002           37573                           STCALL   R1S                                   
037757,000958: 33,3003           67067                                    MUNGRAV                               
037758,000959: 33,3004           53255                           VAD      VAD                                   
037759,000960: 33,3005           01726                                    V(CSM)                                
037760,000961: 33,3006           77626                           STADR                                          
037761,000962: 33,3007           74176                           STORE    V1S                                   
037762,000963: 33,3010           77776                           EXIT                                           
037763,000964: 33,3011           03512                           TC       QUIKFAZ5                              
037764,000965: 33,3012           06042                           TC       INTPRET                               
037765,000966: 33,3013           77775                           VLOAD                                          
037766,000967: 33,3014           03563                                    GDT1/2                                
037767,000968: 33,3015           26317                           STOVL    G(CSM)                                
037768,000969: 33,3016           03573                                    R1S                                   
037769,000970: 33,3017           25720                           STOVL    R(CSM)                                
037770,000971: 33,3020           03601                                    V1S                                   
037771,000972: 33,3021           01726                           STORE    V(CSM)                                
037772,000973: 33,3022           77776                           EXIT                                           
037773,000974: 33,3023           03512                           TC       QUIKFAZ5                              
037774,000975: 33,3024           06042                           TC       INTPRET                               
037775,000976: 33,3025           74375        MUNRVG             VLOAD    VXSC                                  
037776,000977: 33,3026           00325                                    DELV                                  
037777,000978: 33,3027           26024                                    KPIP2                                 
037778,000979: 33,3030           53206                           PUSH     VAD                                   #  1ST PUSH:  DELV IN UNITS OF 2(8) M/CS
037779,000980: 33,3031           01236                                    GDT/2                                 
037780,000981: 33,3032           53206                           PUSH     VAD                                   #  2ND PUSH:  (DELV + GDT)/2, UNITS OF 2(7)
037781,000982: 33,3033           03527                                    V                                     #                                        (12)
037782,000983: 33,3034           56325                           PDDL     DDV                                   
037783,000984: 33,3035           01247                                    PGUIDE                                
037784,000985: 33,3036           26770                                    SHIFT11                               
037785,000986: 33,3037           77761                           VXSC                                           
037786,000987: 33,3040           77655                           VAD                                            
037787,000988: 33,3041           03521                                    R                                     
037788,000989: 33,3042           37573                           STCALL   R1S                                   #  STORE R SCALED AT 2(+24) M.
037789,000990: 33,3043           67067                                    MUNGRAV                               

Page 876

037791,000992: 33,3044           53255                           VAD      VAD                                   
037792,000993: 33,3045           77655                           VAD                                            #                                        (0)
037793,000994: 33,3046           03527                                    V                                     
037794,000995: 33,3047           03601                           STORE    V1S                                   #  STORE V SCALED AT 2(+7) M/CS.
037795,000996: 33,3050           77646                           ABVAL                                          
037796,000997: 33,3051           27472                           STOVL    ABVEL                                 #  STORE SPEED FOR LR AND DISPLAYS.
037797,000998: 33,3052           03537                                    UNIT/R/                               
037798,000999: 33,3053           72441                           DOT      SL1                                   
037799,001000: 33,3054           03601                                    V1S                                   
037800,001001: 33,3055           27474                           STOVL    HDOTDISP                              #  HDOT = V. UNIT(R)*2(7) M/CS.
037801,001002: 33,3056           03573                                    R1S                                   
037802,001003: 33,3057           72435                           VXV      VSL2                                  
037803,001004: 33,3060           02325                                    WM                                    
037804,001005: 33,3061           17734                           STODL    DELVS                                 #  LUNAR ROTATION CORRECTION TERM*2(5)M/CS.
037805,001006: 33,3062           00045                                    36D                                   
037806,001007: 33,3063           77625                           DSU                                            
037807,001008: 33,3064           02333                                    /LAND/                                
037808,001009: 33,3065           37535                           STCALL   HCALC                                 #  FOR NOW, DISPLAY WHETHER POS OR NEG
037809,001010: 33,3066           66461                                    MUNRETRN                              
037810,001011: 33,3067           77656        MUNGRAV            UNIT                                           #  AT 36D HAVE ABVAL(R), AT 34D R.R
037811,001012: 33,3070           17537                           STODL    UNIT/R/                               
037812,001013: 33,3071           00043                                    34D                                   
037813,001014: 33,3072           55261                           SL       BDDV                                  
037814,001015: 33,3073           20207                                    6D                                    
037815,001016: 33,3074           26036                                    -MUDTMUN                              
037816,001017: 33,3075           74205                           DMP      VXSC                                  
037817,001018: 33,3076           26770                                    SHIFT11                               
037818,001019: 33,3077           03537                                    UNIT/R/                               
037819,001020: 33,3100           03563                           STORE    GDT1/2                                #  1/2GDT SCALED AT 2(7) M/CS.
037820,001021: 33,3101           77616                           RVQ                                            
037821,001022: 
037822,001023: 33,3102           00303        1.95SECS           DEC      195        B-14                       
037823,001024: 33,3103           00014 20000  2SEC(18)           2DEC     200        B-18                       
037824,001025: 33,3105           00000 00310  2SEC(28)           2OCT     0000000310                            #  2SEC AT 2(28)
037825,001026: 33,3107           00000 00620  4SEC(28)           2DEC     400        B-28                       
037826,001027: 33,3111           00110        BITS4-7            OCT      110                                   
037827,001028: 33,3112           37767 02200  1-30KFT            2DEC     16768072   B-24                       #  DPPOSMAX-30KFT
037828,001029: 33,3114           04445        6KFT/SEC           DEC      18.288     B-7                        #  6000 FT/SEC AT 2(7) M/CS
037829,001030: 

Page 877

037831,001032: 33,3115           34742        UPDATCHK           CAF      NOLRRBIT                              #  SEE IF LR UPDATE INHIBITED.
037832,001033: 33,3116           70107                           MASK     FLGWRD11                              
037833,001034: 33,3117           10000                           CCS      A                                     
037834,001035: 33,3120           12545                           TCF      CONTSERV                              #  IT IS - NO LR UPDATE
037835,001036: 33,3121           34750                           CAF      RNGEDBIT                              #  NO INHIBIT - SEE ALT MEAS. THIS CYCLE.
037836,001037: 33,3122           70107                           MASK     FLGWRD11                              
037837,001038: 33,3123           00006                           EXTEND                                         
037838,001039: 33,3124           13250                           BZF      VMEASCHK                              #  NO ALT MEAS THIS CYCLE - CHECK FOR VEL
037839,001040: 
037840,001041: 33,3125           30120        POSUPDAT           CA       FIXLOC                                #  SET PUSHLIST TO ZERO
037841,001042: 33,3126           54166                           TS       PUSHLOC                               
037842,001043: 
037843,001044: 33,3127           06042                           TC       INTPRET                               
037844,001045: 33,3130           61375                           VLOAD    VXM                                   
037845,001046: 33,3131           02273                                    HBEAMNB                               
037846,001047: 33,3132           02146                                    XNBPIP                                #  HBEAM SM AT 2(2)
037847,001048: 33,3133           72515                           PDVL     VSL2                                  #  STORE HBEAM IN PD 0-5
037848,001049: 33,3134           03601                                    V1S                                   #  SCALE V AT 2(5) M/CS
037849,001050: 33,3135           50255                           VAD      DOT                                   
037850,001051: 33,3136           03734                                    DELVS                                 #  V RELATIVE TO SURFACE AT 2(5) M/CS
037851,001052: 33,3137           00001                                    0D                                    #  V ALONG HBEAM AT 2(7) M/CS
037852,001053: 33,3140           77405                           DMP      EXIT                                  
037853,001054: 33,3141           01352                                    RADSKAL                               #  SCALE TO RADAR COUNTS X 5
037854,001055: 
037855,001056: 33,3142           40110                           CS       FLGWRD12                              #  TEST LR ALTITUDE SCALE FACTOR
037856,001057: 33,3143           74743                           MASK     ALTSCBIT                              
037857,001058: 33,3144           00006                           EXTEND                                         
037858,001059: 33,3145           13150                           BZF      +3                                    #  BRANCH IF HIGH SCALE
037859,001060: 
037860,001061: 33,3146           31353                           CA       SKALSKAL                              #  RESCALE IF LOW SCALE
037861,001062: 33,3147           07312                           TC       SHORTMP                               
037862,001063: 
037863,001064: 33,3150           06042                 +3        TC       INTPRET                               
037864,001065: 33,3151           54215                           DAD      SL                                    #  CORRECT HMEAS FOR DOPPLER EFFECT
037865,001066: 33,3152           03655                                    HMEAS                                 
037866,001067: 33,3153           20210                                    7D                                    
037867,001068: 33,3154           74205                           DMP      VXSC                                  #  SLANT RANGE AT 2(21), PUSH UP FOR HBEAM
037868,001069: 33,3155           26011                                    HSCAL                                 #  SLANT RANGE VECTOR AT 2(23) M
037869,001070: 33,3156           45241                           DOT      DSU                                   
037870,001071: 33,3157           03537                                    UNIT/R/                               #  ALTITUDE AT 2(24) M
037871,001072: 33,3160           03535                                    HCALC                                 #  DELTA H AT 2(24) M
037872,001073: 33,3161           03665                           STORE    DELTAH                                
037873,001074: 33,3162           77776                           EXIT                                           
037874,001075: 
037875,001076: 33,3163           30107                           CA       FLGWRD11                              
037876,001077: 33,3164           74741                           MASK     PSTHIBIT                              
037877,001078: 33,3165           00006                           EXTEND                                         #  DO NOT PERFORM DATA REASONABLENESS TEST
037878,001079: 33,3166           13203                           BZF      NOREASON                              #  UNTIL AFTER HIGATE

Page 878

037880,001081: 33,3167           06042                           TC       INTPRET                               
037881,001082: 33,3170           45246                           ABS      DSU                                   
037882,001083: 33,3171           02521                                    DELQFIX                               #  ABS(DELTAH) - DQFIX   50 FT NOM
037883,001084: 33,3172           45252                           SL3      DSU                                   #  SCALE TO 2(21)
037884,001085: 33,3173           03535                                    HCALC                                 #  ABS(DELTAH) - (50 + HCALC/8) AT 2(21)
037885,001086: 33,3174           77776                           EXIT                                           
037886,001087: 
037887,001088: 33,3175           25670                           INCR     LRLCTR                                
037888,001089: 33,3176           06726                           TC       BRANCH                                
037889,001090: 33,3177           13520                           TCF      HFAIL                                 #  DELTA H TOO LARGE
037890,001091: 33,3200           13520                           TCF      HFAIL                                 #  DELTA H TOO LARGE
037891,001092: 33,3201           05516                           TC       DOWNFLAG                              #  TURN OFF ALT FAIL LAMP
037892,001093: 33,3202           00263                           ADRES    HFLSHFLG                              
037893,001094: 
037894,001095: 33,3203           40107        NOREASON           CS       FLGWRD11                              
037895,001096: 33,3204           74744                           MASK     LRINHBIT                              
037896,001097: 33,3205           10000                           CCS      A                                     
037897,001098: 33,3206           13250                           TCF      VMEASCHK                              #  UPDATE INHIBITED - TEST VELOCITY ANYWAY
037898,001099: 
037899,001100: 33,3207           06042                           TC       INTPRET                               #  DO POSITION UPDATE
037900,001101: 33,3210           40545                           DLOAD    SR4                                   
037901,001102: 33,3211           03535                                    HCALC                                 #  RESCALE H TO 2(28)M
037902,001103: 33,3212           77776                           EXIT                                           
037903,001104: 33,3213           00006                           EXTEND                                         
037904,001105: 33,3214           31665                           DCA      DELTAH                                #  STORE DELTAH IN MPAC AND
037905,001106: 33,3215           52155                           DXCH     MPAC                                  #  BRING HCALC INTO A,L
037906,001107: 33,3216           07547                           TC       ALSIGNAG                              
037907,001108: 33,3217           00006                           EXTEND                                         #  IF HIGH PART OF HCALC IS NON ZERO, THEN
037908,001109: 33,3220           13222                           BZF      +2                                    #  HCALC > HMAX,
037909,001110: 33,3221           13250                           TCF      VMEASCHK                              #  SO UPDATE IS BYPASSED
037910,001111: 33,3222           54156                           TS       MPAC       +2                         #        FOR LATER SHORTMP
037911,001112: 
037912,001113: 33,3223           40001                           CS       L                                     #  -H AT 2(14) M
037913,001114: 33,3224           61420                           AD       LRHMAX                                #  HMAX - H
037914,001115: 33,3225           00006                           EXTEND                                         
037915,001116: 33,3226           63250                           BZMF     VMEASCHK                              #  IF H >HMAX, BYPASS UPDATE
037916,001117: 33,3227           00006                           EXTEND                                         
037917,001118: 33,3230           71421                           MP       LRWH                                  #  WH(HMAX - H)
037918,001119: 33,3231           00006                           EXTEND                                         
037919,001120: 33,3232           11420                           DV       LRHMAX                                #  WH(1 - H/HMAX)
037920,001121: 33,3233           54135                           TS       MPTEMP                                
037921,001122: 33,3234           07316                           TC       SHORTMP2                              #  DELTAH (WH)(1 - H/HMAX) IN MPAC
037922,001123: 33,3235           06042                           TC       INTPRET                               #  MODE IS DP FROM ABOVE
037923,001124: 33,3236           77752                           SL1                                            
037924,001125: 33,3237           53361                           VXSC     VAD                                   
037925,001126: 33,3240           03537                                    UNIT/R/                               #  DELTAR = DH(WH)(1 - H/HMAX) UNIT/R/
037926,001127: 33,3241           03573                                    R1S                                   
037927,001128: 33,3242           37657                           STCALL   GNUR                                  
037928,001129: 33,3243           67067                                    MUNGRAV                               
037929,001130: 33,3244           77776                           EXIT                                           

Page 879

037931,001132: 33,3245           03512                           TC       QUIKFAZ5                              
037932,001133: 
037933,001134: 33,3246           34755                           CA       ZERO                                  
037934,001135: 33,3247           03474        RUPDATED           TC       GNURVST                               
037935,001136: 
037936,001137: 33,3250           03512        VMEASCHK           TC       QUIKFAZ5                              #  RESTART AT NEXT LOCATION
037937,001138: 33,3251           40107                           CS       FLGWRD11                              
037938,001139: 33,3252           74745                           MASK     VELDABIT                              #  IS V READING AVAILABLE?
037939,001140: 33,3253           10000                           CCS      A                                     
037940,001141: 33,3254           13454                           TCF      VALTCHK                               #  NO   SEE IF V READING TO BE TAKEN
037941,001142: 
037942,001143: 33,3255           41651        VELUPDAT           CS       VSELECT                               #  PROCESS VELOCITY DATA
037943,001144: 33,3256           54001                           TS       L                                     
037944,001145: 33,3257           26001                           ADS      L                                     #  -2 VSELECT IN L
037945,001146: 33,3260           60001                           AD       L                                     
037946,001147: 33,3261           60001                           AD       L                                     #  -6 VSELECT IN A
037947,001148: 33,3262           50120                           INDEX    FIXLOC                                
037948,001149: 33,3263           52047                           DXCH     X1                                    #  X1 = -6 VSELECT, X2 = -2 VSELECT
037949,001150: 
037950,001151: 33,3264           34741                           CA       EBANK4                                
037951,001152: 33,3265           54003                           TS       EBANK                                 
037952,001153: 33,3266  E4,1654                                  EBANK=   LRXCDU                                
037953,001154: 
037954,001155: 33,3266           31655                           CA       LRYCDU                                #  STORE LRCDUS IN CDUSPOTS
037955,001156: 33,3267           54765                           TS       CDUSPOT                               
037956,001157: 33,3270           31656                           CA       LRZCDU                                
037957,001158: 33,3271           54767                           TS       CDUSPOT    +2                         
037958,001159: 33,3272           31654                           CA       LRXCDU                                
037959,001160: 33,3273           54771                           TS       CDUSPOT    +4                         
037960,001161: 
037961,001162: 33,3274           04616                           TC       BANKCALL                              
037962,001163: 33,3275           47617                           CADR     QUICTRIG                              #  GET SINES AND COSINES FOR NBSM
037963,001164: 
037964,001165: 33,3276           30120                           CA       FIXLOC                                
037965,001166: 33,3277           54166                           TS       PUSHLOC                               #  SET PD TO ZERO
037966,001167: 
037967,001168: 33,3300           06042                           TC       INTPRET                               
037968,001169: 33,3301           45173                           VLOAD*   CALL                                  
037969,001170: 33,3302           02231                                    VZBEAMNB,1                            #  CONVERT VBEAM FROM NB TO SM
037970,001171: 33,3303           47675                                    *NBSM*                                
037971,001172: 33,3304           54325                           PDDL     SL                                    #  STORE IN PD 0-5
037972,001173: 33,3305           03653                                    VMEAS                                 #  LOAD VELOCITY MEASUREMENT
037973,001174: 33,3306           20215                                    12D                                   
037974,001175: 33,3307           41403                           DMP*     PUSH                                  #  SCALE TO M/CS AT 2(6)
037975,001176: 33,3310           51764                                    VZSCAL,2                              #  AND STORE IN PD 6-7
037976,001177: 33,3311           77776                           EXIT                                           
037977,001178: 33,3312           44753                           CS       ONE                                   
037978,001179: 33,3313           54163                           TS       MODE                                  #  CHANGE STORE MODE TO VECTOR
037979,001180: 
037980,001181: 33,3314           31657                           CA       PIPTEM                                #  STORE DELV IN MPAC

Page 880

037982,001183: 33,3315           22007                           ZL                                             
037983,001184: 33,3316           52155                           DXCH     MPAC                                  
037984,001185: 
037985,001186: 33,3317           31660                           CA       PIPTEM     +1                         
037986,001187: 33,3320           22007                           ZL                                             
037987,001188: 33,3321           52160                           DXCH     MPAC       +3                         
037988,001189: 
037989,001190: 33,3322           31661                           CA       PIPTEM     +2                         
037990,001191: 33,3323           22007                           ZL                                             
037991,001192: 33,3324           52162                           DXCH     MPAC       +5                         
037992,001193: 
037993,001194: 33,3325           35016                           CA       EBANK7                                
037994,001195: 33,3326           54003                           TS       EBANK                                 #  RESTORE EBANK 7
037995,001196: 33,3327  E7,1515                                  EBANK=   DVCNTR                                
037996,001197: 33,3327           06042                           TC       INTPRET                               
037997,001198: 33,3330           65361                           VXSC     PDDL                                  
037998,001199: 33,3331           26022                                    KPIP1                                 #  SCALE DELV TO 2(7) M/CS AND PUSH
037999,001200: 33,3332           02253                                    LRVTIME                               #  TIME OF DELV AT 2(28) CS
038000,001201: 33,3333           56225                           DSU      DDV                                   
038001,001202: 33,3334           01234                                    PIPTIME                               #  TU - T(N-1)
038002,001203: 33,3335           27106                                    2SEC(28)                              
038003,001204: 33,3336           76561                           VXSC     VSL1                                  #  G(N-1)(TU - T(N-1))
038004,001205: 33,3337           01236                                    GDT/2                                 #  SCALED AT 2(7) M/CS
038005,001206: 33,3340           53255                           VAD      VAD                                   #  PUSH UP FOR DELV
038006,001207: 33,3341           03527                                    V                                     #  VU = V(N-1) + DELVU + G(N-1) DTU
038007,001208: 33,3342           53352                           VSL2     VAD                                   #  SCALE TO 2(5) M/CS AND SUBTRACT
038008,001209: 33,3343           03734                                    DELVS                                 #        MOON ROTATION.
038009,001210: 33,3344           51406                           PUSH     ABVAL                                 #  STORE IN PD
038010,001211: 33,3345           43202                           SR4      DAD                                   #  ABS(VM)/8 + VELBIAS AT 2(6)
038011,001212: 33,3346           03372                                    VELBIAS                               
038012,001213: 33,3347           24025                           STOVL    20D                                   #  STORE IN 20D AND PICK UP VM
038013,001214: 33,3350           44241                           DOT      BDSU                                  #  V(EST) AT 2(6)
038014,001215: 33,3351           00001                                    0                                     #  DELTAV = VMEAS - V(EST)
038015,001216: 33,3352           51406                           PUSH     ABS                                   
038016,001217: 33,3353           77425                           DSU      EXIT                                  #  ABS(DV) - (7.5 + ABS(VM)/8))
038017,001218: 33,3354           00025                                    20D                                   
038018,001219: 
038019,001220: 33,3355           25672                           INCR     LRMCTR                                
038020,001221: 33,3356           06726                           TC       BRANCH                                
038021,001222: 33,3357           13535                           TCF      VFAIL                                 #  DELTA V TOO LARGE     ALARM
038022,001223: 33,3360           13535                           TCF      VFAIL                                 #  DELTA V TOO LARGE     ALARM
038023,001224: 
038024,001225: 33,3361           05516                           TC       DOWNFLAG                              #  TURN OFF VEL FAIL LAMP
038025,001226: 33,3362           00262                           ADRES    VFLSHFLG                              
038026,001227: 
038027,001228: 33,3363           30107                           CA       FLGWRD11                              
038028,001229: 33,3364           74740                           MASK     VXINHBIT                              
038029,001230: 33,3365           00006                           EXTEND                                         
038030,001231: 33,3366           13375                           BZF      VUPDAT                                #  IF VX INHIBIT RESET, INCORPORATE DATA.

Page 881

038032,001233: 33,3367           05516                           TC       DOWNFLAG                              
038033,001234: 33,3370           00250                           ADRES    VXINH                                 #  RESET VX INHIBIT
038034,001235: 
038035,001236: 33,3371           31651                           CA       VSELECT                               
038036,001237: 33,3372           67751                           AD       NEG2                                  #  IF VSELECT = 2 (X AXIS),
038037,001238: 33,3373           00006                           EXTEND                                         #  BYPASS UPDATE
038038,001239: 33,3374           13454                           BZF      ENDVDAT                               
038039,001240: 
038040,001241: 33,3375           40107        VUPDAT             CS       FLGWRD11                              
038041,001242: 33,3376           74744                           MASK     LRINHBIT                              
038042,001243: 33,3377           10000                           CCS      A                                     
038043,001244: 33,3400           13454                           TCF      VALTCHK                               #  UPDATE INHIBITED
038044,001245: 
038045,001246: 33,3401           54155                           TS       MPAC       +1                         
038046,001247: 
038047,001248: 33,3402           31471                           CA       ABVEL                                 #  STORE E7 ERASABLES NEEDED IN TEMPS
038048,001249: 33,3403           54130                           TS       ABVEL*                                
038049,001250: 33,3404           31651                           CA       VSELECT                               
038050,001251: 33,3405           54131                           TS       VSELECT*                              
038051,001252: 33,3406           35014                           CA       EBANK5                                
038052,001253: 33,3407           54003                           TS       EBANK                                 #  CHANGE EBANKS
038053,001254: 
038054,001255: 33,3410  E5,1527                                  EBANK=   LRVF                                  
038055,001256: 33,3410           41527                           CS       LRVF                                  
038056,001257: 33,3411           60130                           AD       ABVEL*                                #  IF V < VF, USE WVF
038057,001258: 33,3412           00006                           EXTEND                                         
038058,001259: 33,3413           63426                           BZMF     USEVF                                 
038059,001260: 
038060,001261: 33,3414           40130                           CS       ABVEL*                                
038061,001262: 33,3415           61526                           AD       LRVMAX                                #  VMAX - V
038062,001263: 33,3416           00006                           EXTEND                                         
038063,001264: 33,3417           63431                           BZMF     WSTOR      -1                         #  IF V > VMAX, W = 0
038064,001265: 
038065,001266: 33,3420           00006                           EXTEND                                         
038066,001267: 33,3421           50131                           INDEX    VSELECT*                              
038067,001268: 33,3422           71530                           MP       LRWVZ                                 #  WV(VMAX - V)
038068,001269: 
038069,001270: 33,3423           00006                           EXTEND                                         
038070,001271: 33,3424           11526                           DV       LRVMAX                                #  WV( 1 - V/VMAX )
038071,001272: 33,3425           13432                           TCF      WSTOR                                 
038072,001273: 
038073,001274: 33,3426           50131        USEVF              INDEX    VSELECT*                              
038074,001275: 33,3427           31533                           CA       LRWVFZ                                #  USE APPROPRIATE CONSTANT WEIGHT
038075,001276: 33,3430           13432                           TCF      WSTOR                                 
038076,001277: 
038077,001278: 33,3431           34755                 -1        CA       ZERO                                  
038078,001279: 33,3432           54154        WSTOR              TS       MPAC                                  
038079,001280: 33,3433           44745                           CS       BIT7                                  #  (=64D)
038080,001281: 33,3434           61010                           AD       MODREG                                
038081,001282: 33,3435           00006                           EXTEND                                         

Page 882

038083,001284: 33,3436           63441                           BZMF     +3                                    #  IF IN P65,P66,P67, USE ANOTHER CONSTANT
038084,001285: 
038085,001286: 33,3437           31536                           CA       LRWVFF                                
038086,001287: 33,3440           54154                           TS       MPAC                                  
038087,001288: 
038088,001289: 33,3441           35016                 +3        CA       EBANK7                                
038089,001290: 33,3442           54003                           TS       EBANK                                 #  CHANGE EBANKS
038090,001291: 
038091,001292: 33,3443  E7,1471                                  EBANK=   ABVEL                                 
038092,001293: 33,3443           06042                           TC       INTPRET                               
038093,001294: 33,3444           74205                           DMP      VXSC                                  #  W(DELTA V)(VBEAMSM) UP 6-7, 0-5
038094,001295: 33,3445           77655                           VAD                                            
038095,001296: 33,3446           03601                                    V1S                                   #  ADD WEIGHTED DELTA V TO VELOCITY
038096,001297: 33,3447           03657                           STORE    GNUV                                  
038097,001298: 33,3450           77776                           EXIT                                           
038098,001299: 
038099,001300: 33,3451           03512                           TC       QUIKFAZ5                              #  DO NOT RE-UPDATE
038100,001301: 
038101,001302: 33,3452           36245                           CA       SIX                                   
038102,001303: 33,3453           03474        VUPDATED           TC       GNURVST                               #  STORE NEW VELOCITY VECTOR
038103,001304: 33,3454  33,3454               ENDVDAT            =        VALTCHK                               
038104,001305: 
038105,001306: 33,3454           03512        VALTCHK            TC       QUIKFAZ5                              #  DO NOT REPEAT ABOVE
038106,001307: 
038107,001308: 33,3455           34747                           CAF      READVBIT                              #  TEST READVEL TO SEE IF VELOCITY READING
038108,001309: 33,3456           70107                           MASK     FLGWRD11                              #  IS DESIRED.
038109,001310: 33,3457           10000                           CCS      A                                     
038110,001311: 33,3460           13467                           TCF      READV                                 #  TES - READ VELOCITY
038111,001312: 33,3461           41471                           CS       ABVEL                                 #  NO - SEE IF VELOCITY < 6000 FT/SEC
038112,001313: 33,3462           63114                           AD       6KFT/SEC                              
038113,001314: 33,3463           00006                           EXTEND                                         
038114,001315: 33,3464           62545                           BZMF     CONTSERV                              #  V > 6000 FT/SEC.  DO NOT READ VELOCITY.
038115,001316: 
038116,001317: 33,3465           05504                           TC       UPFLAG                                #  V < 6000 FT/SEC.  SET READVEL AND READ.
038117,001318: 33,3466           00257                           ADRES    READVEL                               
038118,001319: 
038119,001320: 33,3467           37723        READV              CAF      PRIO32                                #  SET UP JOB TO READ VELOCITY BEAMS.
038120,001321: 33,3470           05072                           TC       NOVAC                                 
038121,001322: 33,3471  E7,1654                                  EBANK=   HMEAS                                 
038122,001323: 33,3471           03556 66067                     2CADR    LRVJOB                                
038123,001324: 
038124,001325: 33,3473           12545                           TCF      CONTSERV                              #  CONTINUE WITH SERVICER
038125,001326: 
038126,001327: 33,3474           54130        GNURVST            TS       BUF                                   #  STORE GNUR (=GNUV) IN R1S OR V1S
038127,001328: 33,3475           00006                           EXTEND                                         #  A = 0 FOR R, A = 6 FOR V
038128,001329: 33,3476           31657                           DCA      GNUR                                  
038129,001330: 33,3477           50130                           INDEX    BUF                                   
038130,001331: 33,3500           53573                           DXCH     R1S                                   
038131,001332: 33,3501           00006                           EXTEND                                         

Page 883

038133,001334: 33,3502           31661                           DCA      GNUR       +2                         
038134,001335: 33,3503           50130                           INDEX    BUF                                   
038135,001336: 33,3504           53575                           DXCH     R1S        +2                         
038136,001337: 33,3505           00006                           EXTEND                                         
038137,001338: 33,3506           31663                           DCA      GNUR       +4                         
038138,001339: 33,3507           50130                           INDEX    BUF                                   
038139,001340: 33,3510           53577                           DXCH     R1S        +4                         
038140,001341: 33,3511           00002                           TC       Q                                     
038141,001342: 
038142,001343: 33,3512           35007        QUIKFAZ5           CA       EBANK3                                
038143,001344: 33,3513           56003                           XCH      EBANK                                 #  SET EBANK 3
038144,001345: 33,3514           52002                           DXCH     L                                     #  Q TO A, A TO L
038145,001346: 33,3515  E3,1446                                  EBANK=   PHSNAME5                              
038146,001347: 33,3515           55446                           TS       PHSNAME5                              
038147,001348: 33,3516           22003                           LXCH     EBANK                                 
038148,001349: 33,3517  E7,1515                                  EBANK=   DVCNTR                                
038149,001350: 33,3517           00000                           TC       A                                     
038150,001351: 
038151,001352: 33,3520           41671        HFAIL              CS       LRRCTR                                
038152,001353: 33,3521           00006                           EXTEND                                         
038153,001354: 33,3522           13532                           BZF      NORLITE                               #  IF R = 0, DO NOT TURN ON TRK FAIL
038154,001355: 33,3523           61670                           AD       LRLCTR                                
038155,001356: 33,3524           77750                           MASK     NEG3                                  
038156,001357: 33,3525           00006                           EXTEND                                         #  IF L-R LT 4, DO NOT TURN ON TRK FAIL
038157,001358: 33,3526           13530                           BZF      +2                                    
038158,001359: 33,3527           13532                           TCF      NORLITE                               
038159,001360: 
038160,001361: 33,3530           05504                           TC       UPFLAG                                #  AND SET BIT TO TURN ON TRACKER FAIL LITE
038161,001362: 33,3531           00263                           ADRES    HFLSHFLG                              
038162,001363: 
038163,001364: 33,3532           31670        NORLITE            CA       LRLCTR                                
038164,001365: 33,3533           55671                           TS       LRRCTR                                #  SET R = L
038165,001366: 
038166,001367: 33,3534           13250                           TCF      VMEASCHK                              
038167,001368: 
038168,001369: 33,3535           41673        VFAIL              CS       LRSCTR                                #  DELTA Q LARGE
038169,001370: 33,3536           00006                           EXTEND                                         #  IF S = 0, DO NOT TURN ON TRACKER FAIL
038170,001371: 33,3537           13547                           BZF      NOLITE                                
038171,001372: 33,3540           61672                           AD       LRMCTR                                #  M-S
038172,001373: 33,3541           77750                           MASK     NEG3                                  #  TEST FOR M-S > 3
038173,001374: 33,3542           00006                           EXTEND                                         #  IF M-S > 3, THEN TWO OR MORE OF THE
038174,001375: 33,3543           13545                           BZF      +2                                    #        LAST FOUR V READINGS WERE BAD,
038175,001376: 33,3544           13547                           TCF      NOLITE                                #        SO TURN ON VELOCITY FAIL LIGHT
038176,001377: 
038177,001378: 33,3545           05504                           TC       UPFLAG                                #  AND SET BIT TO TURN ON TRACKER FAIL LITE
038178,001379: 33,3546           00262                           ADRES    VFLSHFLG                              
038179,001380: 

Page 884

038181,001382: 33,3547           31672        NOLITE             CA       LRMCTR                                #  SET S = M
038182,001383: 33,3550           55673                           TS       LRSCTR                                
038183,001384: 
038184,001385: 33,3551           11651                           CCS      VSELECT                               #  TEST FOR Z COMPONENT
038185,001386: 33,3552           13454                           TCF      ENDVDAT                               #  NOT Z, DO NOT SET VX INHIBIT
038186,001387: 
038187,001388: 33,3553           05504                           TC       UPFLAG                                #  Z COMPONENT - SET FLAG TO SKIP X
038188,001389: 33,3554           00250                           ADRES    VXINH                                 #  COMPONENT, AS ERROR MAY BE DUE TO CROSS
038189,001390: 33,3555           13454                           TCF      ENDVDAT                               #  LOBE LOCK UP NOT DETECTED ON X AXIS.
038190,001391: 

Page 885

038192,001393:                                                                                                  #  ********************************************************************************************************
038193,001394:                                                                                                  #  LRVJOB IS SET WHEN THE LEM IS BELOW 15000 FT DURING THE LANDING PHASE
038194,001395:                                                                                                  #  THIS JOB INITIALIZES THE LANDING RADAR READ ROUTINE FOR 5 VELOCITY
038195,001396:                                                                                                  #  SAMPLES AND GOES TO SLEEP WHILE THE SAMPLING IS DONE-ABOUT 500 MS.
038196,001397:                                                                                                  #  WITH A GOODEND RETURN THE DATA IS STORED IN VMEAS AND BIT7 OF LRSTAT
038197,001398:                                                                                                  #  IS SET.  THE GIMBAL ANGLES ARE READ ABOUT MIDWAY IN THE SAMPLING .
038198,001399: 
038199,001400: 33,3556     4361               170MS              EQUALS   ND1                                   
038200,001401: 
038201,001402: 33,3556           34361        LRVJOB             CA       170MS                                 #  SET TASK TO READ CDUS + PIPAS
038202,001403: 33,3557           05203                           TC       WAITLIST                              
038203,001404: 33,3560  E4,1652                                  EBANK=   LRVTIME                               
038204,001405: 33,3560           03632 70064                     2CADR    RDGIMS                                
038205,001406: 
038206,001407: 33,3562           11651                           CCS      VSELECT                               #  SEQUENCE LR VEL BEAM SELECTOR
038207,001408: 33,3563           13565                           TCF      +2                                    
038208,001409: 33,3564           34752                           CAF      TWO                                   #  IF ZERO-RESET TO TWO
038209,001410: 33,3565           60000                           DOUBLE                                         #  2XVSELECT USED FOR VBEAM INDEX IN LRVEL
038210,001411: 33,3566           04616                           TC       BANKCALL                              #  GO INITIALIZE LR VEL READ ROUTINE
038211,001412: 33,3567           53116                           CADR     LRVEL                                 
038212,001413: 33,3570           04616                           TC       BANKCALL                              #  PUT LRVJOB TO SLEEP ABOUT 500 MS
038213,001414: 33,3571           17705                           CADR     RADSTALL                              
038214,001415: 33,3572           13625                           TCF      VBAD                                  
038215,001416: 33,3573           11675                           CCS      STILBADV                              #  IS DATA GOOD JUST PRESENT?
038216,001417: 33,3574           13626                           TCF      VSTILBAD                              #  JUST GOOD - MUST WAIT 4 SECONDS.
038217,001418: 
038218,001419: 33,3575           00004                           INHINT                                         
038219,001420: 33,3576           00006                           EXTEND                                         #  GOOD RETURN-STOW AWAY VMEAS
038220,001421: 33,3577           31101                           DCA      SAMPLSUM                              
038221,001422: 33,3600           53653                           DXCH     VMEAS                                 
038222,001423: 33,3601           34741                           CA       EBANK4                                #  FOR DOWNLINK
038223,001424: 33,3602           54003                           TS       EBANK                                 
038224,001425: 33,3603  E4,1652                                  EBANK=   LRVTIME                               
038225,001426: 
038226,001427: 33,3603           00006                           EXTEND                                         
038227,001428: 33,3604           31653                           DCA      LRVTIME                               
038228,001429: 33,3605           53740                           DXCH     LRVTIMDL                              
038229,001430: 33,3606           00006                           EXTEND                                         
038230,001431: 33,3607           31655                           DCA      LRXCDU                                
038231,001432: 33,3610           53735                           DXCH     LRXCDUDL                              
038232,001433: 33,3611           31656                           CA       LRZCDU                                
038233,001434: 33,3612           55736                           TS       LRZCDUDL                              
038234,001435: 33,3613           35016                           CA       EBANK7                                
038235,001436: 33,3614           54003                           TS       EBANK                                 
038236,001437: 33,3615  E7,1651                                  EBANK=   VSELECT                               
038237,001438: 
038238,001439: 33,3615           40107                           CS       FLGWRD11                              #  SET BIT TO INDICATE VELOCITY
038239,001440: 33,3616           74745                           MASK     VELDABIT                              #  MEASUREMENT MADE.

Page 886

038241,001442: 33,3617           26107                           ADS      FLGWRD11                              
038242,001443: 33,3620           11651        ENDLRV             CCS      VSELECT                               #  UPDATE VSELECT
038243,001444: 33,3621           13623                           TCF      +2                                    
038244,001445: 33,3622           34752                           CA       TWO                                   
038245,001446: 33,3623           55651                           TS       VSELECT                               
038246,001447: 33,3624           15155                           TCF      ENDOFJOB                              
038247,001448: 
038248,001449: 33,3625           34752        VBAD               CAF      TWO                                   #  SET STILBAD TO WAIT 4 SECONDS
038249,001450: 33,3626           55675        VSTILBAD           TS       STILBADV                              
038250,001451: 33,3627           13620                           TCF      ENDLRV                                
038251,001452: 
038252,001453:                                                                                                  #  LRHJOB IS SET BY LRHTASK WHEN LEM IS BELOW 25000 FT.  THIS JOB
038253,001454:                                                                                                  #  INITIALIZES THE LR READ ROUTINE FOR AN ALT MEASUREMENT AND GOES TO
038254,001455:                                                                                                  #  SLEEP WHILE THE SAMPLING IS DONE-ABOUT 95 MS.  WITH A GOODEND RETURN
038255,001456:                                                                                                  #  THE ALT DATA IS STORED IN HMEAS AND BIT7 OF LRSTAT IS SET.
038256,001457: 
038257,001458: 34,3571                                           BANK     34                                    
038258,001459: 34,2000                                           SETLOC   R12STUFF                              
038259,001460: 34,2000                                           BANK                                           
038260,001461: 
038261,001462: 34,3571                                           COUNT*   $$/SERV                               
038262,001463: 
038263,001464: 34,3571           04616        LRHJOB             TC       BANKCALL                              #  INITIATE LR ALT MEASUREMENT
038264,001465: 34,3572           53102                           CADR     LRALT                                 
038265,001466: 34,3573           04616                           TC       BANKCALL                              #  LRHJOB TO SLEEP ABOUT 95MS
038266,001467: 34,3574           17705                           CADR     RADSTALL                              
038267,001468: 34,3575           13620                           TCF      HBAD                                  
038268,001469: 34,3576           11674                           CCS      STILBADH                              #  IS DATA GOOD JUST PRESENT?
038269,001470: 34,3577           13630                           TCF      HSTILBAD                              #  JUST GOOD - MUST WAIT 4 SECONDS.
038270,001471: 
038271,001472: 34,3600           00004                           INHINT                                         
038272,001473: 34,3601           00006                           EXTEND                                         
038273,001474: 34,3602           31101                           DCA      SAMPLSUM                              #  GOOD RETURN-STORE AWAY LRH DATA
038274,001475: 34,3603           53655                           DXCH     HMEAS                                 #  LRH DATA 1.079 FT/BIT
038275,001476: 34,3604           00006                           EXTEND                                         #  FOR DOWNLINK
038276,001477: 34,3605           31561                           DCA      PIPTIME1                              
038277,001478: 34,3606           53755                           DXCH     MKTIME                                
038278,001479: 
038279,001480: 34,3607           00006                           EXTEND                                         
038280,001481: 34,3610           31156                           DCA      CDUTEMPY                              #  CDUY,Z = AIG,AMG
038281,001482: 34,3611           53460                           DXCH     AIG                                   
038282,001483: 
038283,001484: 34,3612           31154                           CA       CDUTEMPX                              #  CDUX = AOG
038284,001485: 34,3613           55461                           TS       AOG                                   
038285,001486: 
038286,001487: 34,3614           40107                           CS       FLGWRD11                              #  SET BIT TO INDICATE RANGE
038287,001488: 34,3615           74750                           MASK     RNGEDBIT                              #  MEASUREMENT MADE.
038288,001489: 34,3616           26107                           ADS      FLGWRD11                              
038289,001490: 34,3617           05155        ENDLRH             TC       ENDOFJOB                              #  TERMINATE LRHJOB
038290,001491: 

Page 887

038292,001493: 34,3620           30101        HBAD               CA       FLAGWRD5                              
038293,001494: 34,3621           74742                           MASK     RNGSCBIT                              #  IS BAD RETURN DUE TO SCALE CHANGE?
038294,001495: 34,3622           00006                           EXTEND                                         
038295,001496: 34,3623           13627                           BZF      HSTILBAD   -1                         #  NO   RESET HSTILBAD
038296,001497: 34,3624           05516                           TC       DOWNFLAG                              #  YES   RESET SCALE CHANGE BIT AND IGNORE
038297,001498: 34,3625           00120                           ADRES    RNGSCFLG                              
038298,001499: 34,3626           05155                           TC       ENDOFJOB                              
038299,001500: 
038300,001501: 34,3627           34752                           CAF      TWO                                   #  SET STILBAD TO WAIT 4 SECONDS
038301,001502: 34,3630           55674        HSTILBAD           TS       STILBADH                              
038302,001503: 34,3631           05155                           TC       ENDOFJOB                              
038303,001504: 
038304,001505: 34,3632                                           BANK     34                                    
038305,001506: 34,2000                                           SETLOC   SERV4                                 
038306,001507: 34,2000                                           BANK                                           
038307,001508: 
038308,001509: 34,3632                                           COUNT*   $$/SERV                               
038309,001510: 
038310,001511:                                                                                                  #  RDGIMS IS A TASK SET UP BY LRVJOB TO PICK UP THE IMU CDUS AND TIME
038311,001512:                                                                                                  #  AT ABOUT THE MIDPOINT OF THE LR VEL READ ROUTINE WHEN 5 VEL SAMPLES
038312,001513:                                                                                                  #  ARE SPECIFIED.
038313,001514: 
038314,001515: 34,3632  E4,1652                                  EBANK=   LRVTIME                               
038315,001516: 34,3632           00006        RDGIMS             EXTEND                                         
038316,001517: 34,3633           30025                           DCA      TIME2                                 #  PICK UP TIME2, TIME1
038317,001518: 34,3634           53653                           DXCH     LRVTIME                               #        AND SAVE IN LRVTIME
038318,001519: 
038319,001520: 34,3635           00006                           EXTEND                                         
038320,001521: 34,3636           30033                           DCA      CDUX                                  #  PICK UP CDUX AND CDUY
038321,001522: 34,3637           53655                           DXCH     LRXCDU                                #        AND SAVE IN LRXCDU AND LRYCDU
038322,001523: 
038323,001524: 34,3640           30034                           CA       CDUZ                                  
038324,001525: 34,3641           55656                           TS       LRZCDU                                #  SAVE CDUZ IN LRZCDU
038325,001526: 
038326,001527: 34,3642           30037                           CA       PIPAX                                 
038327,001528: 34,3643           55657                           TS       PIPTEM                                #  SAVE PIPAX IN PIPTEM
038328,001529: 
038329,001530: 34,3644           00006                           EXTEND                                         
038330,001531: 34,3645           30041                           DCA      PIPAY                                 #  PICK UP PIPAY AND PIPAZ
038331,001532: 34,3646           53661                           DXCH     PIPTEM     +1                         #        AND SAVE IN PIPTEM +1 AND PIPTEM +2
038332,001533: 34,3647           05261                           TC       TASKOVER                              
038333,001534: 
038334,001535: 33,3630                                           BANK     33                                    
038335,001536: 33,2000                                           SETLOC   SERVICES                              
038336,001537: 33,2000                                           BANK                                           
038337,001538: 
038338,001539: 33,3630                                           COUNT*   $$/SERV                               
038339,001540: 
038340,001541: 33,3630  E7,1515                                  EBANK=   DVCNTR                                

Page 888

038342,001543:                                                                                                  #  HIGATJOB IS SET APPROXIMATELY 6 SECONDS PRIOR TO HIGH GATE DURING
038343,001544:                                                                                                  #  THE DESCENT BURN PHASE OF LUNAR LANDING.  THIS JOB INITIATES THE
038344,001545:                                                                                                  #  LANDING RADAR REPOSITIONING ROUTINE AND GOES TO SLEEP UNTIL THE
038345,001546:                                                                                                  #  LR ANTENNA MOVES FROM POSITION 1 TO POSITION 2.  IF THE LR ANTENNA
038346,001547:                                                                                                  #  ACHIEVES POSITION 2 WITHIN 22 SECONDS THE ALTITUDE AND VELOCITY
038347,001548:                                                                                                  #  BEAM VECTORS ARE RECOMPUTED TO REFLECT THE NEW ORIENTATION WITH
038348,001549:                                                                                                  #  RESPECT TO THE NB.  BIT10 OF LRSTAT IS CLEARED TO ALLOW LR
038349,001550:                                                                                                  #  MEASUREMENTS AND THE JOB TERMINATES.
038350,001551: 
038351,001552: 33,3630           00004        REREPOS            INHINT                                         
038352,001553: 33,3631           40107                           CS       FLGWRD11                              
038353,001554: 33,3632           75015                           MASK     PRIO3                                 
038354,001555: 33,3633           26107                           ADS      FLGWRD11                              
038355,001556: 
038356,001557: 33,3634           04616        HIGATJOB           TC       BANKCALL                              #  START LRPOS2 JOB
038357,001558: 33,3635           53454                           CADR     LRPOS2                                
038358,001559: 33,3636           04616                           TC       BANKCALL                              #  PUT HIGATJOB TO SLEEP UNTIL JOB IS DONE
038359,001560: 33,3637           17705                           CADR     RADSTALL                              
038360,001561: 33,3640           13653                           TCF      POSALARM                              #  BAD END ALARM
038361,001562: 
038362,001563: 33,3641           37714        POSGOOD            CA       PRIO23                                #  REDUCE PRIORITY FOR INTERPRETIVE COMPS.
038363,001564: 33,3642           05146                           TC       PRIOCHNG                              
038364,001565: 
038365,001566: 33,3643           03717                           TC       SETPOS2                               #  LR IN POS2 - SET UP TRANSFORMATIONS
038366,001567: 
038367,001568: 33,3644           05504                           TC       UPFLAG                                
038368,001569: 33,3645           00256                           ADRES    LPOS2FLG                              
038369,001570: 33,3646           05516        ENDPOS             TC       DOWNFLAG                              
038370,001571: 33,3647           00252                           ADRES    NOLRREAD                              #  RESET NOLRREAD FLAG TO ENABLE LR READING
038371,001572: 33,3650           05353        LRRESTRT           TC       PHASCHNG                              
038372,001573: 
038373,001574: 33,3651           00001                           OCT      1                                     
038374,001575: 33,3652           05155                           TC       ENDOFJOB                              
038375,001576: 
038376,001577: 33,3653           33757        POSALARM           CA       OCT523                                
038377,001578: 33,3654           04616                           TC       BANKCALL                              
038378,001579: 33,3655           21563                           CADR     PRIOLARM                              #  FLASH ALARM CODE
038379,001580: 33,3656           13650                           TCF      LRRESTRT                              #  V34-TERMINATE R12 (NOLRRBIT SET)
038380,001581: 33,3657           13662                           TCF      P1CHK                                 #  PROCEED
038381,001582: 33,3660           13670                           TCF      P2CHK                                 #  V32E
038382,001583: 33,3661           05155                           TC       ENDOFJOB                              
038383,001584: 
038384,001585: 33,3662           05504        P1CHK              TC       UPFLAG                                
038385,001586: 33,3663           00261                           ADRES    NO511FLG                              
038386,001587: 33,3664           34746                           CA       BIT6                                  
038387,001588: 33,3665           03674                           TC       POSTST                                
038388,001589: 33,3666           03646                           TC       ENDPOS                                
038389,001590: 33,3667           13641                           TCF      POSGOOD                               #  NOT POS1-CHANGE TO POS2
038390,001591: 
038391,001592: 33,3670           34745        P2CHK              CA       BIT7                                  

Page 889

038393,001594: 33,3671           03674                           TC       POSTST                                
038394,001595: 33,3672           13641                           TCF      POSGOOD                               
038395,001596: 33,3673           13653                           TCF      POSALARM                              
038396,001597: 33,3674           00006        POSTST             EXTEND                                         
038397,001598: 33,3675           02033                           RAND     CHAN33                                
038398,001599: 33,3676           00006                           EXTEND                                         
038399,001600: 33,3677           16745                           BZF      TCQ                                   
038400,001601: 33,3700           16742                           TCF      Q+1                                   
038401,001602: 33,3701           04645        SETPOS1            TC       MAKECADR                              #  MUST BE CALLED BY BANKCALL
038402,001603: 33,3702           55656                           TS       LRADRET1                              #  SAVE RETURN CADR, SINCE BUF2 CLOBBERED
038403,001604: 
038404,001605: 33,3703           34752                           CAF      TWO                                   
038405,001606: 33,3704           55674                           TS       STILBADH                              #  INITIALIZE STILBAD
038406,001607: 33,3705           55675                           TS       STILBADV                              #  INITIALIZE STILBAD
038407,001608: 
038408,001609: 33,3706           34755                           CA       ZERO                                  #  INDEX FOR LRALPHA, LRBETA IN POS 1.
038409,001610: 33,3707           55670                           TS       LRLCTR                                #  SET L,M,R, ANS S TO ZERO
038410,001611: 33,3710           55672                           TS       LRMCTR                                
038411,001612: 33,3711           55671                           TS       LRRCTR                                
038412,001613: 33,3712           55673                           TS       LRSCTR                                
038413,001614: 33,3713           55651                           TS       VSELECT                               #  INITIALIZE VSELECT
038414,001615: 
038415,001616: 33,3714           03720                           TC       SETPOS                                #  CONTINUE WITH COMPUTATIONS
038416,001617: 
038417,001618: 33,3715           31656                           CA       LRADRET1                              
038418,001619: 33,3716           04640                           TC       BANKJUMP                              #  RETURN TO CALLER
038419,001620: 
038420,001621: 33,3717           34752        SETPOS2            CA       TWO                                   #  INDEX FOR POS2
038421,001622: 33,3720           56002        SETPOS             XCH      Q                                     #  SAVE INDEX IN Q
038422,001623: 33,3721           55650                           TS       LRADRET                               #  SAVE RETURN
038423,001624: 
038424,001625: 33,3722           35014                           CA       EBANK5                                
038425,001626: 33,3723           54003                           TS       EBANK                                 
038426,001627: 33,3724  E5,1522                                  EBANK=   LRALPHA                               
038427,001628: 
038428,001629: 33,3724           00006                           EXTEND                                         
038429,001630: 33,3725           50002                           INDEX    Q                                     
038430,001631: 33,3726           31523                           DCA      LRALPHA                               #  LRALPHA IN A, LRBETA IN L
038431,001632: 33,3727           54771                           TS       CDUSPOT    +4                         #  ROTATION ABOUT X
038432,001633: 33,3730           22765                           LXCH     CDUSPOT                               #  ROTATION ABOUT Y
038433,001634: 33,3731           34755                           CA       ZERO                                  
038434,001635: 33,3732           54767                           TS       CDUSPOT    +2                         #  ZERO ROTATION ABOUT Z.
038435,001636: 
038436,001637: 33,3733           35016                           CA       EBANK7                                
038437,001638: 33,3734           54003                           TS       EBANK                                 
038438,001639: 33,3735  E7,1650                                  EBANK=   LRADRET                               
038439,001640: 
038440,001641: 33,3735           06042                           TC       INTPRET                               
038441,001642: 33,3736           45175                           VLOAD    CALL                                  

Page 890

038443,001644: 33,3737           06520                                    UNITY                                 #  CONVERT UNITY(ANTENNA) TO NB
038444,001645: 33,3740           47653                                    TRG*SMNB                              
038445,001646: 33,3741           26237                           STOVL    VYBEAMNB                              
038446,001647: 33,3742           06522                                    UNITX                                 #  CONVERT UNITX(ANTENNA) TO NB
038447,001648: 33,3743           77624                           CALL                                           
038448,001649: 33,3744           47673                                    *SMNB*                                
038449,001650: 33,3745           02245                           STORE    VXBEAMNB                              
038450,001651: 33,3746           76435                           VXV      VSL1                                  
038451,001652: 33,3747           02237                                    VYBEAMNB                              
038452,001653: 33,3750           26231                           STOVL    VZBEAMNB                              #  Z = X * Y
038453,001654: 33,3751           26003                                    HBEAMANT                              
038454,001655: 33,3752           77624                           CALL                                           
038455,001656: 33,3753           47673                                    *SMNB*                                #  CONVERT TO NB
038456,001657: 33,3754           02273                           STORE    HBEAMNB                               
038457,001658: 33,3755           77776                           EXIT                                           
038458,001659: 
038459,001660: 33,3756           01650                           TC       LRADRET                               
038460,001661: 
038461,001662: 33,3757           00523        OCT523             OCT      00523                                 

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