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.

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

Page 798

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

Page 799

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

Page 800

035865,000147:                                                                                                  #  RN AND VN.
035866,000148: 25,2075           37524                           STCALL   TIME/RTO                              #  SAVE TIME BASE OF RTINIT.
035867,000149: 25,2076           26373                                    LALOTORV                              #  C(MPAC) =TIME  (PIPTIME)
035868,000150: 25,2077           77656                           UNIT                                           #  ANSWER IN ALPHAV ALSO
035869,000151: 25,2100           17452                           STODL    RTINIT                                #  .5 UNIT TARGET                REF COORDS
035870,000152: 25,2101           12112                                    500SEC                                #  NOMINAL ENTRY TIME FOR P63
035871,000153:                                                                                                  #  TIME/RTO = PIPTIME, STILL.
035872,000154: 25,2102           37606                           STCALL   DTEAROT                               #  INITIALIZE EARROT
035873,000155: 25,2103           46215                                    EARROT1                               #  GET RT
035874,000156: 25,2104           72441                           DOT      SL1                                   
035875,000157: 25,2105           01760                                    UNITR                                 #  RT/2 IN MPAC
035876,000158: 25,2106           77726                           ACOS                                           
035877,000159: 25,2107           37702                           STCALL   THETAH                                #  RANGE ANGLE /360
035878,000160: 25,2110           03645                                    GOTOADDR                              #  RETURN TO CALLER
035879,000161: 
035880,000162: 25,2111           00003 01520  500SEC             2DEC     50000      B-28                       #  CS
035881,000163: 25,2113           11774        ENTMASK            OCT      11774                                 
035882,000164: 25,2114           11010        ENTRYSW            OCT      11010                                 #  ENTRYDSP B13,  GONEPAST B10,  LATSW B4

Page 801

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

Page 802

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

Page 803

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

Page 804

036032,000314: 25,2235           15240                                    .05G                                  
036033,000315: 25,2236           52255                                    NO.05G                                
036034,000316: 25,2237           77214                           SET      VLOAD                                 
036035,000317: 25,2240           03074                                    .05GSW                                
036036,000318: 25,2241           03433                                    DELVREF                               
036037,000319: 25,2242           50206                           PUSH     DOT                                   
036038,000320: 25,2243           03542                                    UXA/2                                 
036039,000321: 25,2244           63552                           SL1      DSQ                                   
036040,000322: 25,2245           47515                           PDVL     VSQ                                   #  EXCHANGE WITH PDL.
036041,000323: 25,2246           56225                           DSU      DDV                                   
036042,000324: 25,2247           00001                                    0                                     
036043,000325: 25,2250           75400                           BOV      SQRT                                  
036044,000326: 25,2251           52253                                    NOLDCALC                              #  OVFL LAST CLEARED IN EARROT2 ABOVE.
036045,000327: 25,2252           03727                           STORE    L/DCALC                               
036046,000328: 
036047,000329: 25,2253           77650        NOLDCALC           GOTO                                           
036048,000330: 25,2254           03373                                    60GENRET                              
036049,000331: 
036050,000332: 25,2255           52014        NO.05G             CLEAR    GOTO                                  #  THIS WAY FOR DAP. (MAY INTERRUPT)
036051,000333: 25,2256           03274                                    .05GSW                                #  .05GSW = 102D B3
036052,000334: 25,2257           52253                                    NOLDCALC                              #  KEEP SINGLE EXIT FOR TARGETNG
036053,000335: 

Page 805

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

Page 806

036106,000388: 26,3135           51425        TINYTHET           DSU      ABS                                   #  ENTER WITH X-.249
036107,000389: 26,3136           16327                                    1BITDP     +1                         #  GET 1/4 - MPAC
036108,000390: 26,3137           75461                           SL       SQRT                                  #  SCALE UP BEFORE SQRT
036109,000391: 26,3140           20216                                    13D                                   #  HAS FACTOR FOR UP SCALING
036110,000392: 26,3141           52005                           DMP      GOTO                                  
036111,000393: 26,3142           15246                                    KACOS                                 
036112,000394: 26,3143           52226                                    THETDONE                              
036113,000395: 

Page 807

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

Page 808

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

Page 809

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

Page 810

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

Page 811

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

Page 812

036362,000644: 25,2557           15330                                    Q19                                   
036363,000645: 25,2560           00027                                    GAMMAL1                               
036364,000646: 25,2561           14027                           STODL    GAMMAL1                               
036365,000647: 25,2562           03771                                    GAMMAL                                
036366,000648: 

Page 813

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

Page 814

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

Page 815

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

Page 816

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

Page 817

036566,000848:                                                                                                  #  COME TO PRE-HUNT WHEN RESTART OCCURS AFTER
036567,000849:                                                                                                  #  HUNTEST IS SIDE-TRACKED AT SIDETRAK.
036568,000850:                                                                                                  #  PICK UP IN GROUP 4.
036569,000851: 
036570,000852: 25,3006           06006        PRE-HUNT           TC       INTPRET                               
036571,000853: 25,3007           45014                           CLEAR    CALL                                  
036572,000854: 25,3010           03271                                    HIND                                  #  HIND  99D BIT 6 FLAG 6
036573,000855: 25,3011           53014                                    FOREHUNT                              #  RE-INITIALIZE HUNTEST AFTER RE-START.
036574,000856: 25,3012           77650                           GOTO                                           
036575,000857: 25,3013           52365                                    HUNTEST                               
036576,000858: 25,3014           77745        FOREHUNT           DLOAD                                          #  INITIALIZE HUNTEST.
036577,000859: 25,3015           15332                                    3ZEROS                                
036578,000860: 25,3016           17612                           STODL    DIFFOLD                               
036579,000861: 25,3017           15156                                    DLEWD0                                
036580,000862: 25,3020           17642                           STODL    DLEWD                                 
036581,000863: 25,3021           15150                                    LEWD1                                 
036582,000864: 25,3022           03725                           STORE    LEWD                                  
036583,000865: 25,3023           77616                           RVQ                                            
036584,000866: 
036585,000867: 25,3024           53570        ADENDEXT           CADR     ENDEXIT                               
036586,000868: 

Page 818

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

Page 819

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

Page 820

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

Page 821

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

Page 822

036787,001069: 25,3264           03700                                    RDOT                                  
036788,001070: 25,3265           43205                           DMP      DAD                                   
036789,001071: 25,3266           15226                                    K2D                                   
036790,001072:                                                                                                  #  PUSH UP LAD.
036791,001073: 25,3267           45325                           PDDL     DSU                                   #  LAD + K2D(RDOT-RDTR) INTO PD
036792,001074: 25,3270           00326                                    V1                                    
036793,001075: 25,3271           03674                                    V                                     
036794,001076: 25,3272           41316                           DSQ      DMP                                   
036795,001077: 25,3273           03624                                    LAD                                   
036796,001078: 25,3274           65271                           DDV      PDDL                                  #  (V1-V)SQ LAD/(2 C1 HS) INTO PD
036797,001079: 25,3275           15272                                    2C1HS                                 
036798,001080: 25,3276           00326                                    V1                                    
036799,001081: 25,3277           56316                           DSQ      DDV                                   
036800,001082: 25,3300           03622                                    VSQUARE                               
036801,001083: 25,3301           45265                           BDDV     DSU                                   #  DREF = (V/V1)SQ A0 - PD
036802,001084: 25,3302           00330                                    A0                                    
036803,001085:                                                                                                  #  PUSH UP HERE
036804,001086: 25,3303           77650                           GOTO                                           #  C(MPAC) = DREF
036805,001087: 25,3304           53243                                    CONSTD1                               
036806,001088: 
036807,001089:                                                                                                  #               2           2
036808,001090:                                                                                                  #  DREF = (V/V1)  A0 -(V-V1)  LAD/2 C1 HS

Page 823

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

Page 824

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

Page 825

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

Page 826

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

Page 827

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

Page 828

037037,001319: 25,3575           31263                           CA       ENTRYVN                               #  ALL ENTRY DISPLAYS ARE DONE HERE.
037038,001320: 25,3576           04555                           TC       BANKCALL                              
037039,001321: 25,3577           20621                           CADR     REGODSPR                              #  NO ABORT IF DISKY IN USE
037040,001322: 
037041,001323: 25,3600           00004        NODISKY            INHINT                                         
037042,001324: 25,3601           10067                           CCS      NEWJOB                                #  PROTECT READACCS GRP 5, IF SIDETRACKED.
037043,001325: 25,3602           05057                           TC       CHANG1                                
037044,001326: 25,3603           04574        SERVNOUT           TC       POSTJUMP                              #  ( COME HERE FROM P67.3 )
037045,001327: 25,3604           77132                           CADR     SERVEXIT                              #  AND END AVERAGEG JOB VIA ENDOFJOB.
037046,001328: 

Page 829

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

Page 830

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

Page 831

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

Page 832

037167,001449: 25,3747           00112                           DEC      .004491                               #  DRANGE/D L/D SCALED Y/2700
037168,001450: 25,3750           00204                           DEC      .008081                               
037169,001451: 25,3751           00407                           DEC      .016030                               
037170,001452: 25,3752           01113                           DEC      .035815                               
037171,001453: 25,3753           02161                           DEC      .069422                               
037172,001454: 25,3754           03260                           DEC      .104519                               
037173,001455: 25,3755           03717                           DEC      .122                                  
037174,001456: 25,3756           05411                           DEC      .172407                               
037175,001457: 25,3757           10057                           DEC      .252852                               
037176,001458: 25,3760           13476                           DEC      .363148                               
037177,001459: 25,3761           20324                           DEC      .512963                               
037178,001460: 25,3762           21677                           DEC      .558519                               
037179,001461: 25,3763           21677                           DEC      .558519                               #  END OF STORED REFERENCE
037180,001462: 

Page 833

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

Page 834

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

Page 835

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

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