Source Code

These source-code files are part of a reconstructed copy of Comanche 51, the initial release (though not the final mission release) of the Apollo 11 Command Module (CM) Apollo Guidance Computer (AGC) software. The flown, final release was Comanche 55. The reconstruction is believed to be exactly accurate, but in the absence of an actual Apollo-era listing of Comanche 51, some explanation of the reconstruction process is needed to insure confidence in that accuracy.

The starting point was the source code of Comanche 55, whose original source code is available. Comanche 55 source code was then modified by undoing changes known to have been made between revisions 51 and 55. The most-significant steps involved reverting changes related to the R-2 lunar potential model, the details of which were known from the previous, separate, independent reconstruction of the Apollo 10 Lunar Module software Luminary 69/2. The now-reconstructed Comanche 51 source code was verified by assembling it and checking that the assembled code had the expected known-correct memory-bank checksums. Note that page numbers in the reconstructed code match those on the Comanche 55 or Luminary 69 printouts, although the source code would likely have different page numbers in a contemporary Comanche 51 listing.

Annotations that were not present in the contemporary source code have been added to the reconstructed code to justify each change relative to Comanche 55. Here's a guide to some of the Apollo documentation relevant to those annotations:
Among documentation not actually referenced in the annotations, there is a short writeup about the reconstruction process in our software repository that may be helpful in understanding it from a different perspective. There's also a handy table that lists what the number of memory-words should be for each routine in Comanche 51, which could make a nice double-check; however, we've not performed that double-check ourselves.

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

036889,000002:                                                                                                  ## Copyright:   Public domain.
036890,000003:                                                                                                  ## Filename:    REENTRY_CONTROL.agc
036891,000004:                                                                                                  ## Purpose:     A section of Comanche revision 051.
036892,000005:                                                                                                  ##              It is part of the reconstructed source code for the
036893,000006:                                                                                                  ##              original release of the flight software for the Command
036894,000007:                                                                                                  ##              Module's (CM) Apollo Guidance Computer (AGC) for Apollo 11.
036895,000008:                                                                                                  ##              The code has been recreated from a copy of Comanche 055. It
036896,000009:                                                                                                  ##              has been adapted such that the resulting bugger words
036897,000010:                                                                                                  ##              exactly match those specified for Comanche 51 in NASA drawing
036898,000011:                                                                                                  ##              2021153D, which gives relatively high confidence that the
036899,000012:                                                                                                  ##              reconstruction is correct.
036900,000013:                                                                                                  ## Reference:   pp. 844-882
036901,000014:                                                                                                  ## Assembler:   yaYUL
036902,000015:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
036903,000016:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
036904,000017:                                                                                                  ## Mod history: 2019-07-30 MAS  Created from Comanche 55.
036905,000018:                                                                                                  ##              2021-05-30 ABS  Added empty page 882 to match Comanche 055.
036906,000019: 

Page 844

036908,000021:                                                                                                  #  ENTRY INITIALIZATION ROUTINE
036909,000022:                                                                                                  #   -----------------------------
036910,000023: 
036911,000024: 25,2000                                           BANK     25                                    
036912,000025: 25,2000                                           SETLOC   REENTRY                               
036913,000026: 25,2000                                           BANK                                           
036914,000027: 
036915,000028: 25,2000                                           COUNT*   $$/ENTRY                              
036916,000029: 25,2000  E7,1451                                  EBANK=   RTINIT                                
036917,000030: 
036918,000031: 25,2000     5060               EBENTRY            =        EBANK7                                
036919,000032: 25,2000     5057               EBAOG              EQUALS   EBANK6                                
036920,000033: 25,2000     5002               NTRYPRIO           EQUALS   PRIO20                                #  (SERVICER)
036921,000034: 25,2000     0102               CM/FLAGS           EQUALS   STATE      +6                         
036922,000035: 
036923,000036: 25,2000           77776        STARTENT           EXIT                                           #  MM = 63
036924,000037: 
036925,000038:                                                                                                  #  COME HERE FROM CM/POSE.  RESTARTED IN CM/POSE.
036926,000039: 25,2001           42113                           CS       ENTMASK                               #  INITIALIZE ALL SWITCHES TO ZERO
036927,000040:                                                                                                  #  EXCEPT LATSW, ENTRYDSP AND GONEPAST.
036928,000041:                                                                                                  #  GONEBY 112D BIT8 FLAG7, SELF INITIALIZING
036929,000042: 25,2002           00004                           INHINT                                         
036930,000043: 25,2003           70102                           MASK     CM/FLAGS                              
036931,000044:                                                                                                  #  ENTRYDSP = 92D B13
036932,000045:                                                                                                  #  GONEPAST=95D B10,     RELVELSW=96D B9
036933,000046:                                                                                                  #  EGSW = 97D B8         NOSWITCH = 98D B7
036934,000047:                                                                                                  #  HIND=99D B6           INRLSW=100D B5
036935,000048:                                                                                                  #  LATSW=101D B4         .05GSW=102D B3
036936,000049: 
036937,000050: 25,2004           62114                           AD       ENTRYSW                               #  SET ENTRYDSP, LATSW, GONEPAST.
036938,000051: 25,2005           54102                           TS       CM/FLAGS                              
036939,000052: 
036940,000053: 25,2006           00003                           RELINT                                         
036941,000054: 
036942,000055: 25,2007           06006                           TC       INTPRET                               
036943,000056: 
036944,000057: 25,2010           77735                           SLOAD                                          
036945,000058: 25,2011           03011                                    LODPAD                                
036946,000059: 25,2012           03626                           STORE    LOD                                   
036947,000060: 
036948,000061: 25,2013           77735                           SLOAD                                          
036949,000062: 25,2014           03010                                    LADPAD                                
036950,000063: 25,2015           03624                           STORE    LAD                                   
036951,000064: 
036952,000065: 25,2016           77605                           DMP                                            #  L/DCMINR = LAD COS(15)
036953,000066: 25,2017           15323                                    COS15                                 
036954,000067: 25,2020           17630                           STODL    L/DCMINR                              
036955,000068: 25,2021           15146                                    LATSLOPE                              
036956,000069: 25,2022           70405                           DMP      SR1                                   #  KLAT = LAD/24
036957,000070: 25,2023           03624                                    LAD                                   

Page 845

036959,000072: 25,2024           17632                           STODL    KLAT                                  
036960,000073: 25,2025           15177                                    Q7F                                   
036961,000074: 25,2026           17175                           STODL    Q7                                    #  Q7 = Q7F
036962,000075: 25,2027           17372                                    NEARONE                               #  1.0 -1BIT
036963,000076: 25,2030           17614                           STODL    FACTOR                                
036964,000077: 25,2031           03624                                    LAD                                   
036965,000078: 25,2032           57565                           SIGN     DCOMP                                 
036966,000079: 25,2033           03327                                    HEADSUP                               #  MAY BE NOISE FOR DISPLAY P61
036967,000080: 25,2034           37634                           STCALL   L/D                                   #  L/D = - LAD SGN(HEADSUP)
036968,000081: 
036969,000082: 25,2035           52063                                    STARTEN1                              #  RETURN VIA GOTOADDR
036970,000083: 25,2036           47375                           VLOAD    VXV                                   
036971,000084: 25,2037           01177                                    VN                                    #  (-7) M/CS
036972,000085: 25,2040           01760                                    UNITR                                 #  .5 UNIT               REF COORDS
036973,000086: 25,2041           50256                           UNIT     DOT                                   
036974,000087: 25,2042           03474                                    RT                                    #  RT/2 TARGET VECTOR    REF COORDS
036975,000088: 25,2043           03676                           STORE    LATANG                                #  LATANG = UNI.RT /4
036976,000089: 25,2044           47076                           DCOMP    RTB                                   
036977,000090: 25,2045           45712                                    SIGNMPAC                              
036978,000091: 25,2046           17644                           STODL    K2ROLL                                #  K2ROLL = -SGN(LATANG)
036979,000092: 
036980,000093: 25,2047           03624                                    LAD                                   
036981,000094: 25,2050           43205                           DMP      DAD                                   
036982,000095: 25,2051           15201                                    Q21                                   
036983,000096: 25,2052           15203                                    Q22                                   
036984,000097: 25,2053           03712                           STORE    Q2                                    #  Q2 = -1152 + 500 LAD
036985,000098: 
036986,000099: 25,2054           66331                           SSP      SSP                                   
036987,000100: 25,2055           03646                                    GOTOADDR                              #  SET SELECTOR FOR INITIAL PASS
036988,000101: 25,2056           52260                                    INITROLL                              
036989,000102: 25,2057           03325                                    POSEXIT                               
036990,000103: 25,2060           52115                                    SCALEPOP                              #  SET CM/POSE TO CONTINUE AT SCALEPOP
036991,000104: 
036992,000105: 25,2061           77634                           RTB                                            
036993,000106: 25,2062           53611                                    SERVNOUT                              #  OMIT INITIAL DISPLAY, SINCE 1ST GUESSBAD
036994,000107: 
036995,000108:                                                                                                  #  CALCULATE THE INITIAL TARGET VECTOR: RTINIT, ALSO RTEAST, RTNORM AND RT.  ALL ARE .5 UNIT AND IN
036996,000109:                                                                                                  #  REFERENCE COORDINATES.
036997,000110: 
036998,000111: 25,2063           77220        STARTEN1           STQ      VLOAD                                 
036999,000112: 25,2064           03645                                    GOTOADDR                              
037000,000113: 25,2065           03401                                    LAT(SPL)                              #  TARGET COORDINATES
037001,000114: 25,2066           43014                           CLEAR    CLEAR                                 #  DO CALL USING PAD RADIUS.  WILL UNIT IT.
037002,000115: 25,2067           00662                                    ERADFLAG                              #  ANYWAY.
037003,000116: 25,2070           01663                                    LUNAFLAG                              
037004,000117: 25,2071           15104                           STODL    LAT                                   
037005,000118: 25,2072           15335                                    3ZEROS                                
037006,000119: 
037007,000120: 25,2073           15110                           STODL    LAT        +4                         #  SET ALT=0.
037008,000121: 25,2074           01205                                    PIPTIME                               #  ESTABLISH RTINIT AT TIME OF PRESENT

Page 846

037010,000123:                                                                                                  #  RN AND VN.
037011,000124: 25,2075           37524                           STCALL   TIME/RTO                              #  SAVE TIME BASE OF RTINIT.
037012,000125: 25,2076           26441                                    LALOTORV                              #  C(MPAC) =TIME  (PIPTIME)
037013,000126: 25,2077           77656                           UNIT                                           #  ANSWER IN ALPHAV ALSO
037014,000127: 25,2100           17452                           STODL    RTINIT                                #  .5 UNIT TARGET                REF COORDS
037015,000128: 25,2101           12112                                    500SEC                                #  NOMINAL ENTRY TIME FOR P63
037016,000129:                                                                                                  #  TIME/RTO = PIPTIME, STILL.
037017,000130: 25,2102           37606                           STCALL   DTEAROT                               #  INITIALIZE EARROT
037018,000131: 25,2103           46215                                    EARROT1                               #  GET RT
037019,000132: 25,2104           72441                           DOT      SL1                                   
037020,000133: 25,2105           01760                                    UNITR                                 #  RT/2 IN MPAC
037021,000134: 25,2106           77726                           ACOS                                           
037022,000135: 25,2107           37702                           STCALL   THETAH                                #  RANGE ANGLE /360
037023,000136: 25,2110           03645                                    GOTOADDR                              #  RETURN TO CALLER
037024,000137: 
037025,000138: 25,2111           00003 01520  500SEC             2DEC     50000      B-28                       #  CS
037026,000139: 
037027,000140: 25,2113           11774        ENTMASK            OCT      11774                                 
037028,000141: 25,2114           11010        ENTRYSW            OCT      11010                                 #  ENTRYDSP B13,  GONEPAST B10,  LATSW B4

Page 847

037030,000143: 
037031,000144: 25,2115           77624        SCALEPOP           CALL                                           
037032,000145: 25,2116           52125                                    TARGETNG                              
037033,000146: 
037034,000147: 25,2117           77776                           EXIT                                           
037035,000148: 
037036,000149: 25,2120           05412        REFAZE10           TC       PHASCHNG                              
037037,000150: 25,2121           10035                           OCT      10035                                 #  SERVICER 5.3 RESTART AT REFAZE10
037038,000151: 
037039,000152: 25,2122           06006                           TC       INTPRET                               
037040,000153: 
037041,000154:                                                                                                  #  JUMP TO PARTICULAR RE-ENTRY PHASE:
037042,000155:                                                                                                  #                                SEQUENCE
037043,000156: 25,2123           77650                           GOTO                                           
037044,000157: 25,2124           03645                                    GOTOADDR                              
037045,000158: 
037046,000159:                                                                                                  #           GOTOADDR CONTAINS THE ADDRESS OF THE ROLL COMMAND EQUATIONS APPROPRIATE TO THE CURRENT PHASE OF
037047,000160:                                                                                                  #  RE-ENTRY.  SEQUENCING IS AS FOLLOWS:
037048,000161: 
037049,000162:                                                                                                  #  INITROLL      ADDRESS IS SET HERE INITIALLY.  HOLDS INITIAL ROLL ATTITUDE UNTIL  KAT  IS EXCEEDED.  THEN HOLDS NEW ROLL
037050,000163:                                                                                                  #                ATTITUDE UNTIL  VRTHRESH  IS EXCEEDED.  THEN BRANCHES TO
037051,000164: 
037052,000165:                                                                                                  #  HUNTEST       THIS SECTION CHECKS TO SEE IF THE PREDICTED RANGE AT NOMINAL   L/D FROM PRESENT CONDITIONS IS LESS
037053,000166:                                                                                                  #                THAN THE DESIRED RANGE.
037054,000167:                                                                                                  #                        IF NOT - A ROLL COMMAND IS GENERATED BY THE CONSTANT DRAG CONTROLLER.
037055,000168:                                                                                                  #                        IF SO  - CONTROL AND GOTOADDR ARE SET TO UPCONTRL.
037056,000169:                                                                                                  #                USUALLY NO ITERATION IS INVOLVED EXCEPT IF THE RANGE DESIRED IS TOO LONG ON THE FIRST PASS THROUGH
037057,000170:                                                                                                  #                HUNTEST.
037058,000171: 
037059,000172:                                                                                                  #  UPCONTRL      CONTROLS ROLL DURING THE SUPER-CIRCULAR PHASE.  UPCONTRL IS TERMINATED EITHER
037060,000173:                                                                                                  #                        (A) WHEN THE DRAG (AS MEASURED BY THE PIPAS) FALLS BELOW Q7, OR
037061,000174:                                                                                                  #                        (B) IF RDOT IS NEGATIVE AND REFERENCE VL EXCEEDS V.
037062,000175:                                                                                                  #                IN CASE (A),  GOTOADDR  IS SET TO  KEP2  AND IN CASE (B), TO  PREDICT3  SKIPPING THE KEPLER PHASE OF
037063,000176:                                                                                                  #                ENTRY.
037064,000177: 
037065,000178:                                                                                                  #  KEP2          GOTOADDR IS SET HERE DURING THE KEPLER PHASE TO MONITOR DRAG.  THE SPACECRAFT IS INSTANTANEOUSLY
037066,000179:                                                                                                  #                TRIMMED IN PITCH AND YAW TO THE COMPUTED RELATIVE VELOCITY.  THE LAST COMPUTED ROLL ANGLE IS MAINTAINED.
037067,000180:                                                                                                  #                WHEN THE MEASURED DRAG EXCEEDS Q7 +0.5,  GOTOADDR  IS SET TO
037068,000181: 
037069,000182:                                                                                                  #  PREDICT3      THIS CONTROLS THE FINAL SUB-ORBITAL PHASE. ROLL COMMANDS CEASE
037070,000183:                                                                                                  #                WHEN  V  IS LESS THAN  VQUIT .  AN EXIT IS MADE TO
037071,000184: 
037072,000185:                                                                                                  #  P67.1         THE LAST COMPUTED ROLL ANGLE IS MAINTAINED.  RATE DAMPING IS DONE IN PITCH AND YAW.  PRESENT LATITUDE
037073,000186:                                                                                                  #                AND LONGITUDE ARE COMPUTED FOR DISPLAY.
037074,000187:                                                                                                  #                ENTRY IS TERMINATED WHEN DISKY RESPONSE IS MADE TO TO THIS FINAL FLASHING DISPLAY.
037075,000188: 

Page 848

037077,000190:                                                                                                  #  PROCESS AVERAGE G OUTPUT...SCALE IT AND GET INPUT DATA
037078,000191: 
037079,000192:                                                                                                  #  * START  TARGETING ...
037080,000193: 
037081,000194: 25,2125  E7,1451                                  EBANK=   RTINIT                                
037082,000195: 
037083,000196:                                                                                                  #  TARGETNG IS CALLED BY P61, FROM GROUP 4.
037084,000197:                                                                                                  #  TARGETNG IS CALLED BY ENTRY, FROM GROUP 5.
037085,000198: 
037086,000199:                                                                                                  #  ALL MM COME HERE.             
037087,000200: 25,2125           77214        TARGETNG           BOFF     VLOAD                                 #  ENTER WITH PROPER EB FROM CM/POSE(TEST)
037088,000201: 25,2126           03346                                    RELVELSW                              #  RELVELSW = 96D BIT9
037089,000202: 25,2127           52133                                    GETVEL                                #  WANT INERTIAL VEL.  GO GET IT.
037090,000203: 25,2130           03526                                    -VREL                                 #  NEW V IS RELATIVE, CONTINUE
037091,000204: 
037092,000205: 25,2131           52076                           VCOMP    GOTO                                  #  (VREL) = (V) + KWE UNITR*UNITW
037093,000206: 25,2132           52136                                    GETUNITV   -1                         #  - VREL WAS LEFT BY CM/POSE
037094,000207: 
037095,000208: 25,2133           74375        GETVEL             VLOAD    VXSC                                  #  INERTIAL V WANTED
037096,000209: 25,2134           01177                                    VN                                    #  KVSCALE = (12800 / .3048) / 2VS
037097,000210: 25,2135           15231                                    KVSCALE                               #  KVSCALE = .81491944
037098,000211: 25,2136           03516                           STORE    VEL                                   #  V/2 VS
037099,000212: 
037100,000213: 25,2137           44056        GETUNITV           UNIT     STQ                                   
037101,000214: 25,2140           03373                                    60GENRET                              
037102,000215: 25,2141           17510                           STODL    UNITV                                 
037103,000216: 25,2142           00043                                    34D                                   
037104,000217: 25,2143           03622                           STORE    VSQUARE                               #  VSQ/4
037105,000218: 
037106,000219: 25,2144           77625                           DSU                                            #  LEQ = VSQUARE - 1
037107,000220: 25,2145           15325                                    FOURTH                                #  4 G-S FULL SCALE
037108,000221: 25,2146           17654                           STODL    LEQ                                   #  LEQ/4
037109,000222: 
037110,000223: 25,2147           00045                                    36D                                   
037111,000224: 25,2150           27674                           STOVL    V                                     #  V/2 VS = VEL/2 VS
037112,000225: 
037113,000226: 25,2151           03516                                    VEL                                   
037114,000227: 25,2152           72441                           DOT      SL1                                   #  RDOT= V.UNITR
037115,000228: 25,2153           01760                                    UNITR                                 
037116,000229: 25,2154           27700                           STOVL    RDOT                                  #  RDOT /2 VS
037117,000230: 
037118,000231: 25,2155           01163                                    DELV                                  #  PIPA COUNTS IN PLATFORM COORDS.
037119,000232: 25,2156           41246                           ABVAL    DMP                                   
037120,000233: 25,2157           15233                                    KASCALE                               
037121,000234: 25,2160           53152                           SL1      BZE                                   
037122,000235: 25,2161           55133                                    SETMIND                               
037123,000236: 25,2162           27640        DSTORE             STOVL    D                                     #  ACCELERATION USED TO APPROX DRAG
037124,000237: 25,2163           03516                                    VEL                                   
037125,000238: 25,2164           53435                           VXV      UNIT                                  #  UNI = UNIT(V*R)

Page 849

037127,000240: 25,2165           01760                                    UNITR                                 
037128,000241: 25,2166           03502                           STORE    UNI                                   #  .5 UNI                REF COORDS.
037129,000242: 
037130,000243: 25,2167           71214                           BOFF     DLOAD                                 
037131,000244: 25,2170           03346                                    RELVELSW                              
037132,000245: 25,2171           55074                                    GETETA                                
037133,000246: 25,2172           15335                                    3ZEROS                                
037134,000247: 25,2173           43225        UPDATERT           DSU      DAD                                   #  PIPTIME-TIME/RTO =ELAPSED TIME SINCE
037135,000248:                                                                                                  #  RTINIT WAS ESTABLISHED.
037136,000249: 25,2174           03524                                    TIME/RTO                              
037137,000250: 25,2175           01205                                    PIPTIME                               
037138,000251: 25,2176           37606                           STCALL   DTEAROT                               #  GET PREDICTED TARGET VECTOR RT
037139,000252: 
037140,000253: 25,2177           46225                                    EARROT2                               
037141,000254: 25,2200           40241                           DOT      SETPD                                 #  SINCE (RT) UNIT VECT, THIS IS 1/4 MAX
037142,000255: 25,2201           03502                                    UNI                                   #  LATANG = RT.UNI
037143,000256: 25,2202           00001                                    0                                     
037144,000257: 25,2203           27676                           STOVL    LATANG                                #  LATANG = MAC LATANG / 4
037145,000258: 
037146,000259: 25,2204           03474                                    RT                                    
037147,000260: 25,2205           77614                           CLEAR                                          
037148,000261: 25,2206           03667                                    GONEBY                                #  SHOW HAVE NOT GONE PAST TARGET.
037149,000262: 25,2207           50235                           VXV      DOT                                   #  IF RT*UNITR.UNI NEG, GONEBY=1
037150,000263: 25,2210           01760                                    UNITR                                 #  GONEPAST IS CONDITIONAL SW SET IN
037151,000264: 25,2211           03502                                    UNI                                   #  FINAL PHASE.
037152,000265: 25,2212           43044                           BPL      SET                                   
037153,000266: 25,2213           52215                                    +2                                    
037154,000267: 25,2214           03467                                    GONEBY                                #  SHOW HAVE GONE PAST TARGET.
037155,000268: 
037156,000269: 25,2215           77775                           VLOAD                                          
037157,000270: 25,2216           03474                                    RT                                    
037158,000271: 25,2217           45241        GETANGLE           DOT      DSU                                   #  THETA = ARCCOS(RT.UNITR)
037159,000272: 25,2220           01760                                    UNITR                                 
037160,000273: 25,2221           15163                                    NEAR1/4                               #  TO IMPROVE ACCURACY, CALC RANGE BY
037161,000274: 25,2222           43244                           BPL      DAD                                   #  TINYTHET IF HIGH ORDER PART OF
037162,000275: 25,2223           55136                                    TINYTHET                              #  ARCCOS ARGUMENT IS ZERO
037163,000276: 25,2224           15163                                    NEAR1/4                               
037164,000277: 25,2225           65552                           SL1      ACOS                                  
037165,000278: 25,2226           03702        THETDONE           STORE    THETAH                                #  THETAH/360
037166,000279:                                                                                                  #  HI WORD, LO BIT =1.32 NM=360 60/16384
037167,000280: 
037168,000281: 25,2227           57414                           BON      DCOMP                                 
037169,000282: 25,2230           03707                                    GONEBY                                #  =1 IF HAVE GONE PAST TARGET.
037170,000283:                                                                                                  #  (SIGN MAY BECOME ERRATIC VERY NEAR
037171,000284:                                                                                                  #  TARGET DUE TO LOSS OF PRECISION.)
037172,000285: 25,2231           52232                                    +1                                    
037173,000286: 25,2232           17714                           STODL    RTGON67                               #  RANGE ERROR:  NEG IF WILL FALL SHORT.
037174,000287: 
037175,000288: 25,2233           03640                                    D                                     
037176,000289: 25,2234           50025                           DSU      BMN                                   

Page 850

037178,000291: 25,2235           15241                                    .05G                                  
037179,000292: 25,2236           52255                                    NO.05G                                
037180,000293: 25,2237           77214                           SET      VLOAD                                 
037181,000294: 25,2240           03074                                    .05GSW                                
037182,000295: 25,2241           03433                                    DELVREF                               
037183,000296: 25,2242           50206                           PUSH     DOT                                   
037184,000297: 25,2243           03542                                    UXA/2                                 
037185,000298: 25,2244           63552                           SL1      DSQ                                   
037186,000299: 25,2245           47515                           PDVL     VSQ                                   #  EXCHANGE WITH PDL.
037187,000300: 25,2246           56225                           DSU      DDV                                   
037188,000301: 25,2247           00001                                    0                                     
037189,000302: 25,2250           75400                           BOV      SQRT                                  
037190,000303: 25,2251           52253                                    NOLDCALC                              #  OVFL LAST CLEARED IN EARROT2 ABOVE.
037191,000304: 25,2252           03727                           STORE    L/DCALC                               
037192,000305: 
037193,000306: 25,2253           77650        NOLDCALC           GOTO                                           
037194,000307: 25,2254           03373                                    60GENRET                              
037195,000308: 
037196,000309: 25,2255           52014        NO.05G             CLEAR    GOTO                                  #  THIS WAY FOR DAP. (MAY INTERRUPT)
037197,000310: 25,2256           03274                                    .05GSW                                #  .05GSW = 102D B3
037198,000311: 25,2257           52253                                    NOLDCALC                              #  KEEP SINGLE EXIT FOR TARGETNG
037199,000312: 

Page 851

037201,000314:                                                                                                  #  SUBROUTINES CALLED BY SCALEPOP (TARGETING):
037202,000315: 
037203,000316: 26,3074                                           BANK     26                                    
037204,000317: 26,2000                                           SETLOC   REENTRY1                              
037205,000318: 26,2000                                           BANK                                           
037206,000319: 
037207,000320: 26,3074                                           COUNT*   $$/ENTRY                              
037208,000321: 
037209,000322: 26,3074           56345        GETETA             DLOAD    DDV                                   #  D = D +D(-RDOT/HS -2D/V)  DT/2
037210,000323:                                                                                                  #  DT/2 = 2/2 =1
037211,000324: 26,3075           03700                                    RDOT                                  
037212,000325: 26,3076           15317                                    -HSCALED                              
037213,000326: 26,3077           41325                           PDDL     DMP                                   
037214,000327: 26,3100           03640                                    D                                     
037215,000328: 26,3101           15321                                    -KSCALE                               
037216,000329: 26,3102           43271                           DDV      DAD                                   
037217,000330: 26,3103           03674                                    V                                     
037218,000331:                                                                                                  #  -RDOT/HS FROM PDL.
037219,000332: 26,3104           43205                           DMP      DAD                                   
037220,000333: 26,3105           03640                                    D                                     
037221,000334: 26,3106           03640                                    D                                     
037222,000335: 26,3107           03640                           STORE    D                                     
037223,000336: 
037224,000337: 26,3110           71214                           BON      DLOAD                                 #  EGSW INDICATES FINAL PHASE.
037225,000338: 26,3111           03307                                    EGSW                                  
037226,000339: 26,3112           55117                                    SUBETA                                
037227,000340: 26,3113           03702                                    THETAH                                
037228,000341: 26,3114           52005                           DMP      GOTO                                  
037229,000342: 26,3115           15235                                    KTETA                                 #  = 1000X2PI/(2)E14 163.84
037230,000343: 26,3116           52173                                    UPDATERT                              
037231,000344: 
037232,000345: 26,3117           45345        SUBETA             DLOAD    DSU                                   #  SWITCH FROM INERTIAL TO RELATIVE VEL.
037233,000346: 26,3120           03674                                    V                                     
037234,000347: 26,3121           15325                                    VMIN                                  
037235,000348: 26,3122           43044                           BPL      SET                                   
037236,000349: 26,3123           55125                                    SUBETA2                               
037237,000350: 26,3124           03066                                    RELVELSW                              
037238,000351: 
037239,000352: 26,3125           41345        SUBETA2            DLOAD    DMP                                   
037240,000353: 
037241,000354: 26,3126           03702                                    THETAH                                
037242,000355: 26,3127           15237                                    KT1                                   #  KT1 = KT
037243,000356: 26,3130           52071                           DDV      GOTO                                  
037244,000357: 26,3131           03674                                    V                                     #  KT = RE(2 PI)/2 VS 16384 163.84/ 2 VSAT
037245,000358: 26,3132           52173                                    UPDATERT                              
037246,000359: 
037247,000360: 26,3133           52145        SETMIND            DLOAD    GOTO                                  
037248,000361: 26,3134           16326                                    1BITDP                                
037249,000362: 26,3135           52162                                    DSTORE                                
037250,000363: 

Page 852

037252,000365: 26,3136           51425        TINYTHET           DSU      ABS                                   #  ENTER WITH X-.249
037253,000366: 26,3137           16327                                    1BITDP     +1                         #  GET 1/4 - MPAC
037254,000367: 26,3140           75461                           SL       SQRT                                  #  SCALE UP BEFORE SQRT
037255,000368: 26,3141           20216                                    13D                                   #  HAS FACTOR FOR UP SCALING
037256,000369: 26,3142           52005                           DMP      GOTO                                  
037257,000370: 26,3143           15247                                    KACOS                                 
037258,000371: 26,3144           52226                                    THETDONE                              
037259,000372: 

Page 853

037261,000374:                                                                                                  #  * START       INITIAL ROLL ...
037262,000375: 
037263,000376: 25,2260                                           BANK     25                                    
037264,000377: 25,2000                                           SETLOC   REENTRY                               
037265,000378: 25,2000                                           BANK                                           
037266,000379: 
037267,000380: 25,2260                                           COUNT*   $$/ENTRY                              
037268,000381: 
037269,000382:                                                                                                  #  MM = 63, 64 ..
037270,000383: 25,2260           43014        INITROLL           BON      BOFF                                  #  IF D- .05G NEG, GO TO LIMITL/D
037271,000384: 25,2261           03312                                    INRLSW                                
037272,000385: 25,2262           52362                                    INITRL1                               
037273,000386: 25,2263           03354                                    .05GSW                                
037274,000387: 25,2264           53526                                    LIMITL/D                              
037275,000388: 
037276,000389:                                                                                                  #  MM = 64, NOW
037277,000390:                                                                                                  #              3
037278,000391:                                                                                                  #  KA = KA1 LEQ  + KA2
037279,000392: 25,2265           63545                           DLOAD    DSQ                                   
037280,000393: 25,2266           03654                                    LEQ                                   
037281,000394: 25,2267           56205                           DMP      DDV                                   
037282,000395: 25,2270           03654                                    LEQ                                   
037283,000396: 25,2271           15305                                    1/KA1                                 #  = 25 /(64  1.8)
037284,000397: 25,2272           47015                           DAD      RTB                                   
037285,000398: 25,2273           15307                                    KA2                                   #  = .2
037286,000399: 25,2274           54433                                    P64                                   #  ROLLC         VI              RDOT
037287,000400:                                                                                                  #  XXX.XX DEG    XXXXX. FPS      XXXXX. FPS
037288,000401: 25,2275           03720                           STORE    KAT                                   
037289,000402: 
037290,000403: 25,2276           50025                           DSU      BMN                                   
037291,000404: 25,2277           15315                                    KALIM                                 
037292,000405: 25,2300           52304                                    +4                                    
037293,000406: 25,2301           77745                           DLOAD                                          
037294,000407: 25,2302           15315                                    KALIM                                 
037295,000408: 25,2303           03720                           STORE    KAT                                   
037296,000409: 25,2304           45345                           DLOAD    DSU                                   #  IF V-VFINAL1 NEG, GO TO FINAL PHASE.
037297,000410: 25,2305           03674                                    V                                     
037298,000411: 25,2306           15303                                    VFINAL1                               
037299,000412: 25,2307           51014                           CLEAR    BPL                                   #  (CAN'T CLEAR INRLSW AFTER HERE: RESTARTS)
037300,000413: 25,2310           03265                                    GONEPAST                              #  GONEPAST WAS INITIALLY SET=1 TO FORCE
037301,000414:                                                                                                  #  ROLLC TO REMAIN AS DEFINED BY HEADSUP
037302,000415:                                                                                                  #  UNTIL START OF P64.  (UNTIL D > .05G)
037303,000416: 25,2311           52316                                    D0EQ                                  
037304,000417: 25,2312           52131                           SSP      GOTO                                  
037305,000418: 25,2313           03646                                    GOTOADDR                              
037306,000419: 25,2314           53317                                    KEP2                                  #  AND IDLE UNTIL D > 0.2 G.  (NO P66 HERE)
037307,000420: 25,2315           52351                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
037308,000421: 
037309,000422: 25,2316           41345        D0EQ               DLOAD    DMP                                   #  D0 = KA3 LEQ + KA4

Page 854

037311,000424: 25,2317           03654                                    LEQ                                   
037312,000425: 25,2320           15311                                    KA3                                   
037313,000426: 25,2321           77615                           DAD                                            
037314,000427: 25,2322           15313                                    KA4                                   
037315,000428: 25,2323           03710                           STORE    D0                                    #  D0/805
037316,000429: 25,2324           40065                           BDDV     BOV                                   
037317,000430: 25,2325           15267                                    C001                                  #  (-4/25 G) B-8
037318,000431: 25,2326           52327                                    +1                                    #  CLEAR OVFIND, IF ON.
037319,000432: 25,2327           17706                           STODL    C/D0                                  #  (-4/D0) B-8
037320,000433: 25,2330           03624                                    LAD                                   #  IF V-VFINAL +K(RDOT/V)CUBED POS,L/D=-LAD
037321,000434: 25,2331           17634                           STODL    L/D                                   
037322,000435: 25,2332           03700                                    RDOT                                  
037323,000436: 25,2333           41471                           DDV      PUSH                                  
037324,000437: 25,2334           03674                                    V                                     
037325,000438: 25,2335           41316                           DSQ      DMP                                   
037326,000439: 25,2336           45271                           DDV      DSU                                   
037327,000440: 25,2337           15277                                    1/K44                                 
037328,000441: 25,2340           15301                                    VFINAL                                
037329,000442:                                                                                                  #                    3
037330,000443:                                                                                                  #  V-VFINAL +(RDOT/V)  / K44     OVFL $
037331,000444: 
037332,000445: 25,2341           40015                           DAD      BOV                                   
037333,000446: 25,2342           03674                                    V                                     
037334,000447: 25,2343           52351                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
037335,000448: 25,2344           71240                           BMN      DLOAD                                 
037336,000449: 25,2345           52351                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
037337,000450: 25,2346           03624                                    LAD                                   
037338,000451: 25,2347           77676                           DCOMP                                          
037339,000452: 25,2350           03634                           STORE    L/D                                   
037340,000453: 
037341,000454:                                                                                                  #  SET INRLSW AT END FOR RESTART PROTECTION
037342,000455: 25,2351           77614        INROLOUT           BOFSET                                         #  END OF PRE .05G PATH OF INITROLL.
037343,000456: 25,2352           03052                                    INRLSW                                #  SWITCH IS ZERO INITIALLY.
037344,000457: 25,2353           53526                                    LIMITL/D                              #  (GO TO)
037345,000458: 
037346,000459: 25,2354           45345        KATEST             DLOAD    DSU                                   #  IF KAT - D POS, GO TO CONSTD
037347,000460: 25,2355           03720                                    KAT                                   
037348,000461: 25,2356           03640                                    D                                     #  IF POS, OUT WITH COMMAND VIA LIMITL/D
037349,000462: 25,2357           52044                           BPL      GOTO                                  
037350,000463: 25,2360           53526                                    LIMITL/D                              
037351,000464: 25,2361           53232                                    CONSTD                                
037352,000465: 
037353,000466: 25,2362           43345        INITRL1            DLOAD    DAD                                   #  IF RDOT + VRCONT POS, GO TO HUNTEST
037354,000467: 25,2363           03700                                    RDOT                                  
037355,000468: 25,2364           15261                                    VRCONT                                
037356,000469: 25,2365           45040                           BMN      CALL                                  #  IF POSITIVE, FALL INTO HUNTEST.
037357,000470: 25,2366           52354                                    KATEST                                
037358,000471: 
037359,000472: 25,2367           53022                                    FOREHUNT                              #  INITIALIZE HUNTEST.
037360,000473: 

Page 855

037362,000475:                                                                                                  #  * START       HUNT TEST ..
037363,000476:                                                                                                  #  MM = 64
037364,000477: 25,2370           77731                           SSP                                            #  INITIALIZE HUNTEST ON FIRST PASS
037365,000478: 25,2371           03646                                    GOTOADDR                              
037366,000479: 25,2372           52373                                    HUNTEST                               #  MUST GO AFTER FOREHUNT FOR RESTARTS.
037367,000480: 
037368,000481: 25,2373           77745        HUNTEST            DLOAD                                          
037369,000482: 25,2374           03640                                    D                                     
037370,000483: 25,2375           17664                           STODL    A1                                    #  A1/805 = A1/25G
037371,000484: 
037372,000485: 25,2376           03624                                    LAD                                   
037373,000486: 25,2377           17647                           STODL    TEM1B                                 
037374,000487: 25,2400           03700                                    RDOT                                  
037375,000488: 25,2401           71240                           BMN      DLOAD                                 #  IF RDOT NEG,TEM1B=LAD, OTHERWISE = LEWD
037376,000489: 25,2402           52406                                    A0CALC                                
037377,000490: 25,2403           03725                                    LEWD                                  
037378,000491: 25,2404           17647                           STODL    TEM1B                                 
037379,000492: 
037380,000493: 25,2405           03700                                    RDOT                                  
037381,000494: 25,2406           43271        A0CALC             DDV      DAD                                   #  V1 = V + RDOT/TEM1B
037382,000495: 25,2407           03647                                    TEM1B                                 
037383,000496: 25,2410           03674                                    V                                     
037384,000497: 25,2411           14326                           STODL    V1                                    #  V1/2 VS
037385,000498: 
037386,000499: 25,2412           03700                                    RDOT                                  
037387,000500: 25,2413           56316                           DSQ      DDV                                   #  A0=(V1/V)SQ(D+RDOT SQ/(TEM1B 2 C1 HS)
037388,000501: 25,2414           03647                                    TEM1B                                 
037389,000502: 25,2415           43271                           DDV      DAD                                   
037390,000503: 25,2416           15273                                    2C1HS                                 
037391,000504: 25,2417           03640                                    D                                     
037392,000505: 25,2420           41205                           DMP      DMP                                   
037393,000506: 25,2421           00326                                    V1                                    
037394,000507: 25,2422           00326                                    V1                                    
037395,000508: 25,2423           77671                           DDV                                            
037396,000509: 25,2424           03622                                    VSQUARE                               
037397,000510: 25,2425           14330                           STODL    A0                                    #  A0/805 = A0/25G
037398,000511: 
037399,000512: 25,2426           03700                                    RDOT                                  
037400,000513: 25,2427           71244                           BPL      DLOAD                                 
037401,000514: 25,2430           52433                                    V1LEAD                                
037402,000515: 25,2431           00330                                    A0                                    
037403,000516: 25,2432           03664                           STORE    A1                                    #  A1/25G
037404,000517: 
037405,000518: 25,2433           51145        V1LEAD             DLOAD    BPL                                   #  IF L/D NEG, V1=V1 - 1000
037406,000519: 25,2434           03634                                    L/D                                   
037407,000520: 25,2435           52442                                    HUNTEST1                              
037408,000521: 
037409,000522: 25,2436           45345                           DLOAD    DSU                                   
037410,000523: 25,2437           00326                                    V1                                    

Page 856

037412,000525: 25,2440           15215                                    VQUIT                                 
037413,000526: 25,2441           00326                           STORE    V1                                    
037414,000527: 
037415,000528: 25,2442           41345        HUNTEST1           DLOAD    DMP                                   #  ALP = 2 C1 HS A0/LEWD V1 V1
037416,000529: 25,2443           00330                                    A0                                    
037417,000530: 25,2444           15273                                    2C1HS                                 
037418,000531: 25,2445           40271                           DDV      SETPD                                 
037419,000532: 25,2446           00326                                    V1                                    
037420,000533: 25,2447           00001                                    0                                     
037421,000534: 25,2450           56271                           DDV      DDV                                   
037422,000535: 25,2451           00326                                    V1                                    
037423,000536: 25,2452           03725                                    LEWD                                  
037424,000537: 25,2453           03704                           STORE    ALP                                   
037425,000538: 
037426,000539: 25,2454           55221                           BDSU     BDDV                                  #  FACT1 = V1 / (1 - ALP)
037427,000540: 25,2455           17372                                    BARELY1                               
037428,000541: 25,2456           00326                                    V1                                    
037429,000542: 25,2457           17616                           STODL    FACT1                                 #  FACT1 / 2VS
037430,000543: 
037431,000544: 25,2460           03704                                    ALP                                   
037432,000545: 25,2461           41225                           DSU      DMP                                   #  FACT2 = ALP(ALP - 1) / A0
037433,000546: 25,2462           17372                                    BARELY1                               
037434,000547: 25,2463           03704                                    ALP                                   
037435,000548: 25,2464           77671                           DDV                                            
037436,000549: 25,2465           00330                                    A0                                    
037437,000550: 25,2466           03620                           STORE    FACT2                                 #  FACT2 (25G)
037438,000551: 
037439,000552: 25,2467           43205                           DMP      DAD                                   
037440,000553: 25,2470           03175                                    Q7                                    #  Q7 / 805 = Q7 / 25G
037441,000554: 25,2471           03704                                    ALP                                   #  VL=FACT1 (1-SQRT(Q7 FACT2 +ALP) )
037442,000555: 25,2472           44366                           SQRT     BDSU                                  
037443,000556: 25,2473           17372                                    BARELY1                               
037444,000557: 25,2474           77605                           DMP                                            
037445,000558: 25,2475           03616                                    FACT1                                 
037446,000559: 25,2476           03767                           STORE    VL                                    #  VL / 2 VS
037447,000560: 
037448,000561: 25,2477           41221                           BDSU     DMP                                   #  GAMMAL1 = LEWD (V1-VL)/VL
037449,000562: 25,2500           00326                                    V1                                    
037450,000563: 25,2501           03725                                    LEWD                                  
037451,000564: 25,2502           77671                           DDV                                            
037452,000565: 25,2503           03767                                    VL                                    
037453,000566: 25,2504           14027                           STODL    GAMMAL1                               #  GAMMAL1 USED IN UPCONTROL
037454,000567: 
037455,000568:                                                                                                  #  GAMMAL1 = PDL 22D.
037456,000569: 25,2505           03767                                    VL                                    
037457,000570: 25,2506           50025                           DSU      BMN                                   #  IF VL-VLMIN NEG, GO TO PREFINAL
037458,000571: 25,2507           15205                                    VLMIN                                 
037459,000572: 25,2510           53333                                    PREFINAL                              
037460,000573: 
037461,000574: 25,2511           63545                           DLOAD    DSQ                                   

Page 857

037463,000576: 25,2512           03767                                    VL                                    
037464,000577: 25,2513           17666                           STODL    VBARS                                 #  VBARS / 4 VS VS
037465,000578: 
037466,000579: 25,2514           15333                                    HALVE                                 #  IF VSAT-VL NEG, GO TO CONSTD
037467,000580: 25,2515           50025                           DSU      BMN                                   
037468,000581: 25,2516           03767                                    VL                                    
037469,000582: 25,2517           53226                                    BECONSTD                              #  SET MODE=HUNTEST, CONTINUE IN CONSTD
037470,000583: 25,2520           17662                           STODL    DVL                                   #  DVL / 2VS
037471,000584: 
037472,000585: 25,2521           15333                                    HALVE                                 
037473,000586: 25,2522           03672                           STORE    VS1                                   #  VS1 = VSAT
037474,000587: 
037475,000588: 25,2523           50025                           DSU      BMN                                   #  IF V1 GREATER THAN VSAT, GO ON
037476,000589: 25,2524           00326                                    V1                                    
037477,000590: 25,2525           52533                                    GETDHOOK                              
037478,000591: 25,2526           77621                           BDSU                                           
037479,000592: 25,2527           03662                                    DVL                                   
037480,000593: 25,2530           17662                           STODL    DVL                                   #  DVL = DVL - (VSAT-V1) = V1 - VL
037481,000594: 25,2531           00326                                    V1                                    
037482,000595: 25,2532           03672                           STORE    VS1                                   #  VS1 = V1, IN THIS CASE
037483,000596: 
037484,000597: 25,2533           45145        GETDHOOK           DLOAD    CALL                                  #  DHOOK=((1-VS1/FACT1) SQ -ALP)/FACT2
037485,000598: 25,2534           03672                                    VS1                                   #  VS1 / 2 VS
037486,000599: 25,2535           53004                                    DHOOKYQ7                              #  GO CALC DHOOK
037487,000600: 25,2536           03656                           STORE    DHOOK                                 #  DHOOK / 25G
037488,000601: 
037489,000602: 25,2537           56261                           SR       DDV                                   
037490,000603: 25,2540           20607                                    6                                     #  CHOOK
037491,000604: 25,2541           03175                                    Q7                                    
037492,000605: 25,2542           77625                           DSU                                            
037493,000606: 25,2543           15251                                    CHOOK                                 #  = .25/16 = (-6)
037494,000607: 25,2544           03660                           STORE    AHOOKDV                               
037495,000608: 
037496,000609: 25,2545           41215                           DAD      DMP                                   #  GAMMAL= GAMMAL1-CH1 DVL SQ(1+AHOOK DVL)
037497,000610: 25,2546           17366                                    1/16TH                                
037498,000611: 25,2547           15255                                    CH1                                   
037499,000612: 25,2550           41205                           DMP      DMP                                   
037500,000613: 25,2551           03662                                    DVL                                   
037501,000614: 25,2552           03662                                    DVL                                   
037502,000615: 25,2553           56271                           DDV      DDV                                   
037503,000616: 25,2554           03656                                    DHOOK                                 
037504,000617: 25,2555           03666                                    VBARS                                 
037505,000618: 25,2556           50021                           BDSU     BMN                                   
037506,000619: 25,2557           00027                                    GAMMAL1                               
037507,000620: 25,2560           52751                                    NEGAMA                                
037508,000621: 25,2561           03771        HUNTEST3           STORE    GAMMAL                                
037509,000622: 
037510,000623: 25,2562           77625                           DSU                                            #  GAMMAL1=GAMMAL1 +Q19 (GAMMAL-GAMMAL1)
037511,000624: 25,2563           00027                                    GAMMAL1                               
037512,000625: 25,2564           43205                           DMP      DAD                                   

Page 858

037514,000627: 25,2565           15333                                    Q19                                   
037515,000628: 25,2566           00027                                    GAMMAL1                               
037516,000629: 25,2567           14027                           STODL    GAMMAL1                               
037517,000630: 25,2570           03771                                    GAMMAL                                
037518,000631: 

Page 859

037520,000633:                                                                                                  #  *START        RANGE PREDICTION ...
037521,000634:                                                                                                  #  C(MPAC) = GAMMAL
037522,000635: 25,2571           60516        RANGER             DSQ      SR2                                   #  COSG = 1-GAMMAL SQ/2, TRUNCATED SERIES
037523,000636: 25,2572           77621                           BDSU                                           
037524,000637: 25,2573           15333                                    HALVE                                 
037525,000638: 25,2574           17670                           STODL    COSG/2                                
037526,000639: 25,2575           03666                                    VBARS                                 #  E=SQRT(1+VBARS........
037527,000640: 
037528,000641: 25,2576           41225                           DSU      DMP                                   
037529,000642: 25,2577           15333                                    HALVE                                 
037530,000643: 25,2600           03666                                    VBARS                                 
037531,000644: 25,2601           41205                           DMP      DMP                                   
037532,000645: 25,2602           03670                                    COSG/2                                
037533,000646: 25,2603           03670                                    COSG/2                                
037534,000647: 25,2604           43312                           SL2      DAD                                   
037535,000648: 25,2605           17366                                    C1/16                                 #  C1/16 = 1/16
037536,000649: 25,2606           65366                           SQRT     PDDL                                  #  E/4 INTO PDL
037537,000650: 
037538,000651: 25,2607           03666                                    VBARS                                 
037539,000652: 25,2610           41205                           DMP      DMP                                   #  ASKEP/2 = ARCSIN(VBARS COSG SING/E)
037540,000653: 25,2611           03670                                    COSG/2                                
037541,000654: 25,2612           03771                                    GAMMAL                                
037542,000655: 25,2613           67471                           DDV      ASIN                                  
037543,000656: 25,2614           41552                           SL1      PUSH                                  #  ASKEP TO PDL 0.
037544,000657: 25,2615           17731                           STODL    ASKEP                                 #  BALLISTIC RANGE       ASKEP/2PI
037545,000658: 
037546,000659:                                                                                                  #  FOR TM, STORE RANGE COMPONENTS OVERLAPPING (SP)
037547,000660: 25,2616           03767                                    VL                                    
037548,000661: 25,2617           43205                           DMP      DAD                                   #  ASP1 = Q2 + Q3 VL
037549,000662: 25,2620           15171                                    Q3                                    
037550,000663: 25,2621           03712                                    Q2                                    
037551,000664: 25,2622           03732                           STORE    ASP1                                  #  FINAL PHASE RANGE     ASP1/2 PI
037552,000665: 
037553,000666: 25,2623           63525                           PDDL     DSQ                                   #  ASP1 TO PDL 2.
037554,000667: 25,2624           00326                                    V1                                    
037555,000668:                                                                                                  #                    2
037556,000669:                                                                                                  #  ASPUP= -C12 LOG(V1 Q7/VBARS A0)/GAMMAL1
037557,000670: 25,2625           56205                           DMP      DDV                                   
037558,000671: 25,2626           03175                                    Q7                                    
037559,000672: 25,2627           03666                                    VBARS                                 
037560,000673: 25,2630           45071                           DDV      CALL                                  
037561,000674: 25,2631           00330                                    A0                                    
037562,000675: 25,2632           46155                                    LOG                                   #  RETURN WITH -LOG IN MPAC
037563,000676: 
037564,000677: 25,2633           56205                           DMP      DDV                                   
037565,000678: 25,2634           15207                                    C12                                   
037566,000679: 25,2635           00027                                    GAMMAL1                               
037567,000680: 25,2636           03733                           STORE    ASPUP                                 #  UP PHASE RANGE        ASPUP / 2 PI

Page 860

037569,000682: 25,2637           41325                           PDDL     DMP                                   #  ASPUP TO PDL 4.
037570,000683: 25,2640           15257                                    KC3                                   #  KC3 = -4 VS VS / 2 PI 805 RE
037571,000684:                                                                                                  #  ASPDWN = KC3 RDOT V / A0
037572,000685: 25,2641           03700                                    RDOT                                  
037573,000686: 25,2642           56205                           DMP      DDV                                   
037574,000687: 25,2643           03674                                    V                                     
037575,000688: 25,2644           00330                                    A0                                    
037576,000689: 25,2645           41471                           DDV      PUSH                                  #  ASPDWN TO PDL 6.
037577,000690: 25,2646           03624                                    LAD                                   
037578,000691: 25,2647           17734                           STODL    ASPDWN                                #  RANGE TO PULL OUT     ASPDWN /2 PI
037579,000692: 
037580,000693: 25,2650           15175                                    Q6                                    
037581,000694: 25,2651           41225                           DSU      DMP                                   #  ASP3 = Q5(Q6-GAMMAL)
037582,000695: 25,2652           03771                                    GAMMAL                                
037583,000696: 25,2653           15173                                    Q5                                    
037584,000697: 25,2654           27735                           STOVL    ASP3                                  #  GAMMA CORRECTION      ASP3/2PI
037585,000698: 
037586,000699: 25,2655           03731                                    ASKEP                                 #  GET HI-WD AND
037587,000700: 25,2656           17126                           STODL    ASPS(TM)                              #  SAVE HI-WORD OF ASP'S FOR TM.
037588,000701: 
037589,000702: 25,2657           03735                                    ASP3                                  
037590,000703: 25,2660           43215                           DAD      DAD                                   
037591,000704:                                                                                                  #  ASPDWN FROM PDL 6.
037592,000705:                                                                                                  #  ASPUP FROM PDL 4.
037593,000706: 25,2661           43215                           DAD      DAD                                   
037594,000707:                                                                                                  #  ASP1 FROM PDL 2.
037595,000708:                                                                                                  #  ASKEP FROM PDL 0.
037596,000709: 25,2662           41025                           DSU      BOVB                                  #  CLEAR OVFIND.
037597,000710: 25,2663           03702                                    THETAH                                
037598,000711: 25,2664           57352                                    TCDANZIG                              
037599,000712: 25,2665           03610                           STORE    DIFF                                  #  DIFF = (ASP-THETAH) / 2 PI
037600,000713:                                                                                                  #  ASP=ASKEP+ASP1+ASPUP+ASP3+ASPDWN = TOTAL RANGE
037601,000714: 
037602,000715: 25,2666           45246                           ABS      DSU                                   #  IF ABS(THETAH-ASP) -25NM NEG, GO TO UPSY
037603,000716: 25,2667           15223                                    25NM                                  
037604,000717: 25,2670           43040                           BMN      BON                                   
037605,000718: 25,2671           53033                                    GOTOUPSY                              
037606,000719: 25,2672           03311                                    HIND                                  
037607,000720: 25,2673           52677                                    GETLEWD                               
037608,000721: 
037609,000722: 25,2674           51145                           DLOAD    BPL                                   
037610,000723: 25,2675           03610                                    DIFF                                  
037611,000724: 25,2676           53221                                    DCONSTD                               #  EVENTUALLY SETS MODE = HUNTEST.
037612,000725: 25,2677           41345        GETLEWD            DLOAD    DMP                                   
037613,000726:                                                                                                  #  DLEWD = DLEWD (DIFF/(DIFFOLD-DIFF))
037614,000727: 25,2700           03642                                    DLEWD                                 
037615,000728: 25,2701           03610                                    DIFF                                  
037616,000729: 25,2702           45325                           PDDL     DSU                                   
037617,000730: 25,2703           03612                                    DIFFOLD                               
037618,000731: 25,2704           03610                                    DIFF                                  

Page 861

037620,000733: 25,2705           77665                           BDDV                                           
037621,000734: 25,2706           77626        LWDSTORE           STADR                                          
037622,000735: 25,2707           74135                           STORE    DLEWD                                 
037623,000736: 25,2710           50015                           DAD      BMN                                   #  IF LEWD+DLEWD NEG, DLEWD=-LEWD/2
037624,000737: 25,2711           03725                                    LEWD                                  
037625,000738: 25,2712           52745                                    LEWDPTR                               
037626,000739: 25,2713           77600                           BOV                                            
037627,000740: 25,2714           52741                                    LEWDOVFL                              
037628,000741: 25,2715           03725                           STORE    LEWD                                  
037629,000742: 
037630,000743: 25,2716           77776        SIDETRAK           EXIT                                           
037631,000744: 
037632,000745: 25,2717           35060                           CA       EBENTRY                               
037633,000746: 25,2720           54003                           TS       EBANK                                 
037634,000747: 
037635,000748: 25,2721           35070                           CA       PRIO16                                #  DROP GRP 5 RESTART PRIO TO 1 LESS THAN
037636,000749: 25,2722           55064                           TS       PHSPRDT5                              #  GRP 4.
037637,000750: 
037638,000751: 25,2723           05412                           TC       PHASCHNG                              
037639,000752: 25,2724           00474                           OCT      00474                                 #  RESTART GRP 4 AT PRE-HUNT.
037640,000753:                                                                                                  #  FORCE RESTART TO PICK UP IN GRP 4:
037641,000754:                                                                                                  #  USE PRIO 17 FOR GRP 4 (< SERVICER PRIO)
037642,000755: 25,2725           35070                           CA       PRIO16                                #  CONTINUE GRP 5 AT LOWER PRIO THAN EITHER
037643,000756:                                                                                                  #  GRP 4 OR SERVICER.
037644,000757: 25,2726           05210                           TC       PRIOCHNG                              
037645,000758: 
037646,000759: 25,2727           33032                           CAF      ADENDEXT                              #  SIDETRACK NEXT PASS UNTIL THIS ONE DONE.
037647,000760: 25,2730           55645                           TS       GOTOADDR                              #  ONLY AFTER RESTART IS LEFT AFTER DETOUR.
037648,000761: 
037649,000762: 25,2731           06006                           TC       INTPRET                               
037650,000763: 
037651,000764: 25,2732           43145                           DLOAD    SET                                   
037652,000765: 25,2733           03610                                    DIFF                                  
037653,000766: 25,2734           03071                                    HIND                                  
037654,000767: 25,2735           17612                           STODL    DIFFOLD                               #  DIFFOLD / 2 PI
037655,000768: 
037656,000769: 25,2736           15177                                    Q7F                                   
037657,000770: 25,2737           37175                           STCALL   Q7                                    #  Q7 / 805 FPSS
037658,000771: 25,2740           52373                                    HUNTEST                               #  (GO TO)
037659,000772: 
037660,000773: 25,2741           77745        LEWDOVFL           DLOAD                                          
037661,000774: 25,2742           17372                                    NEARONE                               
037662,000775: 25,2743           37725                           STCALL   LEWD                                  
037663,000776: 25,2744           53221                                    DCONSTD                               #  (GO TO)  ALSO WILL SET MODE = HUNTEST
037664,000777: 
037665,000778: 25,2745           70545        LEWDPTR            DLOAD    SR1                                   
037666,000779: 25,2746           03725                                    LEWD                                  
037667,000780: 25,2747           52076                           DCOMP    GOTO                                  
037668,000781: 25,2750           52706                                    LWDSTORE                              
037669,000782: 

Page 862

037671,000784:                                                                                                  #  NEGAMA IS PART OF HUNTEST ...
037672,000785: 
037673,000786: 25,2751           41205        NEGAMA             DMP      DMP                                   #  ENTER WITH GAMMAL IN MPAC
037674,000787: 
037675,000788: 25,2752           03767                                    VL                                    
037676,000789: 25,2753           15147                                    1/3RD                                 
037677,000790: 25,2754           41325                           PDDL     DMP                                   #  PUSH GAMMAL VL/3
037678,000791: 25,2755           03725                                    LEWD                                  
037679,000792: 25,2756           15147                                    1/3RD                                 
037680,000793: 25,2757           43325                           PDDL     DAD                                   #  PUSH LEWD/3
037681,000794: 25,2760           03660                                    AHOOKDV                               
037682,000795: 25,2761           15253                                    1/24TH                                
037683,000796: 25,2762           41205                           DMP      DMP                                   #  DEL VL = (GAMMAL VL/3)/(LEWD/3-DVL
037684,000797: 25,2763           03662                                    DVL                                   #  (2/3 + AHOOKDV)(CH1 GS/DHOOK VL))
037685,000798: 25,2764           15255                                    CH1                                   
037686,000799: 25,2765           56271                           DDV      DDV                                   
037687,000800: 25,2766           03656                                    DHOOK                                 
037688,000801: 25,2767           03767                                    VL                                    
037689,000802: 25,2770           55221                           BDSU     BDDV                                  
037690,000803:                                                                                                  #  LEWD/3
037691,000804:                                                                                                  #  GAMMAL VL /3
037692,000805: 25,2771           77615                           DAD                                            
037693,000806: 25,2772           03767                                    VL                                    
037694,000807: 25,2773           37767                           STCALL   VL                                    #  VL/2 VS
037695,000808: 
037696,000809: 25,2774           53004                                    DHOOKYQ7                              #  GO CALC Q7
037697,000810:                                                                                                  #  Q7=((1-VL/FACT1)SQ - ALP)/FACT2
037698,000811: 25,2775           17175                           STODL    Q7                                    #  Q7 / 25G
037699,000812: 
037700,000813: 25,2776           03767                                    VL                                    
037701,000814: 25,2777           77716                           DSQ                                            
037702,000815: 25,3000           17666                           STODL    VBARS                                 #  VBARS / 4 VS VS
037703,000816: 
037704,000817: 25,3001           15335                                    3ZEROS                                
037705,000818: 25,3002           77650                           GOTO                                           #  SET GAMMAL = 0
037706,000819: 25,3003           52561                                    HUNTEST3                              
037707,000820: 
037708,000821: 25,3004           56342        DHOOKYQ7           SR1      DDV                                   #  SUBROUTINE TO CALC DHOOK OR Q7)
037709,000822: 25,3005           03616                                    FACT1                                 
037710,000823: 25,3006           72421                           BDSU     SL1                                   
037711,000824: 25,3007           15333                                    HALVE                                 
037712,000825: 25,3010           45316                           DSQ      DSU                                   
037713,000826: 25,3011           03704                                    ALP                                   
037714,000827: 25,3012           43471                           DDV      RVQ                                   
037715,000828: 25,3013           03620                                    FACT2                                 
037716,000829: 

Page 863

037718,000831:                                                                                                  #  COME TO PRE-HUNT WHEN RESTART OCCURS AFTER
037719,000832:                                                                                                  #  HUNTEST IS SIDE-TRACKED AT SIDETRAK.
037720,000833:                                                                                                  #  PICK UP IN GROUP 4.
037721,000834: 
037722,000835: 25,3014           06006        PRE-HUNT           TC       INTPRET                               
037723,000836: 25,3015           45014                           CLEAR    CALL                                  
037724,000837: 25,3016           03271                                    HIND                                  #  HIND  99D BIT 6 FLAG 6
037725,000838: 25,3017           53022                                    FOREHUNT                              #  RE-INITIALIZE HUNTEST AFTER RE-START.
037726,000839: 25,3020           77650                           GOTO                                           
037727,000840: 25,3021           52373                                    HUNTEST                               
037728,000841: 
037729,000842: 25,3022           77745        FOREHUNT           DLOAD                                          #  INITIALIZE HUNTEST.
037730,000843: 25,3023           15335                                    3ZEROS                                
037731,000844: 25,3024           17612                           STODL    DIFFOLD                               
037732,000845: 25,3025           15157                                    DLEWD0                                
037733,000846: 25,3026           17642                           STODL    DLEWD                                 
037734,000847: 25,3027           15151                                    LEWD1                                 
037735,000848: 25,3030           03725                           STORE    LEWD                                  
037736,000849: 25,3031           77616                           RVQ                                            
037737,000850: 
037738,000851: 25,3032           53576        ADENDEXT           CADR     ENDEXIT                               
037739,000852: 

Page 864

037741,000854:                                                                                                  #  * START       UP CONTROL ...
037742,000855:                                                                                                  #  MM = 65
037743,000856: 25,3033           77634        GOTOUPSY           RTB                                            #  END OF HUNTEST
037744,000857: 25,3034           54441                                    P65                                   #  HUNTEST USE OF GRP4 IS DISABLED BY P65
037745,000858:                                                                                                  #  USE FOR DISPLAY.
037746,000859:                                                                                                  #  SET MODE = UPCONTRL.
037747,000860:                                                                                                  #  RETURN FROM P65 DIRECTLY TO UPCONTRL
037748,000861:                                                                                                  #  VIA THE GOTOADDR AT REFAZE10.
037749,000862: 
037750,000863: 25,3035           45345        UPCONTRL           DLOAD    DSU                                   #  IF D-140 POS, NOSWITCH =1
037751,000864: 25,3036           03640                                    D                                     #  (SUPPRESS LATERAL SWITCH)
037752,000865: 25,3037           15221                                    C21                                   
037753,000866: 25,3040           43040                           BMN      SET                                   
037754,000867: 25,3041           53043                                    +2                                    
037755,000868: 25,3042           03070                                    NOSWITCH                              
037756,000869: 
037757,000870: 25,3043           45345                           DLOAD    DSU                                   #  IF V-V1 POS, GO TO DOWN CONTROL.
037758,000871: 25,3044           03674                                    V                                     
037759,000872: 25,3045           00326                                    V1                                    
037760,000873: 25,3046           71244                           BPL      DLOAD                                 
037761,000874: 25,3047           53260                                    DOWNCNTL                              
037762,000875: 25,3050           03640                                    D                                     
037763,000876: 25,3051           50025                           DSU      BMN                                   #  IF D- Q7 NEG, GO TO KEP
037764,000877: 25,3052           03175                                    Q7                                    
037765,000878: 25,3053           53313                                    KEP                                   
037766,000879: 25,3054           51145                           DLOAD    BPL                                   #  IF RDOT NEG, DO VLTEST
037767,000880: 25,3055           03700                                    RDOT                                  
037768,000881: 25,3056           53065                                    CONT1                                 
037769,000882: 
037770,000883: 25,3057           45345        VLTEST             DLOAD    DSU                                   #  IF V-VL-C18 NEG,EGSW=1,MODE=PREDICT3
037771,000884: 25,3060           03674                                    V                                     
037772,000885: 25,3061           03767                                    VL                                    
037773,000886: 25,3062           50025                           DSU      BMN                                   
037774,000887: 25,3063           15165                                    C18                                   
037775,000888: 25,3064           53333                                    PREFINAL                              
037776,000889: 
037777,000890: 25,3065           77745        CONT1              DLOAD                                          #  IF D-A0 POS, L/D = LAD, GO TO LIMITL/D
037778,000891: 25,3066           03640                                    D                                     
037779,000892: 25,3067           50025                           DSU      BMN                                   
037780,000893: 25,3070           00330                                    A0                                    
037781,000894: 25,3071           53075                                    CONT3                                 
037782,000895: 25,3072           52145                           DLOAD    GOTO                                  
037783,000896: 25,3073           03624                                    LAD                                   
037784,000897: 25,3074           53525                                    STOREL/D                              
037785,000898: 
037786,000899: 25,3075           41345        CONT3              DLOAD    DMP                                   #  VREF=FACT1(1-SQRT(FACT2 D + ALP))
037787,000900: 25,3076           03640                                    D                                     
037788,000901: 25,3077           03620                                    FACT2                                 

Page 865

037790,000903: 25,3100           75415                           DAD      SQRT                                  
037791,000904: 25,3101           03704                                    ALP                                   
037792,000905: 25,3102           41221                           BDSU     DMP                                   
037793,000906: 25,3103           17372                                    BARELY1                               
037794,000907: 25,3104           03616                                    FACT1                                 
037795,000908: 25,3105           01160                           STORE    VREF                                  #  VREF / 2VS
037796,000909: 
037797,000910: 25,3106           41221                           BDSU     DMP                                   #  RDOTREF = LEWD(V1-VREF)
037798,000911: 25,3107           00326                                    V1                                    
037799,000912: 25,3110           03725                                    LEWD                                  
037800,000913: 25,3111           15156                           STODL    RDOTREF                               #  RDOTREF / 2VS
037801,000914: 
037802,000915: 25,3112           03672                                    VS1                                   
037803,000916: 25,3113           50025                           DSU      BMN                                   #  IF VSAT-VREF NEG, GO TO CONTINU2
037804,000917: 25,3114           01160                                    VREF                                  
037805,000918: 25,3115           53134                                    CONTINU2                              
037806,000919: 
037807,000920: 25,3116           41406                           PUSH     PUSH                                  #  VS1-VREF  TO PDL TWICE
037808,000921: 25,3117           56205                           DMP      DDV                                   #  RDHOOK=CH1(1+DV AHOOKDV/DVL) DV DV
037809,000922: 25,3120           03660                                    AHOOKDV                               #        /DHOOK VREF
037810,000923: 25,3121           03662                                    DVL                                   #  WHERE  DV = (VS1-VREF)
037811,000924: 25,3122           41215                           DAD      DMP                                   
037812,000925: 25,3123           17366                                    1/16TH                                
037813,000926: 25,3124           15255                                    CH1                                   
037814,000927: 25,3125           41205                           DMP      DMP                                   
037815,000928:                                                                                                  #  VS1-VREF  FROM PDL TWICE.
037816,000929: 25,3126           77671                           DDV                                            
037817,000930: 25,3127           03656                                    DHOOK                                 
037818,000931: 25,3130           44271                           DDV      BDSU                                  
037819,000932: 25,3131           01160                                    VREF                                  
037820,000933: 25,3132           01156                                    RDOTREF                               #  C(RDOTREF)= LEWD (V1-VREF)
037821,000934: 25,3133           01156                           STORE    RDOTREF                               #  RDOTREF = RDOTREF - RDHOOK
037822,000935: 
037823,000936: 25,3134           45345        CONTINU2           DLOAD    DSU                                   
037824,000937: 25,3135           03640                                    D                                     
037825,000938: 25,3136           15313                                    Q7MIN                                 
037826,000939: 25,3137           50004                           BOVB     BMN                                   
037827,000940: 25,3140           57352                                    TCDANZIG                              #  CLEAR OVFL IND, IF ON.
037828,000941: 25,3141           53152                                    UPCNTRL3                              
037829,000942: 25,3142           45345                           DLOAD    DSU                                   
037830,000943: 25,3143           03664                                    A1                                    
037831,000944: 25,3144           03175                                    Q7                                    
037832,000945: 25,3145           45325                           PDDL     DSU                                   
037833,000946: 25,3146           03640                                    D                                     
037834,000947: 25,3147           03175                                    Q7                                    
037835,000948: 25,3150           45471                           DDV      STADR                                 
037836,000949: 25,3151           74163                           STORE    FACTOR                                #  FACTOR / 25G
037837,000950: 

Page 866

037839,000952:                                                                                                  #  SKIPPER
037840,000953:                                                                                                  #  DELTA L/D=-((RDOT-RDOTREF)F1 KB1+V-VREF)F1 KB2
037841,000954:                                                                                                  #        WHERE F1 = FACTOR
037842,000955: 
037843,000956: 25,3152           77745        UPCNTRL3           DLOAD                                          
037844,000957: 25,3153           03700                                    RDOT                                  
037845,000958: 25,3154           41225                           DSU      DMP                                   #  L/D = LEWD
037846,000959: 25,3155           01156                                    RDOTREF                               #  -((RDOT-RDOTREF)F1/KB1+V-VREF)F1/KB2
037847,000960: 25,3156           03614                                    FACTOR                                
037848,000961: 25,3157           43271                           DDV      DAD                                   
037849,000962: 25,3160           15211                                    1/KB1                                 
037850,000963: 25,3161           03674                                    V                                     
037851,000964: 25,3162           41225                           DSU      DMP                                   
037852,000965: 25,3163           01160                                    VREF                                  
037853,000966: 25,3164           03614                                    FACTOR                                
037854,000967: 25,3165           41471                           DDV      PUSH                                  
037855,000968: 
037856,000969: 25,3166           15213                                    -1/KB2                                #  DELTA L/D INTO PDL
037857,000970: 25,3167           51400                           BOV      ABS                                   #  NONLINEAR CIRCUIT FOR REDUCING HIGH GAIN
037858,000971: 25,3170           53472                                    GOMAXL/D                              
037859,000972: 25,3171           50025                           DSU      BMN                                   
037860,000973: 25,3172           15275                                    PT1/16                                
037861,000974: 25,3173           53200                                    NEXT1                                 
037862,000975: 25,3174           43205                           DMP      DAD                                   
037863,000976: 25,3175           15153                                    POINT1                                
037864,000977: 25,3176           15275                                    PT1/16                                
037865,000978: 25,3177           41565                           SIGN     PUSH                                  #  ATTACH SIGN OF PUSH TO MPAC THEN PUSH
037866,000979: 
037867,000980: 25,3200           42545        NEXT1              DLOAD    SL4                                   
037868,000981:                                                                                                  #  DELTA L/D FROM PDL.
037869,000982: 
037870,000983: 25,3201           77615                           DAD                                            
037871,000984: 25,3202           03725                                    LEWD                                  
037872,000985: 25,3203           41400        NEGTESTS           BOV      PUSH                                  #  L/D TO PDL FOR USE IN NEGTESTS.
037873,000986: 25,3204           53472                                    GOMAXL/D                              
037874,000987: 25,3205           17634                           STODL    L/D                                   
037875,000988:                                                                                                  #  IF D-C20 POS, LATSW =0
037876,000989:                                                                                                  #  AND IF L/D NEG, L/D = 0.
037877,000990: 25,3206           03640                                    D                                     
037878,000991: 25,3207           50025                           DSU      BMN                                   
037879,000992: 25,3210           15217                                    C20                                   
037880,000993: 25,3211           53526                                    LIMITL/D                              
037881,000994: 25,3212           71214                           CLEAR    DLOAD                                 
037882,000995: 25,3213           03273                                    LATSW                                 #  =21D.  ROLL OVER TOP, REGARDLESS.
037883,000996:                                                                                                  #  L/D FROM PDL.
037884,000997: 25,3214           71244                           BPL      DLOAD                                 
037885,000998: 25,3215           53526                                    LIMITL/D                              
037886,000999: 25,3216           15335                                    3ZEROS                                
037887,001000: 25,3217           37634                           STCALL   L/D                                   
037888,001001: 25,3220           53526                                    LIMITL/D                              #  (GO TO)
037889,001002: 

Page 867

037891,001004: 25,3221           77745        DCONSTD            DLOAD                                          #  TWO RANGER ENTRIES TO CONSTD HERE
037892,001005: 25,3222           03610                                    DIFF                                  
037893,001006:                                                                                                  #  SAVE OLD VALUE OF DIFF FOR NEXT PASS.
037894,001007: 25,3223           17612                           STODL    DIFFOLD                               #  DIFFOLD / 2 PI
037895,001008: 
037896,001009: 25,3224           15177                                    Q7F                                   
037897,001010: 25,3225           03175                           STORE    Q7                                    
037898,001011: 
037899,001012: 25,3226           47131        BECONSTD           SSP      RTB                                   #  A HUNTEST ENTRY INTO CONSTD.
037900,001013: 25,3227           03646                                    GOTOADDR                              #  RESET MODE TO HUNTEST
037901,001014: 25,3230           52373                                    HUNTEST                               
037902,001015: 25,3231           54506                                    KILLGRP4                              #  DEACTIVATE GRP4 FROM HUNTEST.
037903,001016: 
037904,001017: 25,3232           77604        CONSTD             BOVB                                           
037905,001018: 25,3233           57352                                    TCDANZIG                              #  CLEAR OVF IND IF ON.
037906,001019: 
037907,001020: 25,3234           41345                           DLOAD    DMP                                   
037908,001021: 25,3235           03654                                    LEQ                                   
037909,001022: 25,3236           03706                                    C/D0                                  #  C/D0 = -4/D0 B-8
037910,001023: 25,3237           41325                           PDDL     DMP                                   #  LEQ C/D0 INTO PDL
037911,001024: 25,3240           15263                                    2HS                                   #  2HS / 4 VS VS
037912,001025: 25,3241           03710                                    D0                                    
037913,001026: 25,3242           43271                           DDV      DAD                                   #  RDOTREF = -2 HS D0/V
037914,001027: 25,3243           03674                                    V                                     
037915,001028: 25,3244           03700                                    RDOT                                  
037916,001029: 25,3245           43205                           DMP      DAD                                   
037917,001030: 25,3246           15227                                    K2D                                   #  C/D0 LEQ + K2D(RDOT-RDOTREF) INTO PD
037918,001031: 25,3247           77725                           PDDL                                           
037919,001032: 25,3250           03710                                    D0                                    #  D0 /805
037920,001033: 
037921,001034: 25,3251           77621        CONSTD1            BDSU                                           #  ENTER WITH DREF IN MPAC
037922,001035: 25,3252           03640                                    D                                     
037923,001036: 25,3253           43205                           DMP      DAD                                   
037924,001037: 25,3254           15225                                    K1D                                   #  K2D TERM FROM PUSH
037925,001038: 25,3255           52061                           SL       GOTO                                  
037926,001039: 25,3256           20211                                    8D                                    
037927,001040: 25,3257           53203                                    NEGTESTS                              #  (GO TO)
037928,001041: 
037929,001042: 25,3260           77604        DOWNCNTL           BOVB                                           #  INITIAL PART OF UPCONTROL.
037930,001043: 25,3261           57352                                    TCDANZIG                              #  CLEAR OVFIND, IF ON.
037931,001044: 
037932,001045: 25,3262           54345                           DLOAD    SR                                    
037933,001046: 25,3263           03624                                    LAD                                   
037934,001047: 25,3264           20611                                    8D                                    
037935,001048: 25,3265           45325                           PDDL     DSU                                   #  RDTR = LAD(V1-V)
037936,001049: 25,3266           03674                                    V                                     
037937,001050: 25,3267           00326                                    V1                                    
037938,001051: 25,3270           43205                           DMP      DAD                                   
037939,001052: 25,3271           03624                                    LAD                                   

Page 868

037941,001054: 25,3272           03700                                    RDOT                                  
037942,001055: 25,3273           43205                           DMP      DAD                                   
037943,001056: 25,3274           15227                                    K2D                                   
037944,001057:                                                                                                  #  PUSH UP LAD.
037945,001058: 25,3275           45325                           PDDL     DSU                                   #  LAD + K2D(RDOT-RDTR) INTO PD
037946,001059: 25,3276           00326                                    V1                                    
037947,001060: 25,3277           03674                                    V                                     
037948,001061: 25,3300           41316                           DSQ      DMP                                   
037949,001062: 25,3301           03624                                    LAD                                   
037950,001063: 25,3302           65271                           DDV      PDDL                                  #  (V1-V)SQ LAD/(2 C1 HS) INTO PD
037951,001064: 25,3303           15273                                    2C1HS                                 
037952,001065: 25,3304           00326                                    V1                                    
037953,001066: 25,3305           56316                           DSQ      DDV                                   
037954,001067: 25,3306           03622                                    VSQUARE                               
037955,001068: 25,3307           45265                           BDDV     DSU                                   #  DREF = (V/V1)SQ A0 - PD
037956,001069: 25,3310           00330                                    A0                                    
037957,001070:                                                                                                  #  PUSH UP HERE
037958,001071: 25,3311           77650                           GOTO                                           #  C(MPAC) = DREF
037959,001072: 25,3312           53251                                    CONSTD1                               
037960,001073: 
037961,001074:                                                                                                  #               2           2
037962,001075:                                                                                                  #  DREF = (V/V1)  A0 -(V-V1)  LAD/2 C1 HS

Page 869

037964,001077:                                                                                                  #  * START       BALLISTIC PHASE ...
037965,001078:                                                                                                  #  MM = 66       UPCONTRL ENTRY INTO KEP2.
037966,001079: 25,3313           66234        KEP                RTB      SSP                                   
037967,001080: 25,3314           54474                                    P66                                   #  DISPLAY TRIM GIMBAL ANGLE VALUES.
037968,001081: 25,3315           03646                                    GOTOADDR                              #  SET GOTOADDR TO KEPLER PHASE.
037969,001082: 25,3316           53317                                    KEP2                                  
037970,001083: 
037971,001084:                                                                                                  #  KEP2 CAN ALSO BE STARTED UP DIRECTLY FROM INITROLL
037972,001085:                                                                                                  #  IN P64.  PROGRAM WILL IDLE IN P64 UNTIL D EXCEEDS
037973,001086:                                                                                                  #  .2 G BEFORE GOING ON TO P67.
037974,001087: 
037975,001088: 25,3317           45345        KEP2               DLOAD    DSU                                   #  IF Q7F+KDMIN -D NEG, GO TO FINAL PHASE.
037976,001089: 25,3320           15167                                    Q7FKDMIN                              #  (Q7F + KDMIN)/805
037977,001090: 25,3321           03640                                    D                                     
037978,001091: 25,3322           72240                           BMN      TLOAD                                 
037979,001092: 25,3323           53333                                    PREFINAL                              
037980,001093:                                                                                                  #  SET ROLLHOLD = ROLLC, IN CASE CMDAPMOD
037981,001094: 25,3324           03316                                    ROLLC                                 #  = +1 EVER ENTERED.
037982,001095: 25,3325           72214                           BON      TLOAD                                 #  IF D > .05G, KEEP PRESENT ROLL COMMAND.
037983,001096: 25,3326           03314                                    .05GSW                                #  IF D < .05G, SET ROLL COMMAND = 0.
037984,001097: 25,3327           53331                                    +2                                    
037985,001098: 25,3330           15335                                    3ZEROS                                #  SET ROLLC & ROLLHOLD =0.
037986,001099: 25,3331           37316                 +2        STCALL   ROLLC                                 #  (SP ROLLHOLD FOLLOWS DP ROLLC)
037987,001100: 25,3332           54401                                    P62.3                                 #  CALC DESIRED GIMBAL ANGLES AT PRESENT
037988,001101:                                                                                                  #  RN, VN TO YIELD TRIM ATTITUDE.
037989,001102:                                                                                                  #  AVAILABLE IN CPHI'S FOR N22.

Page 870

037991,001104:                                                                                                  #  START FINAL PHASE ..
037992,001105:                                                                                                  #  MM = 67
037993,001106: 25,3333           47131        PREFINAL           SSP      RTB                                   
037994,001107: 25,3334           03646                                    GOTOADDR                              #  RESTART PROTECT: RESET GOTOADDR IF CAME
037995,001108: 25,3335           53333                                    PREFINAL                              #  FROM HUNTEST.
037996,001109: 25,3336           54500                                    P67                                   #  DISABLES GRP4.  FINE IF FROM HUNTEST. BUT 
037997,001110:                                                                                                  #  MAY ALSO REMOVE RESTART PROTECTION OF
037998,001111:                                                                                                  #  N69 (P65).
037999,001112:                                                                                                  #  ROLLC         XRNGERR         DNRNGERR
038000,001113:                                                                                                  #  XXX.XX DEG    XXXX.X NM       XXXX.X NM
038001,001114: 
038002,001115: 25,3337           66214                           SET      SSP                                   
038003,001116: 25,3340           03067                                    EGSW                                  
038004,001117: 25,3341           03646                                    GOTOADDR                              
038005,001118: 25,3342           53343                                    PREDICT3                              
038006,001119: 
038007,001120: 25,3343           45345        PREDICT3           DLOAD    DSU                                   #  IF V-VQUIT NEG, STOP STEERING
038008,001121: 25,3344           03674                                    V                                     
038009,001122: 25,3345           15215                                    VQUIT                                 
038010,001123: 25,3346           77440                           BMN      EXIT                                  
038011,001124: 25,3347           53613                                    STEEROFF                              
038012,001125: 
038013,001126: 25,3350           35060                           CA       EBENTRY                               #  PRECAUTIONARY.
038014,001127: 25,3351           54003                           TS       EBANK                                 
038015,001128: 
038016,001129: 25,3352           35771                           CA       TWELVE                                
038017,001130: 25,3353           55771        BACK               TS       JJ                                    
038018,001131: 
038019,001132: 25,3354           41673                           CS       V                                     
038020,001133: 25,3355           51771                           INDEX    JJ                                    
038021,001134: 25,3356           63637                           AD       VREFER                                #  VREF - V, HIGHEST VREF AT END OF TABLE.
038022,001135: 25,3357           10000                           CCS      A                                     #  IF VREF-V POS LOOP BACK
038023,001136: 25,3360           11771                           CCS      JJ                                    #  DECREMENT JJ, JJ CANNOT BE ZERO
038024,001137: 25,3361           13353                           TCF      BACK                                  
038025,001138: 25,3362           65017                           AD       ONE                                   
038026,001139: 25,3363           55646                           TS       TEM1B                                 #  V-VREF IN TEM1B (MUST BE POSITIVE NUM)
038027,001140: 
038028,001141: 25,3364           51771                           INDEX    JJ                                    
038029,001142: 25,3365           43637                           CS       VREFER                                
038030,001143: 25,3366           51771                           INDEX    JJ                                    
038031,001144: 25,3367           63640                           AD       VREFER     +1                         #  V(K+1) - V(K)                 (POS NUM)
038032,001145: 25,3370           57646                           XCH      TEM1B                                 
038033,001146: 25,3371           22007                           ZL                                             
038034,001147: 25,3372           00006                           EXTEND                                         
038035,001148: 25,3373           11646                           DV       TEM1B                                 
038036,001149: 25,3374           55651                           TS       GRAD                                  #  GRAD = (V-VREF)/(VK+1 - VK)   (POS NUM
038037,001150: 
038038,001151: 25,3375           35022                           CAF      FIVE                                  
038039,001152: 

Page 871

038041,001154: 25,3376           55650        BACK2              TS       MM                                    
038042,001155: 25,3377           35025                           CAF      THIRTEEN                              
038043,001156: 25,3400           27771                           ADS      JJ                                    
038044,001157: 25,3401           50000                           INDEX    A                                     
038045,001158: 25,3402           43637                           CS       VREFER                                
038046,001159: 25,3403           51771                           INDEX    JJ                                    
038047,001160: 25,3404           63640                           AD       VREFER     +1                         #  X(K+1) - X(K)
038048,001161: 25,3405           00006                           EXTEND                                         
038049,001162: 25,3406           71651                           MP       GRAD                                  
038050,001163: 25,3407           51771                           INDEX    JJ                                    
038051,001164: 25,3410           63637                           AD       VREFER                                
038052,001165: 25,3411           51650                           INDEX    MM                                    
038053,001166: 25,3412           55652                           TS       FX                                    #  FX = AK + GRAD (AK+1 - AK)
038054,001167: 25,3413           11650                           CCS      MM                                    
038055,001168: 25,3414           13376                           TCF      BACK2                                 
038056,001169: 25,3415           57653                           XCH      FX         +1                         #  ZERO FX +1 AND GET DREFR
038057,001170: 25,3416           61637                           AD       D                                     
038058,001171: 25,3417           00006                           EXTEND                                         
038059,001172: 25,3420           71657                           MP       FX         +5                         #  F1
038060,001173: 25,3421           52155                           DXCH     MPAC                                  #  MPAC = F1(D-DREF)
038061,001174: 
038062,001175: 25,3422           00006                           EXTEND                                         
038063,001176: 25,3423           41700                           DCS      RDOT                                  #  FORM RDOTREF - RDOT
038064,001177: 25,3424           20001                           DDOUBL                                         
038065,001178: 25,3425           20001                           DDOUBL                                         
038066,001179: 25,3426           20001                           DDOUBL                                         #  SCALE UP BY 8 FOR THIS PHASE.
038067,001180: 25,3427           61655                           AD       FX         +3                         #  RDOTREF
038068,001181: 25,3430           00006                           EXTEND                                         
038069,001182: 25,3431           71656                           MP       FX         +4                         #  F2
038070,001183: 25,3432           61654                           AD       FX         +2                         #  RTOGO
038071,001184: 25,3433           20155                           DAS      MPAC                                  #  ADD F2(DADV1-DADVR)
038072,001185: 25,3434           30154                           CA       MPAC                                  
038073,001186: 25,3435           55770                           TS       PREDANG                               
038074,001187:                                                                                                  #  L/D = LOD + (THETA- PREDANG)/ Y
038075,001188: 25,3436           06006                           TC       INTPRET                               
038076,001189: 
038077,001190: 25,3437           45242                           SR3      DSU                                   
038078,001191: 25,3440           03702                                    THETAH                                
038079,001192: 25,3441           43014                           BON      BOFF                                  
038080,001193: 25,3442           03305                                    GONEPAST                              
038081,001194: 25,3443           53470                                    GONEGLAD                              
038082,001195: 25,3444           03747                                    GONEBY                                
038083,001196: 25,3445           53453                                    HAVDNRNG                              
038084,001197: 25,3446           43145                           DLOAD    SET                                   #  SET GONEPAST IF GONEBY SET & LATCH IN-
038085,001198: 25,3447           13773                                    MAXRNG                                #  DISPLAY = 9999.9 IF GONEBY       PLACE
038086,001199: 25,3450           03065                                    GONEPAST                              
038087,001200: 25,3451           37716                           STCALL   DNRNGERR                              
038088,001201: 25,3452           53470                                    GONEGLAD                              
038089,001202: 
038090,001203: 25,3453           03716        HAVDNRNG           STORE    DNRNGERR                              #  = (PREDANG - THETA) /360

Page 872

038092,001205: 25,3454           77676                           DCOMP                                          #  FALL SHORT IF NEG, OVERSHOOT IF POS
038093,001206: 25,3455           56204                           BOVB     DDV                                   
038094,001207: 25,3456           57352                                    TCDANZIG                              #  CLEAR OVFIND IF ON.
038095,001208: 25,3457           03653                                    FX                                    #  FX= DRANGE/D L/D = Y
038096,001209: 25,3460           40061                           SL       BOV                                   
038097,001210: 25,3461           20206                                    5                                     
038098,001211: 25,3462           53472                                    GOMAXL/D                              
038099,001212: 25,3463           40015                           DAD      BOV                                   
038100,001213: 25,3464           03626                                    LOD                                   
038101,001214: 25,3465           53472                                    GOMAXL/D                              
038102,001215: 25,3466           37634                           STCALL   L/D                                   
038103,001216: 25,3467           53476                                    GLIMITER                              #  (GO TO)
038104,001217: 
038105,001218:                                                                                                  #  GONEGLAD AND GOPOSMAX ENTRY POINTS FOR GLIMITER ...
038106,001219: 
038107,001220: 25,3470           77745        GONEGLAD           DLOAD                                          #  SET L/D = -LAD
038108,001221: 25,3471           13471                                    GONEGLAD                              #  (ANY NEGATIVE NUMBER WILL DO)
038109,001222: 
038110,001223: 25,3472           41234        GOMAXL/D           RTB      DMP                                   #  L/D = LAD SIGN(MPAC)
038111,001224: 25,3473           45712                                    SIGNMPAC                              
038112,001225: 25,3474           03624                                    LAD                                   
038113,001226: 25,3475           03634                           STORE    L/D                                   #  AND FALL INTO GLIMITER SECTION
038114,001227: 
038115,001228: 25,3476           45345        GLIMITER           DLOAD    DSU                                   #  IF GMAX/2-D POS, GO TO LIMITL/D
038116,001229: 25,3477           15161                                    GMAX/2                                
038117,001230: 25,3500           03640                                    D                                     
038118,001231: 25,3501           43244                           BPL      DAD                                   #  IF GMAX  -D NEG, GO TO GOPOSLAD
038119,001232: 25,3502           53526                                    LIMITL/D                              
038120,001233: 25,3503           15161                                    GMAX/2                                
038121,001234: 25,3504           41240                           BMN      DMP                                   
038122,001235: 25,3505           53523                                    GOPOSLAD                              
038123,001236: 25,3506           15263                                    2HS                                   
038124,001237: 25,3507           41325                           PDDL     DMP                                   #  2HS(GMAX-D) INTO PD
038125,001238: 25,3510           03654                                    LEQ                                   
038126,001239: 25,3511           15333                                    1/GMAX                                
038127,001240: 25,3512           41215                           DAD      DMP                                   
038128,001241: 25,3513           03624                                    LAD                                   
038129,001242: 25,3514           56325                           PDDL     DDV                                   #  2HS(GMAX-D) (LEQ/GMAX+LAD) INTO PD
038130,001243: 25,3515           15265                                    2HSGMXSQ                              
038131,001244: 25,3516           03622                                    VSQUARE                               
038132,001245: 25,3517           75415                           DAD      SQRT                                  #  XLIM = SQRT(PD+(2HSGMAX/V)SQ)
038133,001246: 25,3520           51015                           DAD      BPL                                   #  IF RDOT+XLIM POS, GO TO LIMITL/D
038134,001247: 25,3521           03700                                    RDOT                                  
038135,001248: 25,3522           53526                                    LIMITL/D                              
038136,001249: 
038137,001250: 25,3523           77745        GOPOSLAD           DLOAD                                          
038138,001251: 25,3524           03624                                    LAD                                   
038139,001252: 25,3525           03634        STOREL/D           STORE    L/D                                   
038140,001253: 

Page 873

038142,001255: 25,3526           77745        LIMITL/D           DLOAD                                          
038143,001256: 25,3527           03634                                    L/D                                   
038144,001257: 25,3530           17636                           STODL    L/D1                                  
038145,001258: 25,3531           03622                                    VSQUARE                               
038146,001259: 
038147,001260: 25,3532           77614                           BON                                            #  NO LATERAL CONTROL IF PAST TARGET
038148,001261: 25,3533           03305                                    GONEPAST                              
038149,001262: 25,3534           53566                                    L355                                  
038150,001263: 25,3535           43205                           DMP      DAD                                   #  Y= KLAT VSQUARE + LATBIAS
038151,001264: 25,3536           03632                                    KLAT                                  
038152,001265: 25,3537           15243                                    LATBIAS                               #  Y INTO PD
038153,001266: 25,3540           51525        L350               PDDL     ABS                                   #  IF ABS(L/D)-L/DCMINR NEG, GO TO L353
038154,001267: 25,3541           03634                                    L/D                                   
038155,001268: 25,3542           50025                           DSU      BMN                                   
038156,001269: 25,3543           03630                                    L/DCMINR                              
038157,001270: 25,3544           53553                                    L353                                  
038158,001271: 25,3545           75345                           DLOAD    SIGN                                  #  IF K2ROLL LATANG NEG, GO TO L357
038159,001272: 25,3546           03676                                    LATANG                                
038160,001273: 25,3547           03644                                    K2ROLL                                
038161,001274: 25,3550           71240                           BMN      DLOAD                                 
038162,001275: 25,3551           53632                                    L357                                  
038163,001276: 25,3552           41542                           SR1      PUSH                                  #  Y = Y/2
038164,001277: 25,3553           75345        L353               DLOAD    SIGN                                  #  IF LATANG SIGN(K2ROLL)-Y POS, SWITCH
038165,001278: 25,3554           03676                                    LATANG                                
038166,001279: 25,3555           03644                                    K2ROLL                                
038167,001280: 25,3556           77625                           DSU                                            
038168,001281: 25,3557           71240                           BMN      DLOAD                                 
038169,001282: 25,3560           53566                                    L355                                  
038170,001283: 25,3561           03644                                    K2ROLL                                
038171,001284: 25,3562           57414                           BONCLR   DCOMP                                 #  IF NOSWITCH =1, K2ROLL= K2ROLL
038172,001285: 25,3563           03210                                    NOSWITCH                              
038173,001286: 25,3564           53566                                    L355                                  
038174,001287: 25,3565           03644                           STORE    K2ROLL                                #  K2ROLL = -K2ROLL
038175,001288: 
038176,001289: 25,3566           56345        L355               DLOAD    DDV                                   #  ROLLC = ACOS( (L/D1) / LAD)
038177,001290: 25,3567           03636                                    L/D1                                  
038178,001291: 25,3570           03624                                    LAD                                   #  MPAC SET TO +-1 IF OVERFLOW***
038179,001292: 25,3571           65542                           SR1      ACOS                                  
038180,001293: 25,3572           43165                           SIGN     CLEAR                                 
038181,001294: 25,3573           03644                                    K2ROLL                                
038182,001295: 25,3574           03270                                    NOSWITCH                              
038183,001296: 25,3575           03316                           STORE    ROLLC                                 
038184,001297: 
038185,001298: 25,3576           77776        ENDEXIT            EXIT                                           
038186,001299: 
038187,001300: 25,3577           35003        OVERNOUT           CA       BIT13                                 #  ENTRYDSP =92D B13
038188,001301: 25,3600           70102                           MASK     CM/FLAGS                              
038189,001302: 25,3601           00006                           EXTEND                                         
038190,001303: 25,3602           13606                           BZF      NODISKY                               #  OMIT DISPLAY.

Page 874

038192,001305: 25,3603           31263                           CA       ENTRYVN                               #  ALL ENTRY DISPLAYS ARE DONE HERE.
038193,001306: 25,3604           04662                           TC       BANKCALL                              
038194,001307: 25,3605           20712                           CADR     REGODSPR                              #  NO ABORT IF DISKY IN USE
038195,001308: 
038196,001309: 25,3606           00004        NODISKY            INHINT                                         
038197,001310: 25,3607           10067                           CCS      NEWJOB                                #  PROTECT READACCS GRP 5, IF SIDETRACKED.
038198,001311: 25,3610           05164                           TC       CHANG1                                
038199,001312: 25,3611           04701        SERVNOUT           TC       POSTJUMP                              #  ( COME HERE FROM P67.3 )
038200,001313: 25,3612           77227                           CADR     SERVEXIT                              #  AND END AVERAGEG JOB VIA  ENDOFJOB.
038201,001314: 

Page 875

038203,001316:                                                                                                  #  DISPLAY WHEN V IS LESS THAN VQUIT.
038204,001317: 
038205,001318: 25,3613           77776        STEEROFF           EXIT                                           
038206,001319: 25,3614           35060                           CA       EBENTRY                               #  PRECAUTIONARY.
038207,001320: 25,3615           54003                           TS       EBANK                                 
038208,001321: 
038209,001322: 25,3616           35070                           CA       PRIO16                                #  2 LESS THAN NTRYPRIO.
038210,001323: 25,3617           05134                           TC       NOVAC                                 
038211,001324: 25,3620  E6,1661                                  EBANK=   AOG                                   #  ANY EB HERE
038212,001325: 25,3620           02512 54066                     2CADR    P67.1                                 #  START UP REMAINDER OF P67
038213,001326: 
038214,001327:                                                                                                  #  RTOGO         LAT             LONG
038215,001328:                                                                                                  #  XXXX.X NM     XXX.XX DEG      XXX.XX DEG
038216,001329: 
038217,001330: 25,3622           05372                           TC       2PHSCHNG                              #  INHINT/RELINT DONE.
038218,001331: 25,3623           00414                           OCT      00414                                 #  4.41 RESTART FOR P67.1 DISPLAY JOB.
038219,001332: 25,3624           10035                           OCT      10035                                 #  SERVICER 5.3 RESTART.
038220,001333: 
038221,001334: 25,3625           33631                           CA       P67.2CAD                              #  HEREAFTER, DO LAT, LONG.
038222,001335: 25,3626           55645                           TS       GOTOADDR                              
038223,001336: 
038224,001337: 25,3627           06006                           TC       INTPRET                               
038225,001338: 25,3630           77650                           GOTO                                           
038226,001339: 25,3631           54531        P67.2CAD                    P67.2                                 #  CONTINUE FOR LAT, LONG THIS TIME.
038227,001340: 
038228,001341: 25,3632           75345        L357               DLOAD    SIGN                                  #  L/D = L/DCMINR SIGN(L/D)
038229,001342: 25,3633           03630                                    L/DCMINR                              
038230,001343: 25,3634           03634                                    L/D                                   
038231,001344: 25,3635           37636                           STCALL   L/D1                                  
038232,001345: 25,3636           53566                                    L355                                  #  (GO TO)
038233,001346: 

Page 876

038235,001348:                                                                                                  #  TABLE USED FOR SUB-ORBITAL REFERENCE TRAJECTORY CONTROL.
038236,001349: 
038237,001350: 25,3637           00474        VREFER             DEC      .019288                               #  REFERENCE VELOCITY SCALED V/51532.3946
038238,001351: 25,3640           01235                           DEC      .040809                               #  13 POINTS ARE STORED AS THE INDEPENDENT
038239,001352: 25,3641           02337                           DEC      .076107                               #  VARIABLE AND THEN SIX 13 POINT FUNCTIONS
038240,001353: 25,3642           03721                           DEC      .122156                               #  OF V ARE STORED CONSECUTIVELY
038241,001354: 25,3643           05230                           DEC      .165546                               
038242,001355: 25,3644           06213                           DEC      .196012                               
038243,001356: 25,3645           10550                           DEC      .271945                               
038244,001357: 25,3646           11717                           DEC      .309533                               
038245,001358: 25,3647           13314                           DEC      .356222                               
038246,001359: 25,3650           14736                           DEC      .404192                               
038247,001360: 25,3651           16255                           DEC      .448067                               
038248,001361: 25,3652           16457                           DEC      .456023                               
038249,001362: 25,3653           25570                           DEC      .67918                                #  HIGHVELOCITY FOR SAFETY
038250,001363: 
038251,001364: 25,3654           77526                           DEC      -.010337                              #  DRANGE/DA     SCALED DRDA/(2700/805)
038252,001365: 25,3655           77360                           DEC      -.016550                              
038253,001366: 25,3656           77106                           DEC      -.026935                              
038254,001367: 25,3657           76516                           DEC      -.042039                              
038255,001368: 25,3660           76071                           DEC      -.058974                              
038256,001369: 25,3661           75570                           DEC      -.070721                              
038257,001370: 25,3662           74661                           DEC      -.098538                              
038258,001371: 25,3663           74436                           DEC      -.107482                              
038259,001372: 25,3664           73212                           DEC      -.147762                              
038260,001373: 25,3665           71640                           DEC      -.193289                              
038261,001374: 25,3666           54557                           DEC      -.602557                              
038262,001375: 25,3667           40000                           DEC      -.99999                               
038263,001376: 25,3670           40000                           DEC      -.99999                               
038264,001377: 
038265,001378: 25,3671           77635                           DEC      -.0478599  B-3                        #  -DRANGE/DRDOT
038266,001379: 25,3672           77563                           DEC      -.0683663  B-3                        #  SCALED ((2VS/8 2700) DR/DRDOT)
038267,001380: 25,3673           77354                           DEC      -.1343468  B-3                        
038268,001381: 25,3674           76712                           DEC      -.2759846  B-3                        
038269,001382: 25,3675           76066                           DEC      -.4731437  B-3                        
038270,001383: 25,3676           75322                           DEC      -.6472087  B-3                        
038271,001384: 25,3677           73237                           DEC      -1.171693  B-3                        
038272,001385: 25,3700           72104                           DEC      -1.466382  B-3                        
038273,001386: 25,3701           70301                           DEC      -1.905171  B-3                        
038274,001387: 25,3702           65635                           DEC      -2.547990  B-3                        
038275,001388: 25,3703           57311                           DEC      -4.151220  B-3                        
038276,001389: 25,3704           50575                           DEC      -5.813617  B-3                        
038277,001390: 25,3705           50575                           DEC      -5.813617  B-3                        
038278,001391: 

Page 877

038280,001393: 25,3706           74443                           DEC      -.0134001  B3                         #  RDOTREF       SCALED (8 RDT/2VS)
038281,001394: 25,3707           74333                           DEC      -.013947   B3                         
038282,001395: 25,3710           74433                           DEC      -.013462   B3                         
038283,001396: 25,3711           74763                           DEC      -.011813   B3                         
038284,001397: 25,3712           75432                           DEC      -.0095631  B3                         
038285,001398: 25,3713           75735                           DEC      -.00806946 B3                         
038286,001399: 25,3714           76200                           DEC      -.006828   B3                         
038287,001400: 25,3715           75735                           DEC      -.00806946 B3                         
038288,001401: 25,3716           75140                           DEC      -.0109791  B3                         
038289,001402: 25,3717           74075                           DEC      -.0151498  B3                         
038290,001403: 25,3720           73312                           DEC      -.0179817  B3                         
038291,001404: 25,3721           73732                           DEC      -.0159061  B3                         
038292,001405: 25,3722           73732                           DEC      -.0159061  B3                         
038293,001406: 
038294,001407: 25,3723           00015                           DEC      .0008067                              #  RANGE TO GO SCALED RTOGO/2700
038295,001408: 25,3724           00066                           DEC      .0032963                              #        8.9
038296,001409: 25,3725           00206                           DEC      .0081852                              #        22.1
038297,001410: 25,3726           00431                           DEC      .017148                               
038298,001411: 25,3727           00712                           DEC      .027926                               
038299,001412: 25,3730           01136                           DEC      .037                                  
038300,001413: 25,3731           02015                           DEC      .063298                               
038301,001414: 25,3732           02374                           DEC      .077889                               
038302,001415: 25,3733           03123                           DEC      .098815                               
038303,001416: 25,3734           04051                           DEC      .127519                               
038304,001417: 25,3735           05767                           DEC      .186963                               
038305,001418: 25,3736           07476                           DEC      .238148                               
038306,001419: 25,3737           11324                           DEC      .294185185                            
038307,001420: 
038308,001421: 25,3740           76272                           DEC      -.051099                              #  -AREF/805
038309,001422: 25,3741           75472                           DEC      -.074534                              
038310,001423: 25,3742           74604                           DEC      -.101242                              
038311,001424: 25,3743           74210                           DEC      -.116646                              
038312,001425: 25,3744           74052                           DEC      -.122360                              
038313,001426: 25,3745           73735                           DEC      -.127081                              
038314,001427: 25,3746           73217                           DEC      -.147453                              
038315,001428: 25,3747           73013                           DEC      -.155528                              
038316,001429: 25,3750           73155                           DEC      -.149565                              
038317,001430: 25,3751           74151                           DEC      -.118509                              
038318,001431: 25,3752           76703                           DEC      -.034907                              
038319,001432: 25,3753           77575                           DEC      -.007950                              
038320,001433: 25,3754           77575                           DEC      -.007950                              
038321,001434: 

Page 878

038323,001436: 25,3755           00112                           DEC      .004491                               #  DRANGE/D L/D SCALED Y/2700
038324,001437: 25,3756           00204                           DEC      .008081                               
038325,001438: 25,3757           00407                           DEC      .016030                               
038326,001439: 25,3760           01113                           DEC      .035815                               
038327,001440: 25,3761           02161                           DEC      .069422                               
038328,001441: 25,3762           03260                           DEC      .104519                               
038329,001442: 25,3763           03717                           DEC      .122                                  
038330,001443: 25,3764           05411                           DEC      .172407                               
038331,001444: 25,3765           10057                           DEC      .252852                               
038332,001445: 25,3766           13476                           DEC      .363148                               
038333,001446: 25,3767           20324                           DEC      .512963                               
038334,001447: 25,3770           21677                           DEC      .558519                               
038335,001448: 25,3771           21677                           DEC      .558519                               #  END OF STORED REFERENCE
038336,001449: 

Page 879

038338,001451:                                                                                                  #  REENTRY CONSTANTS.
038339,001452: 
038340,001453:                                                                                                  #  DEFINED BY EQUALS
038341,001454: 
038342,001455: 25,3772     5026               DEC15              =        LOW4                                  
038343,001456:                                                                                                  # GAMMAL1        =       22D
038344,001457: 
038345,001458: 25,3772           16631 06755  MAXRNG             2OCT     1663106755                            #  DNRNGERR = 9999.9 IF GONEPAST=1
038346,001459: 
038347,001460: 26,3145                                           BANK     26                                    
038348,001461: 26,2000                                           SETLOC   REENTRY1                              
038349,001462: 26,2000                                           BANK                                           
038350,001463: 
038351,001464: 26,3145                                           COUNT*   $$/ENTRY                              
038352,001465: 
038353,001466: 26,3145  27,3371               BARELY1            =        NEARONE                               #  COMMON TO BOTH DISK,DANCE.DEFND IN TFF
038354,001467:                                                                                                  # 1BITDP                                 COMMON TO BOTH DISK AND DANCE. DEFND IN VECPOINT.
038355,001468: 
038356,001469: 26,3145           02525        1/12TH             DEC      .083333                               #  DP 1/12 USES HI WORD IN 1/3 BELOW
038357,001470: 26,3146           12525 12525  1/3RD              2DEC     .3333333333                            #  DP 1/3
038358,001471: 
038359,001472: 26,3150  27,3365               1/16TH             =        DP2(-4)                               
038360,001473: 
038361,001474:                                                                                                  #  BELOW:  VS = VSAT = 25766.1973 FT/SEC
038362,001475: 
038363,001476:                                                                                                  #          RE = 21,202,900 FEET
038364,001477: 
038365,001478: 26,3150           04631 23146  LEWD1              2DEC     .15                                   
038366,001479: 
038367,001480: 26,3152           03146 14632  POINT1             2DEC     .1                                    
038368,001481: 
038369,001482: 26,3154           06314 31463  POINT2             2DEC     .2                                    #  .2
038370,001483: 
038371,001484: 26,3156           76314 71462  DLEWD0             2DEC     -.05                                  #  -.05
038372,001485: 
038373,001486: 26,3160           05075 16051  GMAX/2             2DEC     .16                                   #  8 GS / 2
038374,001487: 
038375,001488: 26,3162  26,3334               3ZEROS             EQUALS   HI6ZEROS                              
038376,001489: 26,3162           07777 00000  NEAR1/4            2OCT     0777700000                            #  1/4 LESS 1 BIT IN UPPER PART.
038377,001490: 
038378,001491: 26,3164           00236 36763  C18                2DEC     .0097026346                            #  500/2VS
038379,001492: 
038380,001493: 26,3166           00204 11303  Q7FKDMIN           2DEC     .0080745342                            #  6.5/805  (Q7F +KDMIN) = 6 + .5)
038381,001494: 
038382,001495: 26,3170  27,3365               C1/16              =        DP2(-4)                               
038383,001496: 
038384,001497: 26,3170           05260 05572  Q3                 2DEC     .167003132                            #  .07 2VS/21600

Page 880

038386,001499: 26,3172           12343 21616  Q5                 2DEC     .326388889                            #  .3 23500/21600
038387,001500: 
038388,001501: 26,3174           01073 31515  Q6                 2DEC     .0349                                 #  2 DEG, APPROX 820/23500
038389,001502: 
038390,001503: 26,3176           00172 03571  Q7F                2DEC     .0074534161                            #  6/805  (VALUE OF Q7 IN FIXED MEM.)
038391,001504: 
038392,001505: 26,3200  26,3332               Q19                =        HALVE                                 #  Q19 = .5
038393,001506: 
038394,001507: 26,3200           00573 10230  Q21                2DEC     .0231481481                            #  500/21600
038395,001508: 
038396,001509: 26,3202           76226 45761  Q22                2DEC     -.053333333                            #  -1152/21600
038397,001510: 
038398,001511: 26,3204           13132 33062  VLMIN              2DEC     .34929485                             #  18000/2 VS
038399,001512: 
038400,001513: 26,3206  26,3324               VMIN               =        FOURTH                                #  (VS/2) / 2VS
038401,001514: 26,3206           00160 05104  C12                2DEC     .00684572901                            #  32 28500/(21202900 2 PI)
038402,001515: 
038403,001516: 26,3210           11322 32265  1/KB1              2DEC     .29411765                             #  1 / 3.4
038404,001517: 
038405,001518: 26,3212           75047 72454  -1/KB2             2DEC     -.0057074322 B4                         #  = -1/(.0034 2 VS) EXP +4
038406,001519: 
038407,001520: 26,3214           00475 35746  VQUIT              2DEC     .019405269                            #  1000 /2VS
038408,001521: 
038409,001522: 26,3216           06751 27515  C20                2DEC     .21739130                             #  (175 FPSS) LIFT UP IF ABOVE C20
038410,001523: 
038411,001524: 26,3220           05441 14412  C21                2DEC     .17391304                             #  140/805
038412,001525: 
038413,001526: 26,3222           00022 36641  25NM               2DEC     .0011574074                            #  25/21600      (25 NAUT MILES)
038414,001527: 
038415,001528: 26,3224           01003 06315  K1D                2DEC     .0314453125                            #  =C16 805/256 = .01 805/256
038416,001529: 
038417,001530: 26,3226           71435 75516  K2D                2DEC     -.201298418                            #  -C17 2VS/256 = -.001 2VS/256
038418,001531: 
038419,001532: 26,3230           32047 24367  KVSCALE            2DEC     .81491944                             #  12800/(2 VS .3048)
038420,001533: 
038421,001534: 26,3232           37200 05636  KASCALE            2DEC     .97657358                             #  5.85 16384/(4 .3048 100 805)
038422,001535: 
038423,001536: 26,3234           00046 13137  KTETA              2DEC*    .383495203 E2         B-14*           #  1000 2PI/16384(163.84)
038424,001537: 
038425,001538: 26,3236           00017 30730  KT1                2DEC*    .157788327 E2         B-14*           #  RE(2PI)/2 VS(16384) 163.84
038426,001539: 
038427,001540: 26,3240           00040 30447  .05G               2DEC     .002                                  #  .05/25
038428,001541: 
038429,001542: 26,3242           00000 17565  LATBIAS            2DEC     .00003                                #  APPRX .5 NM/ 4(21600/2 PI)
038430,001543: 
038431,001544: 26,3244           01727 20103  KWE                2DEC     .120056652 B-1                        
038432,001545: 
038433,001546: 26,3246           00121 17460  KACOS              2DEC     .004973592                            #  1/32(2PI)
038434,001547: 
038435,001548: 26,3250           00400 00000  CHOOK              2DEC     1          B-6                        #  .25/16

Page 881

038437,001550: 26,3252           01252 25253  1/24TH             2DEC     .0833333333 B-1                        
038438,001551: 
038439,001552: 26,3254           24365 30244  CH1                2DEC     .32        B1                         #  16 CH1/25 = 16 (1) /25
038440,001553: 
038441,001554: 26,3256           77152 51354  KC3                2DEC     -.0247622232                            #  -(4 VS VS/ 2 PI 805 RE)
038442,001555: 
038443,001556: 26,3260           00336 21610  VRCONT             2DEC     .0135836886                            #  700/2 VSAT
038444,001557: 
038445,001558: 26,3262  26,3332               HALVE              EQUALS   HIDPHALF                              
038446,001559: 26,3262  26,3324               FOURTH             EQUALS   HIDP1/4                               
038447,001560: 
038448,001561: 26,3262  26,3332               1/GMAX             EQUALS   HALVE                                 #  4/GMAX = 4 / 8
038449,001562: 26,3262           00433 02775  2HS                2DEC     .0172786611                            #  2 28500 25 32.2/(4 VS VS)
038450,001563: 
038451,001564: 26,3264           00000 20017  2HSGMXSQ           2DEC     .0000305717                            #  (2 28500 8 32.2/ 4 VS VS)SQ
038452,001565: 
038453,001566: 26,3266           77765 70243  C001               2DEC     -.000625                              #  -(4/25)/256   LEQ/D0 CONST
038454,001567: 
038455,001568: 26,3270           31463 06315  POINT8             2DEC     .8                                    
038456,001569: 
038457,001570: 26,3272           00541 33575  2C1HS              2DEC     .0215983264                            #  2 1.25 28500 805/(2 VS)SQ
038458,001571: 
038459,001572: 26,3274           00146 14632  PT1/16             2DEC     .1         B-4                        
038460,001573: 
038461,001574: 26,3276           00052 30013  1/K44              2DEC     .00260929464                            #  2 VS/19749550
038462,001575: 
038463,001576: 26,3300           20411 03041  VFINAL             2DEC     .51618016                             #  26600/2 VS
038464,001577: 
038465,001578: 26,3302           20610 10513  VFINAL1            2DEC     .523942273                            #  = 27000 / 2 VS
038466,001579: 
038467,001580: 26,3304           11473 02355  1/KA1              2DEC     .30048077                             #  25/(1.3 64)
038468,001581: 
038469,001582: 26,3306           00203 02234  KA2                2DEC     .008                                  #  .2/25
038470,001583: 
038471,001584: 26,3310           16237 00146  KA3                2DEC     .44720497                             #  = 90 4/805
038472,001585: 
038473,001586: 26,3312           01456 03450  KA4                2DEC     .049689441                            #  40/805
038474,001587: 
038475,001588: 26,3314           01727 01217  KALIM              2DEC     .06                                   #  1.5/25
038476,001589: 
038477,001590: 26,3316  26,3312               Q7MIN              =        KA4                                   #  = 40/805 = .049689441
038478,001591: 26,3316           56232 72332  -HSCALED           2DEC     -.55305018                            #  -28500/2 VS
038479,001592: 
038480,001593: 26,3320           77000 43741  -KSCALE            2DEC     -.0312424837                            #  -805/VS 
038481,001594: 
038482,001595: 26,3322           36702 21727  COS15              2DEC     .965                                  
038483,001596: 
038484,001597: 26,3324  26,3145               LATSLOPE           EQUALS   1/12TH                                
038485,001598:                                                                                                  #  ... END OF RE-ENTRY CONSTANTS ...
038486,001599: 

Page 882 Empty page.


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