Source Code

This is the source-code for the Apollo 9 Command Module's Guidance Computer. These files were derived originally from the scan from MIT's Dibner Institute's now-discontinued website titled "History of Recent Science and Technology", which in turn was originally created by Gary Neff, though his high-quality scans were unfortunately reduced in legibility when presented online. The markings on the front of the printout imply that it was the original AGC developer Norm Brodeur's copy. A scan by Ron Burkey has superceded it, made from a more-legible copy from the collection of original AGC developer Fred Martin. The source code was transcribed from those images by Ron Burkey. Note that the page images presented online are of reduced quality, and that higher-quality images are available. Report any conversion errors or legibility problems in page images to info@sandroid.org. Notations on the program listing read, in part:

	ASSEMBLE REVISION 249 OF AGC PROGRAM COLOSSUS BY NASA 2021111-041
	20'35 OCT. 28,1968
Note that the date is the date of the printout, not the date of the program revision.

035738,000002:                                                                                                  ## Copyright:   Public domain.
035739,000003:                                                                                                  ## Filename:    REENTRY_CONTROL.agc
035740,000004:                                                                                                  ## Purpose:     Part of the source code for Colossus, build 249.
035741,000005:                                                                                                  ##              It is part of the source code for the Command Module's (CM)
035742,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for Apollo 9.
035743,000007:                                                                                                  ## Assembler:   yaYUL
035744,000008:                                                                                                  ## Reference:   pp. 798-835.
035745,000009:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
035746,000010:                                                                                                  ## Website:     www.ibiblio.org/apollo.
035747,000011:                                                                                                  ## Mod history: 08/21/04 RSB.   Began transcribing.
035748,000012:                                                                                                  ##              2010-10-24 JL   Indentation fixes. Added missing # in comment.
035749,000013:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
035750,000014:                                                                                                  ##                              original harcopy, as opposed to the PDF page
035751,000015:                                                                                                  ##                              numbers in 1701.pdf.
035752,000016:                                                                                                  ##              2017-01-18 RSB  Cross-diff'd comment text (not whitespace)
035753,000017:                                                                                                  ##                              vs the already-proofed corresponding Colossus
035754,000018:                                                                                                  ##                              237 and Comanche 55 source-code files
035755,000019:                                                                                                  ##                              and corrected errors found.
035756,000020:                                                                                                  ##
035757,000021:                                                                                                  ## The contents of the "Colossus249" files, in general, are transcribed 
035758,000022:                                                                                                  ## from a scanned copy of the program listing.  Notations on this
035759,000023:                                                                                                  ## document read, in part:
035760,000024:                                                                                                  ##
035761,000025:                                                                                                  ##      Assemble revision 249 of AGC program Colossus by NASA
035762,000026:                                                                                                  ##      2021111-041.  October 28, 1968.  
035763,000027:                                                                                                  ##
035764,000028:                                                                                                  ##      This AGC program shall also be referred to as
035765,000029:                                                                                                  ##                              Colossus 1A
035766,000030:                                                                                                  ##
035767,000031:                                                                                                  ##      Prepared by
035768,000032:                                                                                                  ##                      Massachusetts Institute of Technology
035769,000033:                                                                                                  ##                      75 Cambridge Parkway
035770,000034:                                                                                                  ##                      Cambridge, Massachusetts
035771,000035:                                                                                                  ##      under NASA contract NAS 9-4065.
035772,000036:                                                                                                  ##
035773,000037:                                                                                                  ## Refer directly to the online document mentioned above for further information.
035774,000038:                                                                                                  ## Please report any errors (relative to the scanned pages) to info@sandroid.org.
035775,000039:                                                                                                  ##
035776,000040:                                                                                                  ## In some cases, where the source code for Luminary 131 overlaps that of 
035777,000041:                                                                                                  ## Colossus 249, this code is instead copied from the corresponding Luminary 131
035778,000042:                                                                                                  ## source file, and then is proofed to incorporate any changes.
035779,000043: 

Page 798

035781,000045:                                                                                                  #  ENTRY INITIALIZATION ROUTINE
035782,000046:                                                                                                  #   -----------------------------
035783,000047: 
035784,000048: 25,2000                                           BANK     25                                    
035785,000049: 25,2000                                           SETLOC   REENTRY                               
035786,000050: 25,2000                                           BANK                                           
035787,000051: 
035788,000052: 25,2000                                           COUNT*   $$/ENTRY                              
035789,000053: 25,2000  E7,1451                                  EBANK=   RTINIT                                
035790,000054: 
035791,000055: 25,2000     4753               EBENTRY            =        EBANK7                                
035792,000056: 25,2000     4752               EBAOG              EQUALS   EBANK6                                
035793,000057: 25,2000     4675               NTRYPRIO           EQUALS   PRIO20                                #  (SERVICER)
035794,000058: 25,2000     0102               CM/FLAGS           EQUALS   STATE      +6                         
035795,000059: 
035796,000060: 25,2000           77776        STARTENT           EXIT                                           #  MM = 63
035797,000061: 
035798,000062:                                                                                                  #  COME HERE FROM CM/POSE.  RESTARTED IN CM/POSE.
035799,000063: 25,2001           42113                           CS       ENTMASK                               #  INITIALIZE ALL SWITCHES TO ZERO
035800,000064:                                                                                                  #  EXCEPT LATSW, ENTRYDSP AND GONEPAST.
035801,000065:                                                                                                  #  GONEBY 112D BIT8 FLAG7, SELF INITIALIZING
035802,000066: 25,2002           00004                           INHINT                                         
035803,000067: 25,2003           70102                           MASK     CM/FLAGS                              
035804,000068:                                                                                                  #  ENTRYDSP = 92D B13
035805,000069:                                                                                                  #  GONEPAST=95D B10,     RELVELSW=96D B9
035806,000070:                                                                                                  #  EGSW = 97D B8
035807,000071:                                                                                                  #  HIND=99D B6           INRLSW=100D B5
035808,000072:                                                                                                  #  LATSW=101D B4         .05GSW=102D B3
035809,000073: 
035810,000074: 25,2004           62114                           AD       ENTRYSW                               #  SET ENTRYDSP, LATSW, GONEPAST.
035811,000075: 25,2005           54102                           TS       CM/FLAGS                              
035812,000076: 
035813,000077: 25,2006           00003                           RELINT                                         
035814,000078: 
035815,000079: 25,2007           06006                           TC       INTPRET                               
035816,000080: 
035817,000081: 25,2010           77735                           SLOAD                                          
035818,000082: 25,2011           03011                                    LODPAD                                
035819,000083: 25,2012           03626                           STORE    LOD                                   
035820,000084: 
035821,000085: 25,2013           77735                           SLOAD                                          
035822,000086: 25,2014           03010                                    LADPAD                                
035823,000087: 25,2015           03624                           STORE    LAD                                   
035824,000088: 
035825,000089: 25,2016           77605                           DMP                                            #  L/DCMINR = LAD COS(15)
035826,000090: 25,2017           15320                                    COS15                                 
035827,000091: 25,2020           17630                           STODL    L/DCMINR                              
035828,000092: 25,2021           15145                                    LATSLOPE                              
035829,000093: 25,2022           70405                           DMP      SR1                                   #  KLAT = LAD/24
035830,000094: 25,2023           03624                                    LAD                                   

Page 799

035832,000096: 25,2024           17632                           STODL    KLAT                                  
035833,000097: 25,2025           15176                                    Q7F                                   
035834,000098: 25,2026           17175                           STODL    Q7                                    #  Q7 = Q7F
035835,000099: 25,2027           17363                                    NEARONE                               #  1.0 -1BIT
035836,000100: 25,2030           17614                           STODL    FACTOR                                
035837,000101: 25,2031           03624                                    LAD                                   
035838,000102: 25,2032           57565                           SIGN     DCOMP                                 
035839,000103: 25,2033           03327                                    HEADSUP                               #  MAY BE NOISE FOR DISPLAY P61
035840,000104: 25,2034           37634                           STCALL   L/D                                   #  L/D = - LAD SGN(HEADSUP)
035841,000105: 
035842,000106: 25,2035           52063                                    STARTEN1                              #  RETURN VIA GOTOADDR
035843,000107: 25,2036           47375                           VLOAD    VXV                                   
035844,000108: 25,2037           01177                                    VN                                    #  (-7) M/CS
035845,000109: 25,2040           01760                                    UNITR                                 #  .5 UNIT               REF COORDS
035846,000110: 25,2041           50256                           UNIT     DOT                                   
035847,000111: 25,2042           03474                                    RT                                    #  RT/2 TARGET VECTOR    REF COORDS
035848,000112: 25,2043           03676                           STORE    LATANG                                #  LATANG = UNI.RT /4
035849,000113: 25,2044           47076                           DCOMP    RTB                                   
035850,000114: 25,2045           45707                                    SIGNMPAC                              
035851,000115: 25,2046           17644                           STODL    K2ROLL                                #  K2ROLL = -SGN(LATANG)
035852,000116: 
035853,000117: 25,2047           03624                                    LAD                                   
035854,000118: 25,2050           43205                           DMP      DAD                                   
035855,000119: 25,2051           15200                                    Q21                                   
035856,000120: 25,2052           15202                                    Q22                                   
035857,000121: 25,2053           03712                           STORE    Q2                                    #  Q2 = -1152 + 500 LAD
035858,000122: 
035859,000123: 25,2054           66331                           SSP      SSP                                   
035860,000124: 25,2055           03646                                    GOTOADDR                              #  SET SELECTOR FOR INITIAL PASS
035861,000125: 25,2056           52260                                    INITROLL                              
035862,000126: 25,2057           03325                                    POSEXIT                               
035863,000127: 25,2060           52115                                    SCALEPOP                              #  SET CM/POSE TO CONTINUE AT SCALEPOP
035864,000128: 
035865,000129: 25,2061           77634                           RTB                                            
035866,000130: 25,2062           53603                                    SERVNOUT                              #  OMIT INITIAL DISPLAY, SINCE 1ST GUESSBAD
035867,000131: 
035868,000132:                                                                                                  #  CALCULATE THE INITIAL TARGET VECTOR: RTINIT, ALSO RTEAST, RTNORM AND RT.  ALL ARE .5 UNIT AND IN
035869,000133:                                                                                                  #  REFERENCE COORDINATES.
035870,000134: 
035871,000135: 25,2063           77220        STARTEN1           STQ      VLOAD                                 
035872,000136: 25,2064           03645                                    GOTOADDR                              
035873,000137: 25,2065           03401                                    LAT(SPL)                              #  TARGET COORDINATES
035874,000138: 25,2066           43014                           CLEAR    CLEAR                                 #  DO CALL USING PAD RADIUS.  WILL UNIT IT.
035875,000139: 25,2067           00662                                    ERADFLAG                              #  ANYWAY.
035876,000140: 25,2070           01663                                    LUNAFLAG                              
035877,000141: 25,2071           15104                           STODL    LAT                                   
035878,000142: 25,2072           15332                                    3ZEROS                                
035879,000143: 
035880,000144: 25,2073           15110                           STODL    LAT        +4                         #  SET ALT=0.
035881,000145: 25,2074           01205                                    PIPTIME                               #  ESTABLISH RTINIT AT TIME OF PRESENT

Page 800

035883,000147:                                                                                                  #  RN AND VN.
035884,000148: 25,2075           37524                           STCALL   TIME/RTO                              #  SAVE TIME BASE OF RTINIT.
035885,000149: 25,2076           26373                                    LALOTORV                              #  C(MPAC) =TIME  (PIPTIME)
035886,000150: 25,2077           77656                           UNIT                                           #  ANSWER IN ALPHAV ALSO
035887,000151: 25,2100           17452                           STODL    RTINIT                                #  .5 UNIT TARGET                REF COORDS
035888,000152: 25,2101           12112                                    500SEC                                #  NOMINAL ENTRY TIME FOR P63
035889,000153:                                                                                                  #  TIME/RTO = PIPTIME, STILL.
035890,000154: 25,2102           37606                           STCALL   DTEAROT                               #  INITIALIZE EARROT
035891,000155: 25,2103           46215                                    EARROT1                               #  GET RT
035892,000156: 25,2104           72441                           DOT      SL1                                   
035893,000157: 25,2105           01760                                    UNITR                                 #  RT/2 IN MPAC
035894,000158: 25,2106           77726                           ACOS                                           
035895,000159: 25,2107           37702                           STCALL   THETAH                                #  RANGE ANGLE /360
035896,000160: 25,2110           03645                                    GOTOADDR                              #  RETURN TO CALLER
035897,000161: 
035898,000162: 25,2111           00003 01520  500SEC             2DEC     50000      B-28                       #  CS
035899,000163: 25,2113           11774        ENTMASK            OCT      11774                                 
035900,000164: 25,2114           11010        ENTRYSW            OCT      11010                                 #  ENTRYDSP B13,  GONEPAST B10,  LATSW B4

Page 801

035902,000166: 
035903,000167: 25,2115           77624        SCALEPOP           CALL                                           
035904,000168: 25,2116           52125                                    TARGETNG                              
035905,000169: 
035906,000170: 25,2117           77776                           EXIT                                           
035907,000171: 
035908,000172: 25,2120           05301        REFAZE10           TC       PHASCHNG                              
035909,000173: 25,2121           10035                           OCT      10035                                 #  SERVICER 5.3 RESTART AT REFAZE10
035910,000174: 
035911,000175: 25,2122           06006                           TC       INTPRET                               
035912,000176: 
035913,000177:                                                                                                  #  JUMP TO PARTICULAR RE-ENTRY PHASE:
035914,000178:                                                                                                  #                                SEQUENCE
035915,000179: 25,2123           77650                           GOTO                                           
035916,000180: 25,2124           03645                                    GOTOADDR                              
035917,000181: 
035918,000182:                                                                                                  #  GOTOADDR CONTAINS THE ADDRESS OF THE ROLL COMMAND EQUATIONS APPROPRIATE TO THE CURRENT PHASE OF
035919,000183:                                                                                                  #  RE-ENTRY.  SEQUENCING IS AS FOLLOWS:
035920,000184: 
035921,000185:                                                                                                  #  INITROLL      ADDRESS IS SET HERE INITIALLY.  HOLDS INITIAL ROLL ATTITUDE UNTIL KAT IS EXCEEDED.  THEN HOLDS NEW ROLL
035922,000186:                                                                                                  #                ATTITUDE UNTIL  VRTHRESH  IS EXCEEDED.  THEN BRANCHES TO
035923,000187: 
035924,000188:                                                                                                  #  HUNTEST       THIS SECTION CHECKS TO SEE IF THE PREDICTED RANGE AT NOMINAL   L/D FROM PRESENT CONDITIONS IS LESS
035925,000189:                                                                                                  #                THAN THE DESIRED RANGE.
035926,000190:                                                                                                  #                        IF NOT - A ROLL COMMAND IS GENERATED BY THE CONSTANT DRAG CONTROLLER.
035927,000191:                                                                                                  #                        IF SO  - CONTROL AND GOTOADDR ARE SET TO UPCONTRL.
035928,000192:                                                                                                  #                USUALLY NO ITERATION IS INVOLVED EXCEPT IF THE RANGE DESIRED IS TOO LONG ON THE FIRST PASS THROUGH
035929,000193:                                                                                                  #                HUNTEST.
035930,000194: 
035931,000195:                                                                                                  #  UPCONTRL      CONTROLS ROLL DURING THE SUPER-CIRCULAR PHASE.  UPCONTRL IS TERMINATED EITHER
035932,000196:                                                                                                  #                        (A) WHEN THE DRAG (AS MEASURED BY THE PIPAS) FALLS BELOW Q7, OR
035933,000197:                                                                                                  #                        (B) IF RDOT IS NEGATIVE AND REFERENCE VL EXCEEDS V.
035934,000198:                                                                                                  #                IN CASE (A),  GOTOADDR  IS SET TO  KEP2  AND IN CASE (B), TO  PREDICT3  SKIPPING THE KEPLER PHASE OF
035935,000199:                                                                                                  #                ENTRY.
035936,000200: 
035937,000201:                                                                                                  #  KEP2          GOTOADDR IS SET HERE DURING THE KEPLER PHASE TO MONITOR DRAG.  THE SPACECRAFT IS INSTANTANEOUSLY
035938,000202:                                                                                                  #                TRIMMED IN PITCH AND YAW TO THE COMPUTED RELATIVE VELOCITY.  THE LAST COMPUTED ROLL ANGLE IS MAINTAINED.
035939,000203:                                                                                                  #                WHEN THE MEASURED DRAG EXCEEDS Q7 +0.5, GOTOADDR IS SET TO
035940,000204: 
035941,000205:                                                                                                  #  PREDICT3      THIS CONTROLS THE FINAL SUB-ORBITAL PHASE. ROLL COMMANDS CEASE
035942,000206:                                                                                                  #                WHEN  V  IS LESS THAN  VQUIT.  AN EXIT IS MADE TO
035943,000207: 
035944,000208:                                                                                                  #  P67.1         THE LAST COMPUTED ROLL ANGLE IS MAINTAINED.  RATE DAMPING IS DONE IN PITCH AND YAW.  PRESENT LATITUDE
035945,000209:                                                                                                  #                AND LONGITUDE ARE COMPUTED FOR DISPLAY.
035946,000210:                                                                                                  #                ENTRY IS TERMINATED WHEN DISKY RESPONSE IS MADE TO TO THIS FINAL FLASHING DISPLAY.
035947,000211: 

Page 802

035949,000213:                                                                                                  #  PROCESS AVERAGE G OUTPUT...SCALE IT AND GET INPUT DATA
035950,000214: 
035951,000215:                                                                                                  #  * START  TARGETING ...
035952,000216: 
035953,000217: 25,2125  E7,1451                                  EBANK=   RTINIT                                
035954,000218: 
035955,000219:                                                                                                  #  TARGETNG IS CALLED BY P61, FROM GROUP 4.
035956,000220:                                                                                                  #  TARGETNG IS CALLED BY ENTRY, FROM GROUP 5.
035957,000221: 
035958,000222:                                                                                                  #  ALL MM COME HERE.             
035959,000223: 25,2125           77214        TARGETNG           BOFF     VLOAD                                 #  ENTER WITH PROPER EB FROM CM/POSE(TEST)
035960,000224: 25,2126           03346                                    RELVELSW                              #  RELVELSW = 96D BIT9
035961,000225: 25,2127           52133                                    GETVEL                                #  WANT INERTIAL VEL.  GO GET IT.
035962,000226: 25,2130           03526                                    -VREL                                 #  NEW V IS RELATIVE, CONTINUE
035963,000227: 
035964,000228: 25,2131           52076                           VCOMP    GOTO                                  #  (VREL) = (V) + KWE UNITR*UNITW
035965,000229: 25,2132           52136                                    GETUNITV   -1                         #  - VREL WAS LEFT BY CM/POSE
035966,000230: 
035967,000231: 25,2133           74375        GETVEL             VLOAD    VXSC                                  #  INERTIAL V WANTED
035968,000232: 25,2134           01177                                    VN                                    #  KVSCALE = (12800 / .3048) / 2VS
035969,000233: 25,2135           15230                                    KVSCALE                               #  KVSCALE = .81491944
035970,000234: 25,2136           03516                           STORE    VEL                                   #  V/2 VS
035971,000235: 
035972,000236: 25,2137           44056        GETUNITV           UNIT     STQ                                   
035973,000237: 25,2140           03373                                    60GENRET                              
035974,000238: 25,2141           17510                           STODL    UNITV                                 
035975,000239: 25,2142           00043                                    34D                                   
035976,000240: 25,2143           03622                           STORE    VSQUARE                               #  VSQ/4
035977,000241: 
035978,000242: 25,2144           77625                           DSU                                            #  LEQ = VSQUARE - 1
035979,000243: 25,2145           15322                                    FOURTH                                #  4 G-S FULL SCALE
035980,000244: 25,2146           17654                           STODL    LEQ                                   #  LEQ/4
035981,000245: 
035982,000246: 25,2147           00045                                    36D                                   
035983,000247: 25,2150           27674                           STOVL    V                                     #  V/2 VS = VEL/2 VS
035984,000248: 
035985,000249: 25,2151           03516                                    VEL                                   
035986,000250: 25,2152           72441                           DOT      SL1                                   #  RDOT= V.UNITR
035987,000251: 25,2153           01760                                    UNITR                                 
035988,000252: 25,2154           27700                           STOVL    RDOT                                  #  RDOT /2 VS
035989,000253: 
035990,000254: 25,2155           01163                                    DELV                                  #  PIPA COUNTS IN PLATFORM COORDS.
035991,000255: 25,2156           41246                           ABVAL    DMP                                   
035992,000256: 25,2157           15232                                    KASCALE                               
035993,000257: 25,2160           53152                           SL1      BZE                                   
035994,000258: 25,2161           55132                                    SETMIND                               
035995,000259: 25,2162           27640        DSTORE             STOVL    D                                     #  ACCELERATION USED TO APPROX DRAG
035996,000260: 25,2163           03516                                    VEL                                   
035997,000261: 25,2164           53435                           VXV      UNIT                                  #  UNI = UNIT(V*R)

Page 803

035999,000263: 25,2165           01760                                    UNITR                                 
036000,000264: 25,2166           03502                           STORE    UNI                                   #  .5 UNI                REF COORDS.
036001,000265: 
036002,000266: 25,2167           71214                           BOFF     DLOAD                                 
036003,000267: 25,2170           03346                                    RELVELSW                              
036004,000268: 25,2171           55073                                    GETETA                                
036005,000269: 25,2172           15332                                    3ZEROS                                
036006,000270: 25,2173           43225        UPDATERT           DSU      DAD                                   #  PIPTIME-TIME/RTO =ELAPSED TIME SINCE
036007,000271:                                                                                                  #  RTINIT WAS ESTABLISHED.
036008,000272: 25,2174           03524                                    TIME/RTO                              
036009,000273: 25,2175           01205                                    PIPTIME                               
036010,000274: 25,2176           37606                           STCALL   DTEAROT                               #  GET PREDICTED TARGET VECTOR RT
036011,000275: 
036012,000276: 25,2177           46225                                    EARROT2                               
036013,000277: 25,2200           40241                           DOT      SETPD                                 #  SINCE (RT) UNIT VECT, THIS IS 1/4 MAX
036014,000278: 25,2201           03502                                    UNI                                   #  LATANG = RT.UNI
036015,000279: 25,2202           00001                                    0                                     
036016,000280: 25,2203           27676                           STOVL    LATANG                                #  LATANG = MAC LATANG / 4
036017,000281: 
036018,000282: 25,2204           03474                                    RT                                    
036019,000283: 25,2205           77614                           CLEAR                                          
036020,000284: 25,2206           03667                                    GONEBY                                #  SHOW HAVE NOT GONE PAST TARGET.
036021,000285: 25,2207           50235                           VXV      DOT                                   #  IF RT*UNITR.UNI NEG, GONEBY=1
036022,000286: 25,2210           01760                                    UNITR                                 #  GONEPAST IS CONDITIONAL SW SET IN
036023,000287: 25,2211           03502                                    UNI                                   #  FINAL PHASE.
036024,000288: 25,2212           43044                           BPL      SET                                   
036025,000289: 25,2213           52215                                    +2                                    
036026,000290: 25,2214           03467                                    GONEBY                                #  SHOW HAVE GONE PAST TARGET.
036027,000291: 
036028,000292: 25,2215           77775                           VLOAD                                          
036029,000293: 25,2216           03474                                    RT                                    
036030,000294: 25,2217           45241        GETANGLE           DOT      DSU                                   #  THETA = ARCCOS(RT.UNITR)
036031,000295: 25,2220           01760                                    UNITR                                 
036032,000296: 25,2221           15162                                    NEAR1/4                               #  TO IMPROVE ACCURACY, CALC RANGE BY
036033,000297: 25,2222           43244                           BPL      DAD                                   #  TINYTHET IF HIGH ORDER PART OF
036034,000298: 25,2223           55135                                    TINYTHET                              #  ARCCOS ARGUMENT IS ZERO
036035,000299: 25,2224           15162                                    NEAR1/4                               
036036,000300: 25,2225           65552                           SL1      ACOS                                  
036037,000301: 25,2226           03702        THETDONE           STORE    THETAH                                #  THETAH/360
036038,000302:                                                                                                  #  HI WORD, LO BIT =1.32 NM=360 60/16384
036039,000303: 
036040,000304: 25,2227           57414                           BON      DCOMP                                 
036041,000305: 25,2230           03707                                    GONEBY                                #  =1 IF HAVE GONE PAST TARGET.
036042,000306:                                                                                                  #  (SIGN MAY BECOME ERRATIC VERY NEAR
036043,000307:                                                                                                  #  TARGET DUE TO LOSS OF PRECISION.)
036044,000308: 25,2231           52232                                    +1                                    
036045,000309: 25,2232           17714                           STODL    RTGON67                               #  RANGE ERROR:  NEG IF WILL FALL SHORT.
036046,000310: 
036047,000311: 25,2233           03640                                    D                                     
036048,000312: 25,2234           50025                           DSU      BMN                                   

Page 804

036050,000314: 25,2235           15240                                    .05G                                  
036051,000315: 25,2236           52255                                    NO.05G                                
036052,000316: 25,2237           77214                           SET      VLOAD                                 
036053,000317: 25,2240           03074                                    .05GSW                                
036054,000318: 25,2241           03433                                    DELVREF                               
036055,000319: 25,2242           50206                           PUSH     DOT                                   
036056,000320: 25,2243           03542                                    UXA/2                                 
036057,000321: 25,2244           63552                           SL1      DSQ                                   
036058,000322: 25,2245           47515                           PDVL     VSQ                                   #  EXCHANGE WITH PDL.
036059,000323: 25,2246           56225                           DSU      DDV                                   
036060,000324: 25,2247           00001                                    0                                     
036061,000325: 25,2250           75400                           BOV      SQRT                                  
036062,000326: 25,2251           52253                                    NOLDCALC                              #  OVFL LAST CLEARED IN EARROT2 ABOVE.
036063,000327: 25,2252           03727                           STORE    L/DCALC                               
036064,000328: 
036065,000329: 25,2253           77650        NOLDCALC           GOTO                                           
036066,000330: 25,2254           03373                                    60GENRET                              
036067,000331: 
036068,000332: 25,2255           52014        NO.05G             CLEAR    GOTO                                  #  THIS WAY FOR DAP. (MAY INTERRUPT)
036069,000333: 25,2256           03274                                    .05GSW                                #  .05GSW = 102D B3
036070,000334: 25,2257           52253                                    NOLDCALC                              #  KEEP SINGLE EXIT FOR TARGETNG
036071,000335: 

Page 805

036073,000337:                                                                                                  #  SUBROUTINES CALLED BY SCALEPOP (TARGETING):
036074,000338: 
036075,000339: 26,3073                                           BANK     26                                    
036076,000340: 26,2000                                           SETLOC   REENTRY1                              
036077,000341: 26,2000                                           BANK                                           
036078,000342: 
036079,000343: 26,3073                                           COUNT*   $$/ENTRY                              
036080,000344: 
036081,000345: 26,3073           56345        GETETA             DLOAD    DDV                                   #  D = D +D(-RDOT/HS -2D/V)  DT/2
036082,000346:                                                                                                  #  DT/2 = 2/2 =1
036083,000347: 26,3074           03700                                    RDOT                                  
036084,000348: 26,3075           15314                                    -HSCALED                              
036085,000349: 26,3076           41325                           PDDL     DMP                                   
036086,000350: 26,3077           03640                                    D                                     
036087,000351: 26,3100           15316                                    -KSCALE                               
036088,000352: 26,3101           43271                           DDV      DAD                                   
036089,000353: 26,3102           03674                                    V                                     
036090,000354:                                                                                                  #  -RDOT/HS FROM PDL.
036091,000355: 26,3103           43205                           DMP      DAD                                   
036092,000356: 26,3104           03640                                    D                                     
036093,000357: 26,3105           03640                                    D                                     
036094,000358: 26,3106           03640                           STORE    D                                     
036095,000359: 
036096,000360: 26,3107           71214                           BON      DLOAD                                 #  EGSW INDICATES FINAL PHASE.
036097,000361: 26,3110           03307                                    EGSW                                  
036098,000362: 26,3111           55116                                    SUBETA                                
036099,000363: 26,3112           03702                                    THETAH                                
036100,000364: 26,3113           52005                           DMP      GOTO                                  
036101,000365: 26,3114           15234                                    KTETA                                 #  = 1000X2PI/(2)E14 163.84
036102,000366: 26,3115           52173                                    UPDATERT                              
036103,000367: 
036104,000368: 26,3116           45345        SUBETA             DLOAD    DSU                                   #  SWITCH FROM INERTIAL TO RELATIVE VEL.
036105,000369: 26,3117           03674                                    V                                     
036106,000370: 26,3120           15322                                    VMIN                                  
036107,000371: 26,3121           43044                           BPL      SET                                   
036108,000372: 26,3122           55124                                    SUBETA2                               
036109,000373: 26,3123           03066                                    RELVELSW                              
036110,000374: 
036111,000375: 26,3124           41345        SUBETA2            DLOAD    DMP                                   
036112,000376: 
036113,000377: 26,3125           03702                                    THETAH                                
036114,000378: 26,3126           15236                                    KT1                                   #  KT1 = KT
036115,000379: 26,3127           52071                           DDV      GOTO                                  
036116,000380: 26,3130           03674                                    V                                     #  KT = RE(2 PI)/2 VS 16384 163.84/ 2 VSAT
036117,000381: 26,3131           52173                                    UPDATERT                              
036118,000382: 
036119,000383: 26,3132           52145        SETMIND            DLOAD    GOTO                                  
036120,000384: 26,3133           16326                                    1BITDP                                
036121,000385: 26,3134           52162                                    DSTORE                                
036122,000386: 

Page 806

036124,000388: 26,3135           51425        TINYTHET           DSU      ABS                                   #  ENTER WITH X-.249
036125,000389: 26,3136           16327                                    1BITDP     +1                         #  GET 1/4 - MPAC
036126,000390: 26,3137           75461                           SL       SQRT                                  #  SCALE UP BEFORE SQRT
036127,000391: 26,3140           20216                                    13D                                   #  HAS FACTOR FOR UP SCALING
036128,000392: 26,3141           52005                           DMP      GOTO                                  
036129,000393: 26,3142           15246                                    KACOS                                 
036130,000394: 26,3143           52226                                    THETDONE                              
036131,000395: 

Page 807

036133,000397:                                                                                                  #  * START       INITIAL ROLL ...
036134,000398: 
036135,000399: 25,2260                                           BANK     25                                    
036136,000400: 25,2000                                           SETLOC   REENTRY                               
036137,000401: 25,2000                                           BANK                                           
036138,000402: 
036139,000403: 25,2260                                           COUNT*   $$/ENTRY                              
036140,000404: 
036141,000405:                                                                                                  #  MM = 63, 64 ..
036142,000406: 25,2260           43014        INITROLL           BON      BOFF                                  #  IF D- .05G NEG, GO TO LIMITL/D
036143,000407: 25,2261           03312                                    INRLSW                                
036144,000408: 25,2262           52354                                    INITRL1                               
036145,000409: 25,2263           03354                                    .05GSW                                
036146,000410: 25,2264           53520                                    LIMITL/D                              
036147,000411: 
036148,000412:                                                                                                  #  MM = 64, NOW
036149,000413:                                                                                                  #              3
036150,000414:                                                                                                  #  KA = KA1 LEQ  + KA2
036151,000415: 25,2265           63545                           DLOAD    DSQ                                   
036152,000416: 25,2266           03654                                    LEQ                                   
036153,000417: 25,2267           56205                           DMP      DDV                                   
036154,000418: 25,2270           03654                                    LEQ                                   
036155,000419: 25,2271           15304                                    1/KA1                                 #  = 25 /(64  1.8)
036156,000420: 25,2272           47015                           DAD      RTB                                   
036157,000421: 25,2273           15306                                    KA2                                   #  = .2
036158,000422: 25,2274           54432                                    P64                                   #  ROLLC         VI              RDOT
036159,000423:                                                                                                  #  XXX.XX DEG    XXXXX. FPS      XXXXX. FPS
036160,000424: 25,2275           03720                           STORE    KAT                                   
036161,000425: 
036162,000426: 25,2276           45345                           DLOAD    DSU                                   #  IF V-VFINAL1 NEG, GO TO FINAL PHASE.
036163,000427: 25,2277           03674                                    V                                     
036164,000428: 25,2300           15302                                    VFINAL1                               
036165,000429: 25,2301           51014                           CLEAR    BPL                                   #  (CAN'T CLEAR INRLSW AFTER HERE: RESTARTS)
036166,000430: 25,2302           03265                                    GONEPAST                              #  GONEPAST WAS INITIALLY SET=1 TO FORCE
036167,000431:                                                                                                  #  ROLLC TO REMAIN AS DEFINED BY HEADSUP
036168,000432:                                                                                                  #  UNTIL START OF P64.  (UNTIL D > .05G)
036169,000433: 25,2303           52310                                    D0EQ                                  
036170,000434: 25,2304           52131                           SSP      GOTO                                  
036171,000435: 25,2305           03646                                    GOTOADDR                              
036172,000436: 25,2306           53311                                    KEP2                                  #  AND IDLE UNTIL D > 0.2G.  (NO P66 HERE)
036173,000437: 25,2307           52343                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
036174,000438: 
036175,000439: 25,2310           41345        D0EQ               DLOAD    DMP                                   #  D0 = KA3 LEQ + KA4
036176,000440: 25,2311           03654                                    LEQ                                   
036177,000441: 25,2312           15310                                    KA3                                   
036178,000442: 25,2313           77615                           DAD                                            
036179,000443: 25,2314           15312                                    KA4                                   
036180,000444: 25,2315           03710                           STORE    D0                                    #  D0/805
036181,000445: 25,2316           40065                           BDDV     BOV                                   

Page 808

036183,000447: 25,2317           15266                                    C001                                  #  (-4/25 G) B-8
036184,000448: 25,2320           52321                                    +1                                    #  CLEAR OVFIND, IF ON.
036185,000449: 25,2321           17706                           STODL    C/D0                                  #  (-4/D0) B-8
036186,000450: 25,2322           03624                                    LAD                                   #  IF V-VFINAL +K(RDOT/V)CUBED POS,L/D=-LAD
036187,000451: 25,2323           17634                           STODL    L/D                                   
036188,000452: 25,2324           03700                                    RDOT                                  
036189,000453: 25,2325           41471                           DDV      PUSH                                  
036190,000454: 25,2326           03674                                    V                                     
036191,000455: 25,2327           41316                           DSQ      DMP                                   
036192,000456: 25,2330           45271                           DDV      DSU                                   
036193,000457: 25,2331           15276                                    1/K44                                 
036194,000458: 25,2332           15300                                    VFINAL                                
036195,000459:                                                                                                  #                    3
036196,000460:                                                                                                  #  V-VFINAL +(RDOT/V)  / K44             OVFL $
036197,000461: 
036198,000462: 25,2333           40015                           DAD      BOV                                   
036199,000463: 25,2334           03674                                    V                                     
036200,000464: 25,2335           52343                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
036201,000465: 25,2336           71240                           BMN      DLOAD                                 
036202,000466: 25,2337           52343                                    INROLOUT                              #  GO TO LIMITL/D AFTER SETTING INRLSW.
036203,000467: 25,2340           03624                                    LAD                                   
036204,000468: 25,2341           77676                           DCOMP                                          
036205,000469: 25,2342           03634                           STORE    L/D                                   
036206,000470: 
036207,000471:                                                                                                  #  SET INRLSW AT END FOR RESTART PROTECTION
036208,000472: 25,2343           77614        INROLOUT           BOFSET                                         #  END OF PRE .05G PATH OF INITROLL.
036209,000473: 25,2344           03052                                    INRLSW                                #  SWITCH IS ZERO INITIALLY.
036210,000474: 25,2345           53520                                    LIMITL/D                              #  (GO TO)
036211,000475: 
036212,000476: 25,2346           45345        KATEST             DLOAD    DSU                                   #  IF KAT - D POS, GO TO CONSTD
036213,000477: 25,2347           03720                                    KAT                                   
036214,000478: 25,2350           03640                                    D                                     #  IF POS, OUT WITH COMMAND VIA LIMITL/D
036215,000479: 25,2351           52044                           BPL      GOTO                                  
036216,000480: 25,2352           53520                                    LIMITL/D                              
036217,000481: 25,2353           53224                                    CONSTD                                
036218,000482: 
036219,000483: 25,2354           43345        INITRL1            DLOAD    DAD                                   #  IF RDOT + VRCONT POS, GO TO HUNTEST
036220,000484: 25,2355           03700                                    RDOT                                  
036221,000485: 25,2356           15260                                    VRCONT                                
036222,000486: 25,2357           45040                           BMN      CALL                                  #  IF POSITIVE, FALL INTO HUNTEST.
036223,000487: 25,2360           52346                                    KATEST                                
036224,000488: 
036225,000489: 25,2361           53014                                    FOREHUNT                              #  INITIALIZE HUNTEST.
036226,000490: 

Page 809

036228,000492:                                                                                                  #  * START       HUNT TEST ..
036229,000493:                                                                                                  #  MM = 64
036230,000494: 25,2362           77731                           SSP                                            #  INITIALIZE HUNTEST ON FIRST PASS
036231,000495: 25,2363           03646                                    GOTOADDR                              
036232,000496: 25,2364           52365                                    HUNTEST                               #  MUST GO AFTER FOREHUNT FOR RESTARTS.
036233,000497: 
036234,000498: 25,2365           77745        HUNTEST            DLOAD                                          
036235,000499: 25,2366           03640                                    D                                     
036236,000500: 25,2367           17664                           STODL    A1                                    #  A1/805 = A1/25G
036237,000501: 
036238,000502: 25,2370           03624                                    LAD                                   
036239,000503: 25,2371           17647                           STODL    TEM1B                                 
036240,000504: 25,2372           03700                                    RDOT                                  
036241,000505: 25,2373           71240                           BMN      DLOAD                                 #  IF RDOT NEG,TEM1B=LAD, OTHERWISE = LEWD
036242,000506: 25,2374           52400                                    A0CALC                                
036243,000507: 25,2375           03725                                    LEWD                                  
036244,000508: 25,2376           17647                           STODL    TEM1B                                 
036245,000509: 
036246,000510: 25,2377           03700                                    RDOT                                  
036247,000511: 25,2400           43271        A0CALC             DDV      DAD                                   #  V1 = V + RDOT/TEM1B
036248,000512: 25,2401           03647                                    TEM1B                                 
036249,000513: 25,2402           03674                                    V                                     
036250,000514: 25,2403           14326                           STODL    V1                                    #  V1/2 VS
036251,000515: 
036252,000516: 25,2404           03700                                    RDOT                                  
036253,000517: 25,2405           56316                           DSQ      DDV                                   #  A0=(V1/V)SQ(D+RDOT SQ/(TEM1B 2 C1 HS)
036254,000518: 25,2406           03647                                    TEM1B                                 
036255,000519: 25,2407           43271                           DDV      DAD                                   
036256,000520: 25,2410           15272                                    2C1HS                                 
036257,000521: 25,2411           03640                                    D                                     
036258,000522: 25,2412           41205                           DMP      DMP                                   
036259,000523: 25,2413           00326                                    V1                                    
036260,000524: 25,2414           00326                                    V1                                    
036261,000525: 25,2415           77671                           DDV                                            
036262,000526: 25,2416           03622                                    VSQUARE                               
036263,000527: 25,2417           14330                           STODL    A0                                    #  A0/805 = A0/25G
036264,000528: 
036265,000529: 25,2420           03700                                    RDOT                                  
036266,000530: 25,2421           71244                           BPL      DLOAD                                 
036267,000531: 25,2422           52425                                    V1LEAD                                
036268,000532: 25,2423           00330                                    A0                                    
036269,000533: 25,2424           03664                           STORE    A1                                    #  A1/25G
036270,000534: 
036271,000535: 25,2425           51145        V1LEAD             DLOAD    BPL                                   #  IF L/D NEG, V1=V1 - 1000
036272,000536: 25,2426           03634                                    L/D                                   
036273,000537: 25,2427           52434                                    HUNTEST1                              
036274,000538: 
036275,000539: 25,2430           45345                           DLOAD    DSU                                   
036276,000540: 25,2431           00326                                    V1                                    

Page 810

036278,000542: 25,2432           15214                                    VQUIT                                 
036279,000543: 25,2433           00326                           STORE    V1                                    
036280,000544: 
036281,000545: 25,2434           41345        HUNTEST1           DLOAD    DMP                                   #  ALP = 2 C1 HS A0/LEWD V1 V1
036282,000546: 25,2435           00330                                    A0                                    
036283,000547: 25,2436           15272                                    2C1HS                                 
036284,000548: 25,2437           40271                           DDV      SETPD                                 
036285,000549: 25,2440           00326                                    V1                                    
036286,000550: 25,2441           00001                                    0                                     
036287,000551: 25,2442           56271                           DDV      DDV                                   
036288,000552: 25,2443           00326                                    V1                                    
036289,000553: 25,2444           03725                                    LEWD                                  
036290,000554: 25,2445           03704                           STORE    ALP                                   
036291,000555: 
036292,000556: 25,2446           55221                           BDSU     BDDV                                  #  FACT1 = V1 / (1 - ALP)
036293,000557: 25,2447           17363                                    BARELY1                               
036294,000558: 25,2450           00326                                    V1                                    
036295,000559: 25,2451           17616                           STODL    FACT1                                 #  FACT1 / 2VS
036296,000560: 
036297,000561: 25,2452           03704                                    ALP                                   
036298,000562: 25,2453           41225                           DSU      DMP                                   #  FACT2 = ALP(ALP - 1) / A0
036299,000563: 25,2454           17363                                    BARELY1                               
036300,000564: 25,2455           03704                                    ALP                                   
036301,000565: 25,2456           77671                           DDV                                            
036302,000566: 25,2457           00330                                    A0                                    
036303,000567: 25,2460           03620                           STORE    FACT2                                 #  FACT2 (25G)
036304,000568: 
036305,000569: 25,2461           43205                           DMP      DAD                                   
036306,000570: 25,2462           03175                                    Q7                                    #  Q7 / 805 = Q7 / 25G
036307,000571: 25,2463           03704                                    ALP                                   #  VL=FACT1 (1-SQRT(Q7 FACT2 +ALP) )
036308,000572: 25,2464           44366                           SQRT     BDSU                                  
036309,000573: 25,2465           17363                                    BARELY1                               
036310,000574: 25,2466           77605                           DMP                                            
036311,000575: 25,2467           03616                                    FACT1                                 
036312,000576: 25,2470           03767                           STORE    VL                                    #  VL / 2 VS
036313,000577: 
036314,000578: 25,2471           41221                           BDSU     DMP                                   #  GAMMAL1 = LEWD (V1-VL)/VL
036315,000579: 25,2472           00326                                    V1                                    
036316,000580: 25,2473           03725                                    LEWD                                  
036317,000581: 25,2474           77671                           DDV                                            
036318,000582: 25,2475           03767                                    VL                                    
036319,000583: 25,2476           14027                           STODL    GAMMAL1                               #  GAMMAL1 USED IN UPCONTROL
036320,000584: 
036321,000585:                                                                                                  #  GAMMAL1 = PDL 22D.
036322,000586: 25,2477           03767                                    VL                                    
036323,000587: 25,2500           50025                           DSU      BMN                                   #  IF VL-VLMIN NEG, GO TO PREFINAL
036324,000588: 25,2501           15204                                    VLMIN                                 
036325,000589: 25,2502           53325                                    PREFINAL                              
036326,000590: 
036327,000591: 25,2503           63545                           DLOAD    DSQ                                   

Page 811

036329,000593: 25,2504           03767                                    VL                                    
036330,000594: 25,2505           17666                           STODL    VBARS                                 #  VBARS / 4 VS VS
036331,000595: 
036332,000596: 25,2506           15330                                    HALVE                                 #  IF VSAT-VL NEG, GO TO CONSTD
036333,000597: 25,2507           50025                           DSU      BMN                                   
036334,000598: 25,2510           03767                                    VL                                    
036335,000599: 25,2511           53220                                    BECONSTD                              #  SET MODE=HUNTEST, CONTINUE IN CONSTD
036336,000600: 25,2512           17662                           STODL    DVL                                   #  DVL / 2VS
036337,000601: 
036338,000602: 25,2513           15330                                    HALVE                                 
036339,000603: 25,2514           03672                           STORE    VS1                                   #  VS1 = VSAT
036340,000604: 
036341,000605: 25,2515           50025                           DSU      BMN                                   #  IF V1 GREATER THAN VSAT, GO ON
036342,000606: 25,2516           00326                                    V1                                    
036343,000607: 25,2517           52525                                    GETDHOOK                              
036344,000608: 25,2520           77621                           BDSU                                           
036345,000609: 25,2521           03662                                    DVL                                   
036346,000610: 25,2522           17662                           STODL    DVL                                   #  DVL = DVL - (VSAT-V1) = V1 - VL
036347,000611: 25,2523           00326                                    V1                                    
036348,000612: 25,2524           03672                           STORE    VS1                                   #  VS1 = V1, IN THIS CASE
036349,000613: 
036350,000614: 25,2525           45145        GETDHOOK           DLOAD    CALL                                  #  DHOOK=((1-VS1/FACT1) SQ -ALP)/FACT2
036351,000615: 25,2526           03672                                    VS1                                   #  VS1 / 2 VS
036352,000616: 25,2527           52776                                    DHOOKYQ7                              #  GO CALC DHOOK
036353,000617: 25,2530           03656                           STORE    DHOOK                                 #  DHOOK / 25G
036354,000618: 
036355,000619: 25,2531           56261                           SR       DDV                                   
036356,000620: 25,2532           20607                                    6                                     #  CHOOK
036357,000621: 25,2533           03175                                    Q7                                    
036358,000622: 25,2534           77625                           DSU                                            
036359,000623: 25,2535           15250                                    CHOOK                                 #  = .25/16 = (-6)
036360,000624: 25,2536           03660                           STORE    AHOOKDV                               
036361,000625: 
036362,000626: 25,2537           41215                           DAD      DMP                                   #  GAMMAL= GAMMAL1-CH1 DVL SQ(1+AHOOK DVL)
036363,000627: 25,2540           17357                                    1/16TH                                
036364,000628: 25,2541           15254                                    CH1                                   
036365,000629: 25,2542           41205                           DMP      DMP                                   
036366,000630: 25,2543           03662                                    DVL                                   
036367,000631: 25,2544           03662                                    DVL                                   
036368,000632: 25,2545           56271                           DDV      DDV                                   
036369,000633: 25,2546           03656                                    DHOOK                                 
036370,000634: 25,2547           03666                                    VBARS                                 
036371,000635: 25,2550           50021                           BDSU     BMN                                   
036372,000636: 25,2551           00027                                    GAMMAL1                               
036373,000637: 25,2552           52743                                    NEGAMA                                
036374,000638: 25,2553           03771        HUNTEST3           STORE    GAMMAL                                
036375,000639: 
036376,000640: 25,2554           77625                           DSU                                            #  GAMMAL1=GAMMAL1 +Q19 (GAMMAL-GAMMAL1)
036377,000641: 25,2555           00027                                    GAMMAL1                               
036378,000642: 25,2556           43205                           DMP      DAD                                   

Page 812

036380,000644: 25,2557           15330                                    Q19                                   
036381,000645: 25,2560           00027                                    GAMMAL1                               
036382,000646: 25,2561           14027                           STODL    GAMMAL1                               
036383,000647: 25,2562           03771                                    GAMMAL                                
036384,000648: 

Page 813

036386,000650:                                                                                                  #  *START        RANGE PREDICTION ...
036387,000651:                                                                                                  #  C(MPAC) = GAMMAL
036388,000652: 25,2563           60516        RANGER             DSQ      SR2                                   #  COSG = 1-GAMMAL SQ/2, TRUNCATED SERIES
036389,000653: 25,2564           77621                           BDSU                                           
036390,000654: 25,2565           15330                                    HALVE                                 
036391,000655: 25,2566           17670                           STODL    COSG/2                                
036392,000656: 25,2567           03666                                    VBARS                                 #  E=SQRT(1+VBARS........
036393,000657: 
036394,000658: 25,2570           41225                           DSU      DMP                                   
036395,000659: 25,2571           15330                                    HALVE                                 
036396,000660: 25,2572           03666                                    VBARS                                 
036397,000661: 25,2573           41205                           DMP      DMP                                   
036398,000662: 25,2574           03670                                    COSG/2                                
036399,000663: 25,2575           03670                                    COSG/2                                
036400,000664: 25,2576           43312                           SL2      DAD                                   
036401,000665: 25,2577           17357                                    C1/16                                 #  C1/16 = 1/16
036402,000666: 25,2600           65366                           SQRT     PDDL                                  #  E/4 INTO PDL
036403,000667: 
036404,000668: 25,2601           03666                                    VBARS                                 
036405,000669: 25,2602           41205                           DMP      DMP                                   #  ASKEP/2 = ARCSIN(VBARS COSG SING/E)
036406,000670: 25,2603           03670                                    COSG/2                                
036407,000671: 25,2604           03771                                    GAMMAL                                
036408,000672: 25,2605           67471                           DDV      ASIN                                  
036409,000673: 25,2606           41552                           SL1      PUSH                                  #  ASKEP TO PDL 0.
036410,000674: 25,2607           17731                           STODL    ASKEP                                 #  BALLISTIC RANGE       ASKEP/2PI
036411,000675: 
036412,000676:                                                                                                  #  FOR TM, STORE RANGE COMPONENTS OVERLAPPING (SP)
036413,000677: 25,2610           03767                                    VL                                    
036414,000678: 25,2611           43205                           DMP      DAD                                   #  ASP1 = Q2 + Q3 VL
036415,000679: 25,2612           15170                                    Q3                                    
036416,000680: 25,2613           03712                                    Q2                                    
036417,000681: 25,2614           03732                           STORE    ASP1                                  #  FINAL PHASE RANGE     ASP1/2 PI
036418,000682: 
036419,000683: 25,2615           63525                           PDDL     DSQ                                   #  ASP1 TO PDL 2.
036420,000684: 25,2616           00326                                    V1                                    
036421,000685:                                                                                                  #                    2
036422,000686:                                                                                                  #  ASPUP= -C12 LOG(V1 Q7/VBARS A0)/GAMMAL1
036423,000687: 25,2617           56205                           DMP      DDV                                   
036424,000688: 25,2620           03175                                    Q7                                    
036425,000689: 25,2621           03666                                    VBARS                                 
036426,000690: 25,2622           45071                           DDV      CALL                                  
036427,000691: 25,2623           00330                                    A0                                    
036428,000692: 25,2624           46155                                    LOG                                   #  RETURN WITH -LOG IN MPAC
036429,000693: 
036430,000694: 25,2625           56205                           DMP      DDV                                   
036431,000695: 25,2626           15206                                    C12                                   
036432,000696: 25,2627           00027                                    GAMMAL1                               
036433,000697: 25,2630           03733                           STORE    ASPUP                                 #  UP PHASE RANGE        ASPUP / 2 PI

Page 814

036435,000699: 25,2631           41325                           PDDL     DMP                                   #  ASPUP TO PDL 4.
036436,000700: 25,2632           15256                                    KC3                                   #  KC3 = -4 VS VS / 2 PI 805 RE
036437,000701:                                                                                                  #  ASPDWN = KC3 RDOT V / A0
036438,000702: 25,2633           03700                                    RDOT                                  
036439,000703: 25,2634           56205                           DMP      DDV                                   
036440,000704: 25,2635           03674                                    V                                     
036441,000705: 25,2636           00330                                    A0                                    
036442,000706: 25,2637           41471                           DDV      PUSH                                  #  ASPDWN TO PDL 6.
036443,000707: 25,2640           03624                                    LAD                                   
036444,000708: 25,2641           17734                           STODL    ASPDWN                                #  RANGE TO PULL OUT     ASPDWN /2 PI
036445,000709: 
036446,000710: 25,2642           15174                                    Q6                                    
036447,000711: 25,2643           41225                           DSU      DMP                                   #  ASP3 = Q5(Q6-GAMMAL)
036448,000712: 25,2644           03771                                    GAMMAL                                
036449,000713: 25,2645           15172                                    Q5                                    
036450,000714: 25,2646           27735                           STOVL    ASP3                                  #  GAMMA CORRECTION      ASP3/2PI
036451,000715: 
036452,000716: 25,2647           03731                                    ASKEP                                 #  GET HI-WD AND
036453,000717: 25,2650           17126                           STODL    ASPS(TM)                              #  SAVE HI-WORD OF ASP'S FOR TM.
036454,000718: 
036455,000719: 25,2651           03735                                    ASP3                                  
036456,000720: 25,2652           43215                           DAD      DAD                                   
036457,000721:                                                                                                  #  ASPDWN FROM PDL 6.
036458,000722:                                                                                                  #  ASPUP FROM PDL 4.
036459,000723: 25,2653           43215                           DAD      DAD                                   
036460,000724:                                                                                                  #  ASP1 FROM PDL 2.
036461,000725:                                                                                                  #  ASKEP FROM PDL 0.
036462,000726: 25,2654           41025                           DSU      BOVB                                  #  CLEAR OVFIND.
036463,000727: 25,2655           03702                                    THETAH                                
036464,000728: 25,2656           57343                                    TCDANZIG                              
036465,000729: 25,2657           03610                           STORE    DIFF                                  #  DIFF = (ASP-THETAH) / 2 PI
036466,000730:                                                                                                  #  ASP=ASKEP+ASP1+ASPUP+ASP3+ASPDWN = TOTAL RANGE
036467,000731: 
036468,000732: 25,2660           45246                           ABS      DSU                                   #  IF ABS(THETAH-ASP) -25NM NEG, GO TO UPSY
036469,000733: 25,2661           15222                                    25NM                                  
036470,000734: 25,2662           43040                           BMN      BON                                   
036471,000735: 25,2663           53025                                    GOTOUPSY                              
036472,000736: 25,2664           03311                                    HIND                                  
036473,000737: 25,2665           52671                                    GETLEWD                               
036474,000738: 
036475,000739: 25,2666           51145                           DLOAD    BPL                                   
036476,000740: 25,2667           03610                                    DIFF                                  
036477,000741: 25,2670           53213                                    DCONSTD                               #  EVENTUALLY SETS MODE = HUNTEST.
036478,000742: 25,2671           41345        GETLEWD            DLOAD    DMP                                   
036479,000743:                                                                                                  #  DLEWD = DLEWD (DIFF/(DIFFOLD-DIFF))
036480,000744: 25,2672           03642                                    DLEWD                                 
036481,000745: 25,2673           03610                                    DIFF                                  
036482,000746: 25,2674           45325                           PDDL     DSU                                   
036483,000747: 25,2675           03612                                    DIFFOLD                               
036484,000748: 25,2676           03610                                    DIFF                                  

Page 815

036486,000750: 25,2677           77665                           BDDV                                           
036487,000751: 25,2700           77626        LWDSTORE           STADR                                          
036488,000752: 25,2701           74135                           STORE    DLEWD                                 
036489,000753: 25,2702           50015                           DAD      BMN                                   #  IF LEWD+DLEWD NEG, DLEWD=-LEWD/2
036490,000754: 25,2703           03725                                    LEWD                                  
036491,000755: 25,2704           52737                                    LEWDPTR                               
036492,000756: 25,2705           77600                           BOV                                            
036493,000757: 25,2706           52733                                    LEWDOVFL                              
036494,000758: 25,2707           03725                           STORE    LEWD                                  
036495,000759: 
036496,000760: 25,2710           77776        SIDETRAK           EXIT                                           
036497,000761: 
036498,000762: 25,2711           34753                           CA       EBENTRY                               
036499,000763: 25,2712           54003                           TS       EBANK                                 
036500,000764: 
036501,000765: 25,2713           34763                           CA       PRIO16                                #  DROP GRP 5 RESTART PRIO TO 1 LESS THAN
036502,000766: 25,2714           55064                           TS       PHSPRDT5                              #  GRP 4.
036503,000767: 
036504,000768: 25,2715           05301                           TC       PHASCHNG                              
036505,000769: 25,2716           00474                           OCT      00474                                 #  RESTART GRP 4 AT PRE-HUNT.
036506,000770:                                                                                                  #  FORCE RESTART TO PICK UP IN GRP 4:
036507,000771:                                                                                                  #  USE PRIO 17 FOR GRP 4 (< SERVICER PRIO)
036508,000772: 25,2717           34763                           CA       PRIO16                                #  CONTINUE GRP 5 AT LOWER PRIO THAN EITHER
036509,000773:                                                                                                  #  GRP 4 OR SERVICER.
036510,000774: 25,2720           05103                           TC       PRIOCHNG                              
036511,000775: 
036512,000776: 25,2721           33024                           CAF      ADENDEXT                              #  SIDETRACK NEXT PASS UNTIL THIS ONE DONE.
036513,000777: 25,2722           55645                           TS       GOTOADDR                              #  ONLY AFTER RESTART IS LEFT AFTER DETOUR.
036514,000778: 
036515,000779: 25,2723           06006                           TC       INTPRET                               
036516,000780: 
036517,000781: 25,2724           43145                           DLOAD    SET                                   
036518,000782: 25,2725           03610                                    DIFF                                  
036519,000783: 25,2726           03071                                    HIND                                  
036520,000784: 25,2727           17612                           STODL    DIFFOLD                               #  DIFFOLD / 2 PI
036521,000785: 
036522,000786: 25,2730           15176                                    Q7F                                   
036523,000787: 25,2731           37175                           STCALL   Q7                                    #  Q7 / 805 FPSS
036524,000788: 25,2732           52365                                    HUNTEST                               #  (GO TO)
036525,000789: 
036526,000790: 25,2733           77745        LEWDOVFL           DLOAD                                          
036527,000791: 25,2734           17363                                    NEARONE                               
036528,000792: 25,2735           37725                           STCALL   LEWD                                  
036529,000793: 25,2736           53213                                    DCONSTD                               #  (GO TO)  ALSO WILL SET MODE = HUNTEST
036530,000794: 
036531,000795: 25,2737           70545        LEWDPTR            DLOAD    SR1                                   
036532,000796: 25,2740           03725                                    LEWD                                  
036533,000797: 25,2741           52076                           DCOMP    GOTO                                  
036534,000798: 25,2742           52700                                    LWDSTORE                              
036535,000799: 

Page 816

036537,000801:                                                                                                  #  NEGAMA IS PART OF HUNTEST ...
036538,000802: 
036539,000803: 25,2743           41205        NEGAMA             DMP      DMP                                   #  ENTER WITH GAMMAL IN MPAC
036540,000804: 
036541,000805: 25,2744           03767                                    VL                                    
036542,000806: 25,2745           15146                                    1/3RD                                 
036543,000807: 25,2746           41325                           PDDL     DMP                                   #  PUSH GAMMAL VL/3
036544,000808: 25,2747           03725                                    LEWD                                  
036545,000809: 25,2750           15146                                    1/3RD                                 
036546,000810: 25,2751           43325                           PDDL     DAD                                   #  PUSH LEWD/3
036547,000811: 25,2752           03660                                    AHOOKDV                               
036548,000812: 25,2753           15252                                    1/24TH                                
036549,000813: 25,2754           41205                           DMP      DMP                                   #  DEL VL = (GAMMAL VL/3)/(LEWD/3-DVL
036550,000814: 25,2755           03662                                    DVL                                   #  (2/3 + AHOOKDV)(CH1 GS/DHOOK VL))
036551,000815: 25,2756           15254                                    CH1                                   
036552,000816: 25,2757           56271                           DDV      DDV                                   
036553,000817: 25,2760           03656                                    DHOOK                                 
036554,000818: 25,2761           03767                                    VL                                    
036555,000819: 25,2762           55221                           BDSU     BDDV                                  
036556,000820:                                                                                                  #  LEWD/3
036557,000821:                                                                                                  #  GAMMAL VL /3
036558,000822: 25,2763           77615                           DAD                                            
036559,000823: 25,2764           03767                                    VL                                    
036560,000824: 25,2765           37767                           STCALL   VL                                    #  VL/2 VS
036561,000825: 
036562,000826: 25,2766           52776                                    DHOOKYQ7                              #  GO CALC Q7
036563,000827:                                                                                                  #  Q7=((1-VL/FACT1)SQ - ALP)/FACT2
036564,000828: 25,2767           17175                           STODL    Q7                                    #  Q7 / 25G
036565,000829: 
036566,000830: 25,2770           03767                                    VL                                    
036567,000831: 25,2771           77716                           DSQ                                            
036568,000832: 25,2772           17666                           STODL    VBARS                                 #  VBARS / 4 VS VS
036569,000833: 
036570,000834: 25,2773           15332                                    3ZEROS                                
036571,000835: 25,2774           77650                           GOTO                                           #  SET GAMMAL = 0
036572,000836: 25,2775           52553                                    HUNTEST3                              
036573,000837: 
036574,000838: 25,2776           56342        DHOOKYQ7           SR1      DDV                                   #  SUBROUTINE TO CALC DHOOK OR Q7)
036575,000839: 25,2777           03616                                    FACT1                                 
036576,000840: 25,3000           72421                           BDSU     SL1                                   
036577,000841: 25,3001           15330                                    HALVE                                 
036578,000842: 25,3002           45316                           DSQ      DSU                                   
036579,000843: 25,3003           03704                                    ALP                                   
036580,000844: 25,3004           43471                           DDV      RVQ                                   
036581,000845: 25,3005           03620                                    FACT2                                 
036582,000846: 

Page 817

036584,000848:                                                                                                  #  COME TO PRE-HUNT WHEN RESTART OCCURS AFTER
036585,000849:                                                                                                  #  HUNTEST IS SIDE-TRACKED AT SIDETRAK.
036586,000850:                                                                                                  #  PICK UP IN GROUP 4.
036587,000851: 
036588,000852: 25,3006           06006        PRE-HUNT           TC       INTPRET                               
036589,000853: 25,3007           45014                           CLEAR    CALL                                  
036590,000854: 25,3010           03271                                    HIND                                  #  HIND  99D BIT 6 FLAG 6
036591,000855: 25,3011           53014                                    FOREHUNT                              #  RE-INITIALIZE HUNTEST AFTER RE-START.
036592,000856: 25,3012           77650                           GOTO                                           
036593,000857: 25,3013           52365                                    HUNTEST                               
036594,000858: 25,3014           77745        FOREHUNT           DLOAD                                          #  INITIALIZE HUNTEST.
036595,000859: 25,3015           15332                                    3ZEROS                                
036596,000860: 25,3016           17612                           STODL    DIFFOLD                               
036597,000861: 25,3017           15156                                    DLEWD0                                
036598,000862: 25,3020           17642                           STODL    DLEWD                                 
036599,000863: 25,3021           15150                                    LEWD1                                 
036600,000864: 25,3022           03725                           STORE    LEWD                                  
036601,000865: 25,3023           77616                           RVQ                                            
036602,000866: 
036603,000867: 25,3024           53570        ADENDEXT           CADR     ENDEXIT                               
036604,000868: 

Page 818

036606,000870:                                                                                                  #  * START       UP CONTROL ...
036607,000871:                                                                                                  #  MM = 65
036608,000872: 25,3025           77634        GOTOUPSY           RTB                                            #  END OF HUNTEST
036609,000873: 25,3026           54440                                    P65                                   #  HUNTEST USE OF GRP4 IS DISABLED BY P65
036610,000874:                                                                                                  #  USE FOR DISPLAY.
036611,000875:                                                                                                  #  SET MODE = UPCONTRL.
036612,000876:                                                                                                  #  RETURN FROM P65 DIRECTLY TO UPCONTRL
036613,000877:                                                                                                  #  VIA THE GOTOADDR AT REFAZE10.
036614,000878: 
036615,000879: 25,3027           45345        UPCONTRL           DLOAD    DSU                                   #  IF D-140 POS, NOSWITCH =1
036616,000880: 25,3030           03640                                    D                                     #  (SUPPRESS LATERAL SWITCH)
036617,000881: 25,3031           15220                                    C21                                   
036618,000882: 25,3032           43040                           BMN      SET                                   
036619,000883: 25,3033           53035                                    +2                                    
036620,000884: 25,3034           03070                                    NOSWITCH                              
036621,000885: 
036622,000886: 25,3035           45345                           DLOAD    DSU                                   #  IF V-V1 POS, GO TO DOWN CONTROL.
036623,000887: 25,3036           03674                                    V                                     
036624,000888: 25,3037           00326                                    V1                                    
036625,000889: 25,3040           71244                           BPL      DLOAD                                 
036626,000890: 25,3041           53252                                    DOWNCNTL                              
036627,000891: 25,3042           03640                                    D                                     
036628,000892: 25,3043           50025                           DSU      BMN                                   #  IF D- Q7 NEG, GO TO KEP
036629,000893: 25,3044           03175                                    Q7                                    
036630,000894: 25,3045           53305                                    KEP                                   
036631,000895: 25,3046           51145                           DLOAD    BPL                                   #  IF RDOT NEG, DO VLTEST
036632,000896: 25,3047           03700                                    RDOT                                  
036633,000897: 25,3050           53057                                    CONT1                                 
036634,000898: 
036635,000899: 25,3051           45345        VLTEST             DLOAD    DSU                                   #  IF V-VL-C18 NEG,EGSW=1,MODE=PREDICT3
036636,000900: 25,3052           03674                                    V                                     
036637,000901: 25,3053           03767                                    VL                                    
036638,000902: 25,3054           50025                           DSU      BMN                                   
036639,000903: 25,3055           15164                                    C18                                   
036640,000904: 25,3056           53325                                    PREFINAL                              
036641,000905: 
036642,000906: 25,3057           77745        CONT1              DLOAD                                          #  IF D-A0 POS, L/D = LAD, GO TO LIMITL/D
036643,000907: 25,3060           03640                                    D                                     
036644,000908: 25,3061           50025                           DSU      BMN                                   
036645,000909: 25,3062           00330                                    A0                                    
036646,000910: 25,3063           53067                                    CONT3                                 
036647,000911: 25,3064           52145                           DLOAD    GOTO                                  
036648,000912: 25,3065           03624                                    LAD                                   
036649,000913: 25,3066           53517                                    STOREL/D                              
036650,000914: 
036651,000915: 25,3067           41345        CONT3              DLOAD    DMP                                   #  VREF=FACT1(1-SQRT(FACT2 D + ALP))
036652,000916: 25,3070           03640                                    D                                     
036653,000917: 25,3071           03620                                    FACT2                                 

Page 819

036655,000919: 25,3072           75415                           DAD      SQRT                                  
036656,000920: 25,3073           03704                                    ALP                                   
036657,000921: 25,3074           41221                           BDSU     DMP                                   
036658,000922: 25,3075           17363                                    BARELY1                               
036659,000923: 25,3076           03616                                    FACT1                                 
036660,000924: 25,3077           01160                           STORE    VREF                                  #  VREF / 2VS
036661,000925: 
036662,000926: 25,3100           41221                           BDSU     DMP                                   #  RDOTREF = LEWD(V1-VREF)
036663,000927: 25,3101           00326                                    V1                                    
036664,000928: 25,3102           03725                                    LEWD                                  
036665,000929: 25,3103           15156                           STODL    RDOTREF                               #  RDOTREF / 2VS
036666,000930: 
036667,000931: 25,3104           03672                                    VS1                                   
036668,000932: 25,3105           50025                           DSU      BMN                                   #  IF VSAT-VREF NEG, GO TO CONTINU2
036669,000933: 25,3106           01160                                    VREF                                  
036670,000934: 25,3107           53126                                    CONTINU2                              
036671,000935: 
036672,000936: 25,3110           41406                           PUSH     PUSH                                  #  VS1-VREF  TO PDL TWICE
036673,000937: 25,3111           56205                           DMP      DDV                                   #  RDHOOK=CH1(1+DV AHOOKDV/DVL) DV DV
036674,000938: 25,3112           03660                                    AHOOKDV                               #        /DHOOK VREF
036675,000939: 25,3113           03662                                    DVL                                   #  WHERE  DV = (VS1-VREF)
036676,000940: 25,3114           41215                           DAD      DMP                                   
036677,000941: 25,3115           17357                                    1/16TH                                
036678,000942: 25,3116           15254                                    CH1                                   
036679,000943: 25,3117           41205                           DMP      DMP                                   
036680,000944:                                                                                                  #  VS1-VREF  FROM PDL TWICE.
036681,000945: 25,3120           77671                           DDV                                            
036682,000946: 25,3121           03656                                    DHOOK                                 
036683,000947: 25,3122           44271                           DDV      BDSU                                  
036684,000948: 25,3123           01160                                    VREF                                  
036685,000949: 25,3124           01156                                    RDOTREF                               #  C(RDOTREF)= LEWD (V1-VREF)
036686,000950: 25,3125           01156                           STORE    RDOTREF                               #  RDOTREF = RDOTREF - RDHOOK
036687,000951: 
036688,000952: 25,3126           45345        CONTINU2           DLOAD    DSU                                   
036689,000953: 25,3127           03640                                    D                                     
036690,000954: 25,3130           15312                                    Q7MIN                                 
036691,000955: 25,3131           50004                           BOVB     BMN                                   
036692,000956: 25,3132           57343                                    TCDANZIG                              #  CLEAR OVFL IND, IF ON.
036693,000957: 25,3133           53144                                    UPCNTRL3                              
036694,000958: 25,3134           45345                           DLOAD    DSU                                   
036695,000959: 25,3135           03664                                    A1                                    
036696,000960: 25,3136           03175                                    Q7                                    
036697,000961: 25,3137           45325                           PDDL     DSU                                   
036698,000962: 25,3140           03640                                    D                                     
036699,000963: 25,3141           03175                                    Q7                                    
036700,000964: 25,3142           45471                           DDV      STADR                                 
036701,000965: 25,3143           74163                           STORE    FACTOR                                #  FACTOR / 25G
036702,000966: 

Page 820

036704,000968:                                                                                                  #  SKIPPER
036705,000969:                                                                                                  #  DELTA L/D=-((RDOT-RDOTREF)F1 KB1+V-VREF)F1 KB2
036706,000970:                                                                                                  #        WHERE F1 = FACTOR
036707,000971: 
036708,000972: 25,3144           77745        UPCNTRL3           DLOAD                                          
036709,000973: 25,3145           03700                                    RDOT                                  
036710,000974: 25,3146           41225                           DSU      DMP                                   #  L/D = LEWD
036711,000975: 25,3147           01156                                    RDOTREF                               #  -((RDOT-RDOTREF)F1/KB1+V-VREF)F1/KB2
036712,000976: 25,3150           03614                                    FACTOR                                
036713,000977: 25,3151           43271                           DDV      DAD                                   
036714,000978: 25,3152           15210                                    1/KB1                                 
036715,000979: 25,3153           03674                                    V                                     
036716,000980: 25,3154           41225                           DSU      DMP                                   
036717,000981: 25,3155           01160                                    VREF                                  
036718,000982: 25,3156           03614                                    FACTOR                                
036719,000983: 25,3157           41471                           DDV      PUSH                                  
036720,000984: 
036721,000985: 25,3160           15212                                    -1/KB2                                #  DELTA L/D INTO PDL
036722,000986: 25,3161           51400                           BOV      ABS                                   #  NONLINEAR CIRCUIT FOR REDUCING HIGH GAIN
036723,000987: 25,3162           53464                                    GOMAXL/D                              
036724,000988: 25,3163           50025                           DSU      BMN                                   
036725,000989: 25,3164           15274                                    PT1/16                                
036726,000990: 25,3165           53172                                    NEXT1                                 
036727,000991: 25,3166           43205                           DMP      DAD                                   
036728,000992: 25,3167           15152                                    POINT1                                
036729,000993: 25,3170           15274                                    PT1/16                                
036730,000994: 25,3171           41565                           SIGN     PUSH                                  #  ATTACH SIGN OF PUSH TO MPAC THEN PUSH
036731,000995: 
036732,000996: 25,3172           42545        NEXT1              DLOAD    SL4                                   
036733,000997:                                                                                                  #  DELTA L/D FROM PDL.
036734,000998: 
036735,000999: 25,3173           77615                           DAD                                            
036736,001000: 25,3174           03725                                    LEWD                                  
036737,001001: 25,3175           41400        NEGTESTS           BOV      PUSH                                  #  L/D TO PDL FOR USE IN NEGTESTS.
036738,001002: 25,3176           53464                                    GOMAXL/D                              
036739,001003: 25,3177           17634                           STODL    L/D                                   
036740,001004:                                                                                                  #  IF D-C20 POS, LATSW =0
036741,001005:                                                                                                  #  AND IF L/D NEG, L/D = 0.
036742,001006: 25,3200           03640                                    D                                     
036743,001007: 25,3201           50025                           DSU      BMN                                   
036744,001008: 25,3202           15216                                    C20                                   
036745,001009: 25,3203           53520                                    LIMITL/D                              
036746,001010: 25,3204           71214                           CLEAR    DLOAD                                 
036747,001011: 25,3205           03273                                    LATSW                                 #  =21D.  ROLL OVER TOP, REGARDLESS.
036748,001012:                                                                                                  #  L/D FROM PDL.
036749,001013: 25,3206           71244                           BPL      DLOAD                                 
036750,001014: 25,3207           53520                                    LIMITL/D                              
036751,001015: 25,3210           15332                                    3ZEROS                                
036752,001016: 25,3211           37634                           STCALL   L/D                                   
036753,001017: 25,3212           53520                                    LIMITL/D                              #  (GO TO)
036754,001018: 

Page 821

036756,001020: 25,3213           77745        DCONSTD            DLOAD                                          #  TWO RANGER ENTRIES TO CONSTD HERE
036757,001021: 25,3214           03610                                    DIFF                                  
036758,001022:                                                                                                  #  SAVE OLD VALUE OF DIFF FOR NEXT PASS.
036759,001023: 25,3215           17612                           STODL    DIFFOLD                               #  DIFFOLD / 2 PI
036760,001024: 
036761,001025: 25,3216           15176                                    Q7F                                   
036762,001026: 25,3217           03175                           STORE    Q7                                    
036763,001027: 
036764,001028: 25,3220           47131        BECONSTD           SSP      RTB                                   #  A HUNTEST ENTRY INTO CONSTD.
036765,001029: 25,3221           03646                                    GOTOADDR                              #  RESET MODE TO HUNTEST
036766,001030: 25,3222           52365                                    HUNTEST                               
036767,001031: 25,3223           54505                                    KILLGRP4                              #  DEACTIVATE GRP4 FROM HUNTEST.
036768,001032: 
036769,001033: 25,3224           77604        CONSTD             BOVB                                           
036770,001034: 25,3225           57343                                    TCDANZIG                              #  CLEAR OVF IND IF ON.
036771,001035: 
036772,001036: 25,3226           41345                           DLOAD    DMP                                   
036773,001037: 25,3227           03654                                    LEQ                                   
036774,001038: 25,3230           03706                                    C/D0                                  #  C/D0 = -4/D0 B-8
036775,001039: 25,3231           41325                           PDDL     DMP                                   #  LEQ C/D0 INTO PDL
036776,001040: 25,3232           15262                                    2HS                                   #  2HS / 4 VS VS
036777,001041: 25,3233           03710                                    D0                                    
036778,001042: 25,3234           43271                           DDV      DAD                                   #  RDOTREF = -2 HS D0/V
036779,001043: 25,3235           03674                                    V                                     
036780,001044: 25,3236           03700                                    RDOT                                  
036781,001045: 25,3237           43205                           DMP      DAD                                   
036782,001046: 25,3240           15226                                    K2D                                   #  C/D0 LEQ + K2D(RDOT-RDOTREF) INTO PD
036783,001047: 25,3241           77725                           PDDL                                           
036784,001048: 25,3242           03710                                    D0                                    #  D0 /805
036785,001049: 
036786,001050: 25,3243           77621        CONSTD1            BDSU                                           #  ENTER WITH DREF IN MPAC
036787,001051: 25,3244           03640                                    D                                     
036788,001052: 25,3245           43205                           DMP      DAD                                   
036789,001053: 25,3246           15224                                    K1D                                   #  K2D TERM FROM PUSH
036790,001054: 25,3247           52061                           SL       GOTO                                  
036791,001055: 25,3250           20211                                    8D                                    
036792,001056: 25,3251           53175                                    NEGTESTS                              #  (GO TO)
036793,001057: 25,3252           77604        DOWNCNTL           BOVB                                           #  INITIAL PART OF UPCONTROL.
036794,001058: 25,3253           57343                                    TCDANZIG                              #  CLEAR OVFIND, IF ON.
036795,001059: 
036796,001060: 25,3254           54345                           DLOAD    SR                                    
036797,001061: 25,3255           03624                                    LAD                                   
036798,001062: 25,3256           20611                                    8D                                    
036799,001063: 25,3257           45325                           PDDL     DSU                                   #  RDTR = LAD(V1-V)
036800,001064: 25,3260           03674                                    V                                     
036801,001065: 25,3261           00326                                    V1                                    
036802,001066: 25,3262           43205                           DMP      DAD                                   
036803,001067: 25,3263           03624                                    LAD                                   

Page 822

036805,001069: 25,3264           03700                                    RDOT                                  
036806,001070: 25,3265           43205                           DMP      DAD                                   
036807,001071: 25,3266           15226                                    K2D                                   
036808,001072:                                                                                                  #  PUSH UP LAD.
036809,001073: 25,3267           45325                           PDDL     DSU                                   #  LAD + K2D(RDOT-RDTR) INTO PD
036810,001074: 25,3270           00326                                    V1                                    
036811,001075: 25,3271           03674                                    V                                     
036812,001076: 25,3272           41316                           DSQ      DMP                                   
036813,001077: 25,3273           03624                                    LAD                                   
036814,001078: 25,3274           65271                           DDV      PDDL                                  #  (V1-V)SQ LAD/(2 C1 HS) INTO PD
036815,001079: 25,3275           15272                                    2C1HS                                 
036816,001080: 25,3276           00326                                    V1                                    
036817,001081: 25,3277           56316                           DSQ      DDV                                   
036818,001082: 25,3300           03622                                    VSQUARE                               
036819,001083: 25,3301           45265                           BDDV     DSU                                   #  DREF = (V/V1)SQ A0 - PD
036820,001084: 25,3302           00330                                    A0                                    
036821,001085:                                                                                                  #  PUSH UP HERE
036822,001086: 25,3303           77650                           GOTO                                           #  C(MPAC) = DREF
036823,001087: 25,3304           53243                                    CONSTD1                               
036824,001088: 
036825,001089:                                                                                                  #               2           2
036826,001090:                                                                                                  #  DREF = (V/V1)  A0 -(V-V1)  LAD/2 C1 HS

Page 823

036828,001092:                                                                                                  #  * START       BALLISTIC PHASE ...
036829,001093:                                                                                                  #  MM = 66       UPCONTRL ENTRY INTO KEP2.
036830,001094: 25,3305           66234        KEP                RTB      SSP                                   
036831,001095: 25,3306           54473                                    P66                                   #  DISPLAY TRIM GIMBAL ANGLE VALUES.
036832,001096: 25,3307           03646                                    GOTOADDR                              #  SET GOTOADDR TO KEPLER PHASE.
036833,001097: 25,3310           53311                                    KEP2                                  
036834,001098: 
036835,001099:                                                                                                  #  KEP2 CAN ALSO BE STARTED UP DIRECTLY FROM INITROLL
036836,001100:                                                                                                  #  IN P64.  PROGRAM WILL IDLE IN P64 UNTIL D EXCEEDS
036837,001101:                                                                                                  #  .2 G BEFORE GOING ON TO P67.
036838,001102: 
036839,001103: 25,3311           45345        KEP2               DLOAD    DSU                                   #  IF Q7F+KDMIN -D NEG, GO TO FINAL PHASE.
036840,001104: 25,3312           15166                                    Q7FKDMIN                              #  (Q7F + KDMIN)/805
036841,001105: 25,3313           03640                                    D                                     
036842,001106: 25,3314           72240                           BMN      TLOAD                                 
036843,001107: 25,3315           53325                                    PREFINAL                              
036844,001108:                                                                                                  #  SET ROLLHOLD = ROLLC, IN CASE CMDAPMOD
036845,001109: 25,3316           03316                                    ROLLC                                 #  = +1 EVER ENTERED.
036846,001110: 25,3317           72214                           BON      TLOAD                                 #  IF D > .05G, KEEP PRESENT ROLL COMMAND.
036847,001111: 25,3320           03314                                    .05GSW                                #  IF D < .05G, SET ROLL COMMAND = 0.
036848,001112: 25,3321           53323                                    +2                                    
036849,001113: 25,3322           15332                                    3ZEROS                                #  SET ROLLC & ROLLHOLD =0.
036850,001114: 25,3323           37316                 +2        STCALL   ROLLC                                 #  (SP ROLLHOLD FOLLOWS DP ROLLC)
036851,001115: 25,3324           54402                                    P62.3                                 #  CALC DESIRED GIMBAL ANGLES AT PRESENT
036852,001116:                                                                                                  #  RN, VN TO YIELD TRIM ATTITUDE.
036853,001117:                                                                                                  #  AVAILABLE IN CPHI'S FOR N22.

Page 824

036855,001119:                                                                                                  #  START FINAL PHASE ..
036856,001120:                                                                                                  #  MM = 67
036857,001121: 25,3325           47131        PREFINAL           SSP      RTB                                   
036858,001122: 25,3326           03646                                    GOTOADDR                              #  RESTART PROTECT: RESET GOTOADDR IF CAME
036859,001123: 25,3327           53325                                    PREFINAL                              #  FROM HUNTEST.
036860,001124: 25,3330           54477                                    P67                                   #  DISABLES GRP4.  FINE IF FROM HUNTEST. BUT 
036861,001125:                                                                                                  #  MAY ALSO REMOVE RESTART PROTECTION OF
036862,001126:                                                                                                  #  N69 (P65).
036863,001127:                                                                                                  #  ROLLC         XRNGERR         DNRNGERR
036864,001128:                                                                                                  #  XXX.XX DEG    XXXX.X NM       XXXX.X NM
036865,001129: 
036866,001130: 25,3331           66214                           SET      SSP                                   
036867,001131: 25,3332           03067                                    EGSW                                  
036868,001132: 25,3333           03646                                    GOTOADDR                              
036869,001133: 25,3334           53335                                    PREDICT3                              
036870,001134: 25,3335           45345        PREDICT3           DLOAD    DSU                                   #  IF V-VQUIT NEG, STOP STEERING
036871,001135: 25,3336           03674                                    V                                     
036872,001136: 25,3337           15214                                    VQUIT                                 
036873,001137: 25,3340           77440                           BMN      EXIT                                  
036874,001138: 25,3341           53605                                    STEEROFF                              
036875,001139: 
036876,001140: 25,3342           34753                           CA       EBENTRY                               #  PRECAUTIONARY.
036877,001141: 25,3343           54003                           TS       EBANK                                 
036878,001142: 
036879,001143: 25,3344           35656                           CA       TWELVE                                
036880,001144: 25,3345           55771        BACK               TS       JJ                                    
036881,001145: 
036882,001146: 25,3346           41673                           CS       V                                     
036883,001147: 25,3347           51771                           INDEX    JJ                                    
036884,001148: 25,3350           63631                           AD       VREFER                                #  VREF - V, HIGHEST VREF AT END OF TABLE.
036885,001149: 25,3351           10000                           CCS      A                                     #  IF VREF-V POS LOOP BACK
036886,001150: 25,3352           11771                           CCS      JJ                                    #  DECREMENT JJ, JJ CANNOT BE ZERO
036887,001151: 25,3353           13345                           TCF      BACK                                  
036888,001152: 25,3354           64712                           AD       ONE                                   
036889,001153: 25,3355           55646                           TS       TEM1B                                 #  V-VREF IN TEM1B (MUST BE POSITIVE NUM)
036890,001154: 
036891,001155: 25,3356           51771                           INDEX    JJ                                    
036892,001156: 25,3357           43631                           CS       VREFER                                
036893,001157: 25,3360           51771                           INDEX    JJ                                    
036894,001158: 25,3361           63632                           AD       VREFER     +1                         #  V(K+1) - V(K)                 (POS NUM)
036895,001159: 25,3362           57646                           XCH      TEM1B                                 
036896,001160: 25,3363           22007                           ZL                                             
036897,001161: 25,3364           00006                           EXTEND                                         
036898,001162: 25,3365           11646                           DV       TEM1B                                 
036899,001163: 25,3366           55651                           TS       GRAD                                  #  GRAD = (V-VREF)/(VK+1 - VK)   (POS NUM
036900,001164: 
036901,001165: 25,3367           34715                           CAF      FIVE                                  
036902,001166: 

Page 825

036904,001168: 25,3370           55650        BACK2              TS       MM                                    
036905,001169: 25,3371           34720                           CAF      THIRTEEN                              
036906,001170: 25,3372           27771                           ADS      JJ                                    
036907,001171: 25,3373           50000                           INDEX    A                                     
036908,001172: 25,3374           43631                           CS       VREFER                                
036909,001173: 25,3375           51771                           INDEX    JJ                                    
036910,001174: 25,3376           63632                           AD       VREFER     +1                         #  X(K+1) - X(K)
036911,001175: 25,3377           00006                           EXTEND                                         
036912,001176: 25,3400           71651                           MP       GRAD                                  
036913,001177: 25,3401           51771                           INDEX    JJ                                    
036914,001178: 25,3402           63631                           AD       VREFER                                
036915,001179: 25,3403           51650                           INDEX    MM                                    
036916,001180: 25,3404           55652                           TS       FX                                    #  FX = AK + GRAD (AK+1 - AK)
036917,001181: 25,3405           11650                           CCS      MM                                    
036918,001182: 25,3406           13370                           TCF      BACK2                                 
036919,001183: 25,3407           57653                           XCH      FX         +1                         #  ZERO FX +1 AND GET DREFR
036920,001184: 25,3410           61637                           AD       D                                     
036921,001185: 25,3411           00006                           EXTEND                                         
036922,001186: 25,3412           71657                           MP       FX         +5                         #  F1
036923,001187: 25,3413           52155                           DXCH     MPAC                                  #  MPAC = F1(D-DREF)
036924,001188: 
036925,001189: 25,3414           00006                           EXTEND                                         
036926,001190: 25,3415           41700                           DCS      RDOT                                  #  FORM RDOTREF - RDOT
036927,001191: 25,3416           20001                           DDOUBL                                         
036928,001192: 25,3417           20001                           DDOUBL                                         
036929,001193: 25,3420           20001                           DDOUBL                                         #  SCALE UP BY 8 FOR THIS PHASE.
036930,001194: 25,3421           61655                           AD       FX         +3                         #  RDOTREF
036931,001195: 25,3422           00006                           EXTEND                                         
036932,001196: 25,3423           71656                           MP       FX         +4                         #  F2
036933,001197: 25,3424           61654                           AD       FX         +2                         #  RTOGO
036934,001198: 25,3425           20155                           DAS      MPAC                                  #  ADD F2(DADV1-DADVR)
036935,001199: 25,3426           30154                           CA       MPAC                                  
036936,001200: 25,3427           55770                           TS       PREDANG                               
036937,001201:                                                                                                  #  L/D = LOD + (THETA- PREDANG)/ Y
036938,001202: 25,3430           06006                           TC       INTPRET                               
036939,001203: 
036940,001204: 25,3431           45242                           SR3      DSU                                   
036941,001205: 25,3432           03702                                    THETAH                                
036942,001206: 25,3433           43014                           BON      BOFF                                  
036943,001207: 25,3434           03305                                    GONEPAST                              
036944,001208: 25,3435           53462                                    GONEGLAD                              
036945,001209: 25,3436           03747                                    GONEBY                                
036946,001210: 25,3437           53445                                    HAVDNRNG                              
036947,001211: 25,3440           43145                           DLOAD    SET                                   #  SET GONEPAST IF GONEBY SET & LATCH IN -
036948,001212: 25,3441           13765                                    MAXRNG                                #  DISPLAY = 9999.9 IF GONEBY         PLACE
036949,001213: 25,3442           03065                                    GONEPAST                              
036950,001214: 25,3443           37716                           STCALL   DNRNGERR                              
036951,001215: 25,3444           53462                                    GONEGLAD                              
036952,001216: 
036953,001217: 25,3445           03716        HAVDNRNG           STORE    DNRNGERR                              #  = (PREDANG - THETA) /360

Page 826

036955,001219: 25,3446           77676                           DCOMP                                          #  FALL SHORT IF NEG, OVERSHOOT IF POS
036956,001220: 25,3447           56204                           BOVB     DDV                                   
036957,001221: 25,3450           57343                                    TCDANZIG                              #  CLEAR OVFIND IF ON.
036958,001222: 25,3451           03653                                    FX                                    #  FX= DRANGE/D L/D = Y
036959,001223: 25,3452           40061                           SL       BOV                                   
036960,001224: 25,3453           20206                                    5                                     
036961,001225: 25,3454           53464                                    GOMAXL/D                              
036962,001226: 25,3455           40015                           DAD      BOV                                   
036963,001227: 25,3456           03626                                    LOD                                   
036964,001228: 25,3457           53464                                    GOMAXL/D                              
036965,001229: 25,3460           37634                           STCALL   L/D                                   
036966,001230: 25,3461           53470                                    GLIMITER                              #  (GO TO)
036967,001231: 
036968,001232:                                                                                                  #  GONEGLAD AND GOPOSMAX ENTRY POINTS FOR GLIMITER ...
036969,001233: 
036970,001234: 25,3462           77745        GONEGLAD           DLOAD                                          #  SET L/D = -LAD
036971,001235: 25,3463           13463                                    GONEGLAD                              #  (ANY NEGATIVE NUMBER WILL DO)
036972,001236: 
036973,001237: 25,3464           41234        GOMAXL/D           RTB      DMP                                   #  L/D = LAD SIGN(MPAC)
036974,001238: 25,3465           45707                                    SIGNMPAC                              
036975,001239: 25,3466           03624                                    LAD                                   
036976,001240: 25,3467           03634                           STORE    L/D                                   #  AND FALL INTO GLIMITER SECTION
036977,001241: 
036978,001242: 25,3470           45345        GLIMITER           DLOAD    DSU                                   #  IF GMAX/2-D POS, GO TO LIMITL/D
036979,001243: 25,3471           15160                                    GMAX/2                                
036980,001244: 25,3472           03640                                    D                                     
036981,001245: 25,3473           43244                           BPL      DAD                                   #  IF GMAX  -D NEG, GO TO GOPOSLAD
036982,001246: 25,3474           53520                                    LIMITL/D                              
036983,001247: 25,3475           15160                                    GMAX/2                                
036984,001248: 25,3476           41240                           BMN      DMP                                   
036985,001249: 25,3477           53515                                    GOPOSLAD                              
036986,001250: 25,3500           15262                                    2HS                                   
036987,001251: 25,3501           41325                           PDDL     DMP                                   #  2HS(GMAX-D) INTO PD
036988,001252: 25,3502           03654                                    LEQ                                   
036989,001253: 25,3503           15330                                    1/GMAX                                
036990,001254: 25,3504           41215                           DAD      DMP                                   
036991,001255: 25,3505           03624                                    LAD                                   
036992,001256: 25,3506           56325                           PDDL     DDV                                   #  2HS(GMAX-D) (LEQ/GMAX+LAD) INTO PD
036993,001257: 25,3507           15264                                    2HSGMXSQ                              
036994,001258: 25,3510           03622                                    VSQUARE                               
036995,001259: 25,3511           75415                           DAD      SQRT                                  #  XLIM = SQRT(PD+(2HSGMAX/V)SQ)
036996,001260: 25,3512           51015                           DAD      BPL                                   #  IF RDOT+XLIM POS, GO TO LIMITL/D
036997,001261: 25,3513           03700                                    RDOT                                  
036998,001262: 25,3514           53520                                    LIMITL/D                              
036999,001263: 
037000,001264: 25,3515           77745        GOPOSLAD           DLOAD                                          
037001,001265: 25,3516           03624                                    LAD                                   
037002,001266: 25,3517           03634        STOREL/D           STORE    L/D                                   
037003,001267: 

Page 827

037005,001269: 25,3520           77745        LIMITL/D           DLOAD                                          
037006,001270: 25,3521           03634                                    L/D                                   
037007,001271: 25,3522           17636                           STODL    L/D1                                  
037008,001272: 25,3523           03622                                    VSQUARE                               
037009,001273: 
037010,001274: 25,3524           77614                           BON                                            #  NO LATERAL CONTROL IF PAST TARGET
037011,001275: 25,3525           03305                                    GONEPAST                              
037012,001276: 25,3526           53560                                    L355                                  
037013,001277: 25,3527           43205                           DMP      DAD                                   #  Y= KLAT VSQUARE + LATBIAS
037014,001278: 25,3530           03632                                    KLAT                                  
037015,001279: 25,3531           15242                                    LATBIAS                               #  Y INTO PD
037016,001280: 25,3532           51525        L350               PDDL     ABS                                   #  IF ABS(L/D)-L/DCMINR NEG, GO TO L353
037017,001281: 25,3533           03634                                    L/D                                   
037018,001282: 25,3534           50025                           DSU      BMN                                   
037019,001283: 25,3535           03630                                    L/DCMINR                              
037020,001284: 25,3536           53545                                    L353                                  
037021,001285: 25,3537           75345                           DLOAD    SIGN                                  #  IF K2ROLL LATANG NEG, GO TO L357
037022,001286: 25,3540           03676                                    LATANG                                
037023,001287: 25,3541           03644                                    K2ROLL                                
037024,001288: 25,3542           71240                           BMN      DLOAD                                 
037025,001289: 25,3543           53624                                    L357                                  
037026,001290: 25,3544           41542                           SR1      PUSH                                  #  Y = Y/2
037027,001291: 25,3545           75345        L353               DLOAD    SIGN                                  #  IF LATANG SIGN(K2ROLL)-Y POS, SWITCH
037028,001292: 25,3546           03676                                    LATANG                                
037029,001293: 25,3547           03644                                    K2ROLL                                
037030,001294: 25,3550           77625                           DSU                                            
037031,001295: 25,3551           71240                           BMN      DLOAD                                 
037032,001296: 25,3552           53560                                    L355                                  
037033,001297: 25,3553           03644                                    K2ROLL                                
037034,001298: 25,3554           57414                           BONCLR   DCOMP                                 #  IF NOSWITCH =1, K2ROLL= K2ROLL
037035,001299: 25,3555           03210                                    NOSWITCH                              
037036,001300: 25,3556           53560                                    L355                                  
037037,001301: 25,3557           03644                           STORE    K2ROLL                                #  K2ROLL = -K2ROLL
037038,001302: 
037039,001303: 25,3560           56345        L355               DLOAD    DDV                                   #  ROLLC = ACOS( (L/D1) / LAD)
037040,001304: 25,3561           03636                                    L/D1                                  
037041,001305: 25,3562           03624                                    LAD                                   #  MPAC SET TO +-1 IF OVERFLOW***
037042,001306: 25,3563           65542                           SR1      ACOS                                  
037043,001307: 25,3564           43165                           SIGN     CLEAR                                 
037044,001308: 25,3565           03644                                    K2ROLL                                
037045,001309: 25,3566           03270                                    NOSWITCH                              
037046,001310: 25,3567           03316                           STORE    ROLLC                                 
037047,001311: 
037048,001312: 25,3570           77776        ENDEXIT            EXIT                                           
037049,001313: 
037050,001314: 25,3571           34676        OVERNOUT           CA       BIT13                                 #  ENTRYDSP =92D B13
037051,001315: 25,3572           70102                           MASK     CM/FLAGS                              
037052,001316: 25,3573           00006                           EXTEND                                         
037053,001317: 25,3574           13600                           BZF      NODISKY                               #  OMIT DISPLAY.

Page 828

037055,001319: 25,3575           31263                           CA       ENTRYVN                               #  ALL ENTRY DISPLAYS ARE DONE HERE.
037056,001320: 25,3576           04555                           TC       BANKCALL                              
037057,001321: 25,3577           20621                           CADR     REGODSPR                              #  NO ABORT IF DISKY IN USE
037058,001322: 
037059,001323: 25,3600           00004        NODISKY            INHINT                                         
037060,001324: 25,3601           10067                           CCS      NEWJOB                                #  PROTECT READACCS GRP 5, IF SIDETRACKED.
037061,001325: 25,3602           05057                           TC       CHANG1                                
037062,001326: 25,3603           04574        SERVNOUT           TC       POSTJUMP                              #  ( COME HERE FROM P67.3 )
037063,001327: 25,3604           77132                           CADR     SERVEXIT                              #  AND END AVERAGEG JOB VIA ENDOFJOB.
037064,001328: 

Page 829

037066,001330:                                                                                                  #  DISPLAY WHEN V IS LESS THAN VQUIT.
037067,001331: 
037068,001332: 25,3605           77776        STEEROFF           EXIT                                           
037069,001333: 25,3606           34753                           CA       EBENTRY                               #  PRECAUTIONARY.
037070,001334: 25,3607           54003                           TS       EBANK                                 
037071,001335: 
037072,001336: 25,3610           34763                           CA       PRIO16                                #  2 LESS THAN NTRYPRIO.
037073,001337: 25,3611           05027                           TC       NOVAC                                 
037074,001338: 25,3612  E6,1661                                  EBANK=   AOG                                   #  ANY EB HERE
037075,001339: 25,3612           02511 54066                     2CADR    P67.1                                 #  START UP REMAINDER OF P67
037076,001340: 
037077,001341:                                                                                                  #  RTOGO         LAT             LONG
037078,001342:                                                                                                  #  XXXX.X NM     XXX.XX DEG      XXX.XX DEG
037079,001343: 
037080,001344: 25,3614           05261                           TC       2PHSCHNG                              #  INHINT/RELINT DONE.
037081,001345: 25,3615           00414                           OCT      00414                                 #  4.41 RESTART FOR P67.1 DISPLAY JOB.
037082,001346: 25,3616           10035                           OCT      10035                                 #  SERVICER 5.3 RESTART.
037083,001347: 
037084,001348: 25,3617           33623                           CA       P67.2CAD                              #  HEREAFTER, DO LAT, LONG.
037085,001349: 25,3620           55645                           TS       GOTOADDR                              
037086,001350: 
037087,001351: 25,3621           06006                           TC       INTPRET                               
037088,001352: 25,3622           77650                           GOTO                                           
037089,001353: 25,3623           54530        P67.2CAD                    P67.2                                 #  CONTINUE FOR LAT, LONG THIS TIME.
037090,001354: 
037091,001355: 25,3624           75345        L357               DLOAD    SIGN                                  #  L/D = L/DCMINR SIGN(L/D)
037092,001356: 25,3625           03630                                    L/DCMINR                              
037093,001357: 25,3626           03634                                    L/D                                   
037094,001358: 25,3627           37636                           STCALL   L/D1                                  
037095,001359: 25,3630           53560                                    L355                                  #  (GO TO)
037096,001360: 

Page 830

037098,001362:                                                                                                  #  TABLE USED FOR SUB-ORBITAL REFERENCE TRAJECTORY CONTROL.
037099,001363: 25,3631           00474        VREFER             DEC      .019288                               #  REFERENCE VELOCITY SCALED V/51532.3946
037100,001364: 25,3632           01235                           DEC      .040809                               #  13 POINTS ARE STORED AS THE INDEPENDENT
037101,001365: 25,3633           02337                           DEC      .076107                               #  VARIABLE AND THEN SIX 13 POINT FUNCTIONS
037102,001366: 25,3634           03721                           DEC      .122156                               #  OF V ARE STORED CONSECUTIVELY
037103,001367: 25,3635           05230                           DEC      .165546                               
037104,001368: 25,3636           06213                           DEC      .196012                               
037105,001369: 25,3637           10550                           DEC      .271945                               
037106,001370: 25,3640           11717                           DEC      .309533                               
037107,001371: 25,3641           13314                           DEC      .356222                               
037108,001372: 25,3642           14736                           DEC      .404192                               
037109,001373: 25,3643           16255                           DEC      .448067                               
037110,001374: 25,3644           16457                           DEC      .456023                               
037111,001375: 25,3645           25570                           DEC      .67918                                #  HIGHVELOCITY FOR SAFETY
037112,001376: 
037113,001377: 25,3646           77526                           DEC      -.010337                              #  DRANGE/DA     SCALED DRDA/(2700/805)
037114,001378: 25,3647           77360                           DEC      -.016550                              
037115,001379: 25,3650           77106                           DEC      -.026935                              
037116,001380: 25,3651           76516                           DEC      -.042039                              
037117,001381: 25,3652           76071                           DEC      -.058974                              
037118,001382: 25,3653           75570                           DEC      -.070721                              
037119,001383: 25,3654           74661                           DEC      -.098538                              
037120,001384: 25,3655           74436                           DEC      -.107482                              
037121,001385: 25,3656           73212                           DEC      -.147762                              
037122,001386: 25,3657           71640                           DEC      -.193289                              
037123,001387: 25,3660           54557                           DEC      -.602557                              
037124,001388: 25,3661           40000                           DEC      -.99999                               
037125,001389: 25,3662           40000                           DEC      -.99999                               
037126,001390: 
037127,001391: 25,3663           77635                           DEC      -.0478599  B-3                        #  -DRANGE/DRDOT
037128,001392: 25,3664           77563                           DEC      -.0683663  B-3                        #  SCALED ((2VS/8 2700) DR/DRDOT)
037129,001393: 25,3665           77354                           DEC      -.1343468  B-3                        
037130,001394: 25,3666           76712                           DEC      -.2759846  B-3                        
037131,001395: 25,3667           76066                           DEC      -.4731437  B-3                        
037132,001396: 25,3670           75322                           DEC      -.6472087  B-3                        
037133,001397: 25,3671           73237                           DEC      -1.171693  B-3                        
037134,001398: 25,3672           72104                           DEC      -1.466382  B-3                        
037135,001399: 25,3673           70301                           DEC      -1.905171  B-3                        
037136,001400: 25,3674           65635                           DEC      -2.547990  B-3                        
037137,001401: 25,3675           57311                           DEC      -4.151220  B-3                        
037138,001402: 25,3676           50575                           DEC      -5.813617  B-3                        
037139,001403: 25,3677           50575                           DEC      -5.813617  B-3                        
037140,001404: 

Page 831

037142,001406: 25,3700           74443                           DEC      -.0134001  B3                         #  RDOTREF       SCALED (8 RDT/2VS)
037143,001407: 25,3701           74333                           DEC      -.013947   B3                         
037144,001408: 25,3702           74433                           DEC      -.013462   B3                         
037145,001409: 25,3703           74763                           DEC      -.011813   B3                         
037146,001410: 25,3704           75432                           DEC      -.0095631  B3                         
037147,001411: 25,3705           75735                           DEC      -.00806946 B3                         
037148,001412: 25,3706           76200                           DEC      -.006828   B3                         
037149,001413: 25,3707           75735                           DEC      -.00806946 B3                         
037150,001414: 25,3710           75140                           DEC      -.0109791  B3                         
037151,001415: 25,3711           74075                           DEC      -.0151498  B3                         
037152,001416: 25,3712           73312                           DEC      -.0179817  B3                         
037153,001417: 25,3713           73732                           DEC      -.0159061  B3                         
037154,001418: 25,3714           73732                           DEC      -.0159061  B3                         
037155,001419: 
037156,001420: 25,3715           00015                           DEC      .0008067                              #  RANGE TO GO SCALED RTOGO/2700
037157,001421: 25,3716           00066                           DEC      .0032963                              #        8.9
037158,001422: 25,3717           00206                           DEC      .0081852                              #        22.1
037159,001423: 25,3720           00431                           DEC      .017148                               
037160,001424: 25,3721           00712                           DEC      .027926                               
037161,001425: 25,3722           01136                           DEC      .037                                  
037162,001426: 25,3723           02015                           DEC      .063298                               
037163,001427: 25,3724           02374                           DEC      .077889                               
037164,001428: 25,3725           03123                           DEC      .098815                               
037165,001429: 25,3726           04051                           DEC      .127519                               
037166,001430: 25,3727           05767                           DEC      .186963                               
037167,001431: 25,3730           07476                           DEC      .238148                               
037168,001432: 25,3731           11324                           DEC      .294185185                            
037169,001433: 
037170,001434: 25,3732           76272                           DEC      -.051099                              #  -AREF/805
037171,001435: 25,3733           75472                           DEC      -.074534                              
037172,001436: 25,3734           74604                           DEC      -.101242                              
037173,001437: 25,3735           74210                           DEC      -.116646                              
037174,001438: 25,3736           74052                           DEC      -.122360                              
037175,001439: 25,3737           73735                           DEC      -.127081                              
037176,001440: 25,3740           73217                           DEC      -.147453                              
037177,001441: 25,3741           73013                           DEC      -.155528                              
037178,001442: 25,3742           73155                           DEC      -.149565                              
037179,001443: 25,3743           74151                           DEC      -.118509                              
037180,001444: 25,3744           76703                           DEC      -.034907                              
037181,001445: 25,3745           77575                           DEC      -.007950                              
037182,001446: 25,3746           77575                           DEC      -.007950                              
037183,001447: 

Page 832

037185,001449: 25,3747           00112                           DEC      .004491                               #  DRANGE/D L/D SCALED Y/2700
037186,001450: 25,3750           00204                           DEC      .008081                               
037187,001451: 25,3751           00407                           DEC      .016030                               
037188,001452: 25,3752           01113                           DEC      .035815                               
037189,001453: 25,3753           02161                           DEC      .069422                               
037190,001454: 25,3754           03260                           DEC      .104519                               
037191,001455: 25,3755           03717                           DEC      .122                                  
037192,001456: 25,3756           05411                           DEC      .172407                               
037193,001457: 25,3757           10057                           DEC      .252852                               
037194,001458: 25,3760           13476                           DEC      .363148                               
037195,001459: 25,3761           20324                           DEC      .512963                               
037196,001460: 25,3762           21677                           DEC      .558519                               
037197,001461: 25,3763           21677                           DEC      .558519                               #  END OF STORED REFERENCE
037198,001462: 

Page 833

037200,001464:                                                                                                  #  REENTRY CONSTANTS.
037201,001465: 
037202,001466:                                                                                                  #  DEFINED BY EQUALS
037203,001467: 
037204,001468: 25,3764     4721               DEC15              =        LOW4                                  
037205,001469:                                                                                                  # GAMMAL1                =       22D
037206,001470: 
037207,001471: 25,3764           16631 06755  MAXRNG             2OCT     1663106755                            #  DNRNGERR = 9999.9 IF GONEPAST=1
037208,001472: 
037209,001473: 26,3144                                           BANK     26                                    
037210,001474: 26,2000                                           SETLOC   REENTRY1                              
037211,001475: 26,2000                                           BANK                                           
037212,001476: 
037213,001477: 26,3144                                           COUNT*   $$/ENTRY                              
037214,001478: 
037215,001479: 26,3144  27,3362               BARELY1            =        NEARONE                               #  COMMON TO BOTH DISK,DANCE.DEFND IN TFF
037216,001480:                                                                                                  # 1BITDP                                 COMMON TO BOTH DISK AND DANCE. DEFND IN VECPOINT.
037217,001481: 
037218,001482: 26,3144           02525        1/12TH             DEC      .083333                               #  DP 1/12 USES HI WORD IN 1/3 BELOW
037219,001483: 26,3145           12525 12525  1/3RD              2DEC     .3333333333                            #  DP 1/3
037220,001484: 
037221,001485: 26,3147  27,3356               1/16TH             =        DP2(-4)                               
037222,001486: 
037223,001487:                                                                                                  #  BELOW:  VS = VSAT = 25766.1973 FT/SEC
037224,001488:                                                                                                  #          RE = 21,202,900 FEET
037225,001489: 
037226,001490: 26,3147           04631 23146  LEWD1              2DEC     .15                                   
037227,001491: 26,3151           03146 14632  POINT1             2DEC     .1                                    
037228,001492: 26,3153           06314 31463  POINT2             2DEC     .2                                    #  .2
037229,001493: 26,3155           76314 71462  DLEWD0             2DEC     -.05                                  #  -.05
037230,001494: 26,3157           05075 16051  GMAX/2             2DEC     .16                                   #  8 GS / 2
037231,001495: 
037232,001496: 26,3161  26,3331               3ZEROS             EQUALS   HI6ZEROS                              
037233,001497: 
037234,001498: 26,3161           07777 00000  NEAR1/4            2OCT     0777700000                            #  1/4 LESS 1 BIT IN UPPER PART.
037235,001499: 26,3163           00236 36763  C18                2DEC     .0097026346                            #  500/2VS
037236,001500: 26,3165           00204 11303  Q7FKDMIN           2DEC     .0080745342                            #  6.5/805  (Q7F +KDMIN) = 6 + .5)
037237,001501: 
037238,001502: 26,3167  27,3356               C1/16              =        DP2(-4)                               
037239,001503: 
037240,001504: 26,3167           05260 05572  Q3                 2DEC     .167003132                            #  .07 2VS/21600

Page 834

037242,001506: 26,3171           12343 21616  Q5                 2DEC     .326388889                            #  .3 23500/21600
037243,001507: 26,3173           01073 31515  Q6                 2DEC     .0349                                 #  2 DEG, APPROX 820/23500
037244,001508: 26,3175           00172 03571  Q7F                2DEC     .0074534161                            #  6/805  (VALUE OF Q7 IN FIXED MEM.)
037245,001509: 26,3177  26,3327               Q19                =        HALVE                                 #  Q19 = .5
037246,001510: 26,3177           00573 10230  Q21                2DEC     .0231481481                            #  500/21600
037247,001511: 26,3201           76226 45761  Q22                2DEC     -.053333333                            #  -1152/21600
037248,001512: 26,3203           13132 33062  VLMIN              2DEC     .34929485                             #  18000/2 VS
037249,001513: 26,3205  26,3321               VMIN               =        FOURTH                                #  (VS/2) / 2VS
037250,001514: 26,3205           00160 05104  C12                2DEC     .00684572901                            #  32 28500/(21202900 2 PI)
037251,001515: 26,3207           11322 32265  1/KB1              2DEC     .29411765                             #  1 / 3.4
037252,001516: 26,3211           75047 72454  -1/KB2             2DEC     -.0057074322 B4                         #  = - 1/(.0034 2 VS) EXP +4
037253,001517: 26,3213           00475 35746  VQUIT              2DEC     .019405269                            #  1000 /2VS
037254,001518: 26,3215           06751 27515  C20                2DEC     .21739130                             #  (175 FPSS) LIFT UP IF ABOVE C20
037255,001519: 26,3217           05441 14412  C21                2DEC     .17391304                             #  140/805
037256,001520: 26,3221           00022 36641  25NM               2DEC     .0011574074                            #  25/21600      (25 NAUT MILES)
037257,001521: 26,3223           01003 06315  K1D                2DEC     .0314453125                            #  =C16 805/256 = .01 805/256
037258,001522: 26,3225           71435 75516  K2D                2DEC     -.201298418                            #  -C17 2VS/256 = -.001 2VS/256
037259,001523: 26,3227           32047 24367  KVSCALE            2DEC     .81491944                             #  12800/(2 VS .3048)
037260,001524: 26,3231           37200 05636  KASCALE            2DEC     .97657358                             #  5.85 16384/(4 .3048 100 805)
037261,001525: 26,3233           00046 13137  KTETA              2DEC*    .383495203 E2         B-14*           #  1000 2PI/16384(163.84)
037262,001526: 26,3235           00017 30730  KT1                2DEC*    .157788327 E2         B-14*           #  RE(2PI)/2 VS(16384) 163.84
037263,001527: 26,3237           00040 30447  .05G               2DEC     .002                                  #  .05/25
037264,001528: 26,3241           00000 17565  LATBIAS            2DEC     .00003                                #  APPRX .5 NM/ 4(21600/2 PI)
037265,001529: 26,3243           01727 20103  KWE                2DEC     .120056652 B-1                        
037266,001530: 26,3245           00121 17460  KACOS              2DEC     .004973592                            #  1/32(2PI)
037267,001531: 26,3247           00400 00000  CHOOK              2DEC     1          B-6                        #  .25/16

Page 835

037269,001533: 26,3251           01252 25253  1/24TH             2DEC     .0833333333 B-1                        
037270,001534: 26,3253           24365 30244  CH1                2DEC     .32        B1                         #  16 CH1/25 = 16 (1) /25
037271,001535: 26,3255           77152 51354  KC3                2DEC     -.0247622232                            #  -(4 VS VS/ 2 PI 805 RE)
037272,001536: 26,3257           00336 21610  VRCONT             2DEC     .0135836886                            #  700/2 VSAT
037273,001537: 
037274,001538: 26,3261  26,3327               HALVE              EQUALS   HIDPHALF                              
037275,001539: 26,3261  26,3321               FOURTH             EQUALS   HIDP1/4                               
037276,001540: 
037277,001541: 26,3261  26,3327               1/GMAX             EQUALS   HALVE                                 #  4/GMAX = 4 / 8
037278,001542: 
037279,001543: 26,3261           00433 02775  2HS                2DEC     .0172786611                            #  2 28500 25 32.2/(4 VS VS)
037280,001544: 26,3263           00000 20017  2HSGMXSQ           2DEC     .0000305717                            #  (2 28500 8 32.2/ 4 VS VS)SQ
037281,001545: 26,3265           77765 70243  C001               2DEC     -.000625                              #  -(4/25)/256   LEQ/D0 CONST
037282,001546: 26,3267           31463 06315  POINT8             2DEC     .8                                    
037283,001547: 26,3271           00541 33575  2C1HS              2DEC     .0215983264                            #  2 1.25 28500 805/(2 VS)SQ
037284,001548: 26,3273           00146 14632  PT1/16             2DEC     .1         B-4                        
037285,001549: 26,3275           00052 30013  1/K44              2DEC     .00260929464                            #  2 VS/19749550
037286,001550: 26,3277           20411 03041  VFINAL             2DEC     .51618016                             #  26600/2 VS
037287,001551: 26,3301           20610 10513  VFINAL1            2DEC     .523942273                            #  = 27000 / 2 VS
037288,001552: 26,3303           11473 02355  1/KA1              2DEC     .30048077                             #  25/(1.3 64)
037289,001553: 26,3305           00203 02234  KA2                2DEC     .008                                  #  .2/25
037290,001554: 26,3307           16237 00146  KA3                2DEC     .44720497                             #  = 90 4/805
037291,001555: 26,3311           01456 03450  KA4                2DEC     .049689441                            #  40/805
037292,001556: 26,3313  26,3311               Q7MIN              =        KA4                                   #  = 40/805 = .049689441
037293,001557: 26,3313           56232 72332  -HSCALED           2DEC     -.55305018                            #  -28500/2 VS
037294,001558: 26,3315           77000 43741  -KSCALE            2DEC     -.0312424837                            #  -805/VS
037295,001559: 26,3317           36702 21727  COS15              2DEC     .965                                  
037296,001560: 26,3321  26,3144               LATSLOPE           EQUALS   1/12TH                                
037297,001561: 
037298,001562:                                                                                                  #  ... END OF RE-ENTRY CONSTANTS ...
037299,001563: 

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