Source Code

This source code is very close to the Apollo Guidance Computer software for the Apollo 13 Lunar module. This revision of the Luminary 131 program is from December of 1969, whereas there was a later revision in January of 1970, and still another revision in February, which is the code that flew on the mission. As far as this transcription is concerned, it was originally from a copy made in 1991 of a printout from the collection of AGC developer Don Eyles for collector David Craig. It was subsequently scanned by Gary Neff, reprocessed for online presentation at the now-discontinued History of Recent Science and Technology (HRST) website of MIT's Dibner Institute (the full-quality scans being discarded in the process), and finally transcribed by Ron Burkey for the Virtual AGC Project. Although a high-quality replacement scan for a completely illegible page was later provided by Gary Neff, the reduced legibility of the reprocessed HRST posting nevertheless caused many errors to be introduced into the transcription. Accordingly, a second scan of the same physical printout was made in 2017 for the Virtual AGC Project's collection at the Internet Archive, and used to correct the transcription errors. All of the scanned materials mentioned, as well as other Luminary 131 related material, are available online. Don Eyles apprently made additional hand-written notes in printout between 1991 and 2017, so the two scans are not identical in that respect. The page-headings in the printout read, in part:
	GAP:  ASSEMBLE REVISION 131 OF AGC PROGRAM LUMINARY BY NASA 2021112-091
	17:53 DEC. 19, 1969
Note that the date is the date the printout was made, not the date on which the program revision was released, although these happen to be very close together.

047912,000002:                                                                                                  ## Copyright:   Public domain.
047913,000003:                                                                                                  ## Filename:    MEASUREMENT_INCORPORATION.agc
047914,000004:                                                                                                  ## Purpose:     A section of Luminary 1C, revision 131.
047915,000005:                                                                                                  ##              It is part of the source code for the Lunar Module's (LM)
047916,000006:                                                                                                  ##              Apollo Guidance Computer (AGC) for Apollo 13.
047917,000007:                                                                                                  ##              This file is intended to be a faithful transcription, except
047918,000008:                                                                                                  ##              that the code format has been changed to conform to the
047919,000009:                                                                                                  ##              requirements of the yaYUL assembler rather than the
047920,000010:                                                                                                  ##              original YUL assembler.
047921,000011:                                                                                                  ## Reference:   pp. 1143-1152
047922,000012:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
047923,000013:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
047924,000014:                                                                                                  ## Mod history: 06/01/03 RSB.   Began transcribing.
047925,000015:                                                                                                  ##              05/14/05 RSB    Corrected website reference above.
047926,000016:                                                                                                  ##              2010-10-25 JL   Indentation fixes.
047927,000017:                                                                                                  ##              2017-01-06 RSB  Page numbers now agree with those on the
047928,000018:                                                                                                  ##                              original hardcopy, as opposed to the PDF page
047929,000019:                                                                                                  ##                              numbers in 1701.pdf.
047930,000020:                                                                                                  ##              2017-02-27 RSB  Proofed comment text using octopus/ProoferComments.
047931,000021:                                                                                                  ##              2017-03-13 RSB  Comment-text fixes noted in proofing Luminary 116.
047932,000022:                                                                                                  ##              2021-05-30 ABS  ZEROD -> ZEROO
047933,000023: 

Page 1143

047935,000025:                                                                                                  #   INCORP1--PERFORMS THE SIX DIMENSIONAL STATE VECTOR DEVIATION FOR POSITI
047936,000026:                                                                                                  #  ON AND VELOCITY OR THE NINE DIMENSIONAL DEVIATION OF POSITION,VELOCITY,A
047937,000027:                                                                                                  #  ND RADAR OR LANDMARK BIAS.THE OUTPUT OF THE BVECTOR ROUTINE ALONG WITH T
047938,000028:                                                                                                  #  HE ERROR TRANSITION MATRIX(W) ARE USED AS INPUT TO THE ROUTINE.THE DEVIA
047939,000029:                                                                                                  #  TION IS OBTAINED BY COMPUTING AN ESTIMATED TRACKING MEASUREMENT FROM THE
047940,000030:                                                                                                  #  CURRENT STATE VECTOR AND COMPARING IT WITH AN ACTUAL TRACKING MEASUREMEN
047941,000031:                                                                                                  #  T AND APPLYING A STATISTICAL WEIGHTING VECTOR.
047942,000032: 
047943,000033:                                                                                                  #  INPUT
047944,000034:                                                                                                  #         DMENFLG = 0 6DIMENSIONAL BVECTOR  1= 9DIMENSIONAL
047945,000035:                                                                                                  #               W = ERROR TRANSITION MATRIX 6X6 OR 9X9
047946,000036:                                                                                                  #        VARIANCE = VARIANCE (SCALAR)
047947,000037:                                                                                                  #          DELTAQ = MEASURED DEVIATION (SCALAR)
047948,000038:                                                                                                  #         BVECTOR = 6 OR 9 DIMENSIONAL BVECTOR
047949,000039: 
047950,000040:                                                                                                  #  OUTPUT
047951,000041:                                                                                                  #          DELTAX = STATE VECTOR DEVIATIONS 6 OR 9 DIMENSIONAL
047952,000042:                                                                                                  #              ZI = VECTOR USED FOR THE INCORPORATION 6 OR 9 DIMENSIONAL
047953,000043:                                                                                                  #           GAMMA = SCALAR
047954,000044:                                                                                                  #           OMEGA = OMEGA WEIGHTING VECTOR 6 OR 9 DIMENTIONAL
047955,000045: 
047956,000046:                                                                                                  #  CALLING SEQUENCE
047957,000047:                                                                                                  #        L       CALL    INCORP1
047958,000048: 
047959,000049:                                                                                                  #  NORMAL EXIT
047960,000050:                                                                                                  #        L+1 OF CALLING SEQUENCE
047961,000051: 
047962,000052: 37,3652                                           BANK     37                                    
047963,000053: 23,2000                                           SETLOC   MEASINC                               
047964,000054: 23,2000                                           BANK                                           
047965,000055: 
047966,000056: 23,2533                                           COUNT*   $$/INCOR                              
047967,000057: 
047968,000058: 23,2533  E5,1400                                  EBANK=   W                                     
047969,000059: 
047970,000060: 23,2533           77620        INCORP1            STQ                                            
047971,000061: 23,2534           02772                                    EGRESS                                
047972,000062: 23,2535           66370                           AXT,1    SSP                                   
047973,000063: 23,2536           00066                                    54D                                   
047974,000064: 23,2537           00051                                    S1                                    
047975,000065: 23,2540           00022                                    18D                                   #  IX1 = 54      S1= 18
047976,000066: 23,2541           66374                           AXT,2    SSP                                   
047977,000067: 23,2542           00022                                    18D                                   
047978,000068: 23,2543           00052                                    S2                                    
047979,000069: 23,2544           00006                                    6                                     #  IX2 = 18      S2=6
047980,000070: 23,2545           63775        Z123               VLOAD    MXV*                                  
047981,000071: 23,2546           03525                                    BVECTOR                               #  BVECTOR (0)
047982,000072: 23,2547           02467                                    W          +54D,1                     
047983,000073: 23,2550           12665                           STORE    ZI         +18D,2                     
047984,000074: 23,2551           77775                           VLOAD                                          
047985,000075: 23,2552           03533                                    BVECTOR    +6                         #  BVECTOR (1)

Page 1144

047987,000077: 23,2553           52717                           MXV*     VAD*                                  
047988,000078: 23,2554           02555                                    W          +108D,1                    
047989,000079: 23,2555           75112                                    ZI         +18D,2                     
047990,000080: 23,2556           12665                           STORE    ZI         +18D,2                     
047991,000081: 23,2557           77775                           VLOAD                                          
047992,000082: 23,2560           03541                                    BVECTOR    +12D                       #  BVECTOR (2)
047993,000083: 23,2561           52717                           MXV*     VAD*                                  
047994,000084: 23,2562           02643                                    W          +162D,1                    
047995,000085: 23,2563           75112                                    ZI         +18D,2                     #  B(0)*W+B(1)*(W+54)+B(2)*(W+108) FIRST PAS
047996,000086: 23,2564           12665                           STORE    ZI         +18D,2                     #  ZI THEN Z2 THEN Z3
047997,000087: 23,2565           77700                           TIX,1                                          
047998,000088: 23,2566           46567                                    INCOR1                                
047999,000089: 23,2567           43104        INCOR1             TIX,2    BON                                   
048000,000090: 23,2570           46545                                    Z123                                  #  LOOP FOR Z1,Z2,Z3
048001,000091: 23,2571           02706                                    DMENFLG                               
048002,000092: 23,2572           46576                                    INCOR1A                               
048003,000093: 23,2573           77775                           VLOAD                                          
048004,000094: 23,2574           06524                                    ZEROVECS                              
048005,000095: 23,2575           02657                           STORE    ZI         +12D                       
048006,000096: 23,2576           77201        INCOR1A            SETPD    VLOAD                                 
048007,000097: 23,2577           00001                                    0                                     
048008,000098: 23,2600           02643                                    ZI                                    
048009,000099: 23,2601           47036                           VSQ      RTB                                   
048010,000100: 23,2602           21634                                    TPMODE                                
048011,000101: 23,2603           47515                           PDVL     VSQ                                   
048012,000102: 23,2604           02651                                    ZI         +6                         
048013,000103: 23,2605           76234                           RTB      TAD                                   
048014,000104: 23,2606           21634                                    TPMODE                                
048015,000105: 23,2607           47515                           PDVL     VSQ                                   
048016,000106: 23,2610           02657                                    ZI         +12D                       
048017,000107: 23,2611           76234                           RTB      TAD                                   
048018,000108: 23,2612           21634                                    TPMODE                                
048019,000109: 23,2613           77171                           TAD      AXT,2                                 
048020,000110: 23,2614           02707                                    VARIANCE                              
048021,000111: 23,2615           00000                                    0                                     
048022,000112: 23,2616           02665                           STORE    TRIPA                                 #  ZI*2 + Z2*2 + Z3*2 + VARIANCE
048023,000113: 23,2617           40151                           TLOAD    BOV                                   
048024,000114: 23,2620           02707                                    VARIANCE                              #  CLEAR OVFIND
048025,000115: 23,2621           46622                                    +1                                    
048026,000116: 23,2622           02670                           STORE    TEMPVAR                               #  TEMP STORAGE FOR VARIANCE
048027,000117: 23,2623           77654                           BZE                                            
048028,000118: 23,2624           46633                                    INCOR1C                               
048029,000119: 23,2625           40112        INCOR1B            SL2      BOV                                   
048030,000120: 23,2626           46633                                    INCOR1C                               
048031,000121: 23,2627           02670                           STORE    TEMPVAR                               
048032,000122: 23,2630           52114                           INCR,2   GOTO                                  
048033,000123: 23,2631           00001                           DEC      1          B-14                       
048034,000124: 23,2632           46625                                    INCOR1B                               
048035,000125: 23,2633           61551        INCOR1C            TLOAD    ROUND                                 
048036,000126: 23,2634           02665                                    TRIPA                                 

Page 1145

048038,000128: 23,2635           75405                           DMP      SQRT                                  
048039,000129: 23,2636           02670                                    TEMPVAR                               
048040,000130: 23,2637           76257                           SL*      TAD                                   
048041,000131: 23,2640           57576                                    0,2                                   
048042,000132: 23,2641           02665                                    TRIPA                                 
048043,000133: 23,2642           63101                           NORM     INCR,2                                
048044,000134: 23,2643           00050                                    X2                                    
048045,000135: 23,2644           77775                           DEC      -2         B-14                       
048046,000136: 23,2645           77134                           SXA,2    AXT,2                                 
048047,000137: 23,2646           02103                                    NORMGAM                               #  NORMALIZATION COUNT -2 FOR GAMMA
048048,000138: 23,2647           00242                                    162D                                  
048049,000139: 23,2650           40265                           BDDV     SETPD                                 
048050,000140: 23,2651           06514                                    DP1/4TH                               
048051,000141: 23,2652           00001                                    0                                     
048052,000142: 23,2653           03500                           STORE    GAMMA                                 
048053,000143: 23,2654           60351                           TLOAD    NORM                                  
048054,000144: 23,2655           02665                                    TRIPA                                 
048055,000145: 23,2656           00047                                    X1                                    
048056,000146: 23,2657           65345                           DLOAD    PDDL                                  #  PD 0-1 = NORM (A)
048057,000147: 23,2660           00155                                    MPAC                                  
048058,000148: 23,2661           03547                                    DELTAQ                                
048059,000149: 23,2662           77701                           NORM                                           
048060,000150: 23,2663           00051                                    S1                                    
048061,000151: 23,2664           70460                           XSU,1    SR1                                   
048062,000152: 23,2665           00050                                    S1                                    
048063,000153: 23,2666           41471                           DDV      PUSH                                  #  PD 0-1 = DELTAQ/A
048064,000154: 23,2667           77650                           GOTO                                           
048065,000155: 23,2670           45711                                    NEWZCOMP                              
048066,000156: 23,2671           77731                 -3        SSP                                            
048067,000157: 23,2672           00052                                    S2                                    
048068,000158: 23,2673           00066                                    54D                                   
048069,000159: 23,2674           60775        INCOR2             VLOAD    VXM*                                  #  COMPUTE OMEGA1,2,3
048070,000160: 23,2675           02643                                    ZI                                    
048071,000161: 23,2676           75134                                    W          +162D,2                    
048072,000162: 23,2677           77206                           PUSH     VLOAD                                 
048073,000163: 23,2700           02651                                    ZI         +6                         
048074,000164: 23,2701           53303                           VXM*     VAD                                   
048075,000165: 23,2702           75112                                    W          +180D,2                    
048076,000166: 23,2703           77206                           PUSH     VLOAD                                 
048077,000167: 23,2704           02657                                    ZI         +12D                       
048078,000168: 23,2705           53303                           VXM*     VAD                                   
048079,000169: 23,2706           75070                                    W          +198D,2                    
048080,000170: 23,2707           61006                           PUSH     TIX,2                                 #  PD 2-7=OMEGA1,8-13=OMEGA2,14-19=OMEGA3
048081,000171: 23,2710           46674                                    INCOR2                                
048082,000172: 23,2711           45575                           VLOAD    STADR                                 
048083,000173: 23,2712           74260                           STORE    OMEGA      +12D                       
048084,000174: 23,2713           45575                           VLOAD    STADR                                 
048085,000175: 23,2714           74266                           STORE    OMEGA      +6                         
048086,000176: 23,2715           45575                           VLOAD    STADR                                 
048087,000177: 23,2716           74274                           STORE    OMEGA                                 

Page 1146

048089,000179: 23,2717           77214                           BON      VLOAD                                 
048090,000180: 23,2720           02706                                    DMENFLG                               
048091,000181: 23,2721           46724                                    INCOR2AB                              
048092,000182: 23,2722           06524                                    ZEROVECS                              
048093,000183: 23,2723           03517                           STORE    OMEGA      +12D                       
048094,000184: 23,2724           66374        INCOR2AB           AXT,2    SSP                                   
048095,000185: 23,2725           00022                                    18D                                   
048096,000186: 23,2726           00052                                    S2                                    
048097,000187: 23,2727           00006                                    6                                     
048098,000188: 23,2730           77773        INCOR3             VLOAD*                                         
048099,000189: 23,2731           74252                                    OMEGA      +18D,2                     
048100,000190: 23,2732           53761                           VXSC     VSL*                                  
048101,000191: 23,2733           00001                                    0                                     #  DELTAQ/A
048102,000192: 23,2734           20201                                    0,1                                   
048103,000193: 23,2735           12707                           STORE    DELTAX     +18D,2                     
048104,000194: 23,2736           77304                           TIX,2    VLOAD                                 
048105,000195: 23,2737           46730                                    INCOR3                                
048106,000196: 23,2740           02673                                    DELTAX     +6                         
048107,000197: 23,2741           77732                           VSL3                                           
048108,000198: 23,2742           02673                           STORE    DELTAX     +6                         
048109,000199: 23,2743           77650                           GOTO                                           
048110,000200: 23,2744           02772                                    EGRESS                                
048111,000201: 

Page 1147

048113,000203:                                                                                                  #   INCORP2 -INCORPORATES THE COMPUTED STATE VECTOR DEVIATIONS INTO THE
048114,000204:                                                                                                  #  ESTIMATED STATE VECTOR.  THE STATE VECTOR UPDATED MAY BE FOR EITHER THE
048115,000205:                                                                                                  #  LEM OR THE CSM.  DETERMINED BY FLAG VEHUPFLG.  (ZERO = LEM) (1 = CSM)
048116,000206: 
048117,000207:                                                                                                  #  INPUT
048118,000208:                                                                                                  #        PERMANENT STATE VECTOR FOR EITHER THE LEM OR CSM
048119,000209:                                                                                                  #        VEHUPFLG = UPDATE VEHICLE 0=LEM 1=CSM
048120,000210:                                                                                                  #        W = ERROR TRANSITION MATRIX
048121,000211:                                                                                                  #        DELTAX = COMPUTED STATE VECTOR DEVIATIONS
048122,000212:                                                                                                  #        DMENFLG = SIZE OF W MATRIX (ZERO=6X6) (1=9X9)
048123,000213:                                                                                                  #        GAMMA = SCALAR FOR INCORPORATION
048124,000214:                                                                                                  #        ZI = VECTOR USED IN INCORPORATION
048125,000215:                                                                                                  #        OMEGA = WEIGHTING VECTOR
048126,000216: 
048127,000217:                                                                                                  #  OUTPUT
048128,000218:                                                                                                  #        UPDATED PERMANENT STATE VECTOR
048129,000219: 
048130,000220:                                                                                                  #  CALLING SEQUENCE
048131,000221:                                                                                                  #        L       CALL    INCORP2
048132,000222: 
048133,000223:                                                                                                  #  NORMAL EXIT
048134,000224:                                                                                                  #        L+1 OF CALLING SEQUENCE
048135,000225: 
048136,000226: 
048137,000227: 23,2000                                           SETLOC   MEASINC1                              
048138,000228: 23,2000                                           BANK                                           
048139,000229: 
048140,000230: 23,2745                                           COUNT*   $$/INCOR                              
048141,000231: 
048142,000232: 23,2745           45020        INCORP2            STQ      CALL                                  
048143,000233: 23,2746           02772                                    EGRESS                                
048144,000234: 23,2747           27410                                    INTSTALL                              
048145,000235: 23,2750           74375                           VLOAD    VXSC                                  #  CALC. GAMMA*OMEGA1,2,3
048146,000236: 23,2751           03503                                    OMEGA                                 
048147,000237: 23,2752           03500                                    GAMMA                                 
048148,000238: 23,2753           26713                           STOVL    OMEGAM1                               
048149,000239: 23,2754           03511                                    OMEGA      +6                         
048150,000240: 23,2755           77761                           VXSC                                           
048151,000241: 23,2756           03500                                    GAMMA                                 
048152,000242: 23,2757           26721                           STOVL    OMEGAM2                               
048153,000243: 23,2760           03517                                    OMEGA      +12D                       
048154,000244: 23,2761           77761                           VXSC                                           
048155,000245: 23,2762           03500                                    GAMMA                                 
048156,000246: 23,2763           02727                           STORE    OMEGAM3                               
048157,000247: 23,2764           77776                           EXIT                                           
048158,000248: 23,2765           33246                           CAF      54DD                                  #  INITIAL IX 1 SETTING FOR W MATRIX
048159,000249: 23,2766           55315                           TS       WIXA                                  
048160,000250: 23,2767           55316                           TS       WIXB                                  
048161,000251: 23,2770           34755                           CAF      ZERO                                  
048162,000252: 23,2771           55317                           TS       ZIXA                                  #  INITIAL IX 2 SETTING FOR Z COMPONENT
048163,000253: 23,2772           55320                           TS       ZIXB                                  
048164,000254: 23,2773           05353        FAZA               TC       PHASCHNG                              

Page 1148

048166,000256: 23,2774           04022                           OCT      04022                                 
048167,000257: 23,2775           05504                           TC       UPFLAG                                
048168,000258: 23,2776           00236                           ADRES    REINTFLG                              
048169,000259: 23,2777           31316        FAZA1              CA       WIXB                                  #  START FIRST PHASE OF INCORP2
048170,000260: 23,3000           55315                           TS       WIXA                                  #  TO UPDATE 6 OR 9 DIM. W MATRIX IN TEMP
048171,000261: 23,3001           31320                           CA       ZIXB                                  
048172,000262: 23,3002           55317                           TS       ZIXA                                  
048173,000263: 23,3003           06042                           TC       INTPRET                               
048174,000264: 23,3004           73150                           LXA,1    LXA,2                                 
048175,000265: 23,3005           01315                                    WIXA                                  
048176,000266: 23,3006           01317                                    ZIXA                                  
048177,000267: 23,3007           70731                           SSP      DLOAD*                                
048178,000268: 23,3010           00051                                    S1                                    
048179,000269: 23,3011           00006                                    6                                     
048180,000270: 23,3012           75134                                    ZI,2                                  
048181,000271: 23,3013           60276                           DCOMP    NORM                                  #  CALC UPPER 3X9 PARTITION OF W MATRIX
048182,000272: 23,3014           00052                                    S2                                    
048183,000273: 23,3015           65161                           VXSC     XCHX,2                                
048184,000274: 23,3016           02713                                    OMEGAM1                               
048185,000275: 23,3017           00051                                    S2                                    
048186,000276: 23,3020           57144                           LXC,2    XAD,2                                 
048187,000277: 23,3021           00047                                    X2                                    
048188,000278: 23,3022           02103                                    NORMGAM                               
048189,000279: 23,3023           65057                           VSL*     XCHX,2                                
048190,000280: 23,3024           57576                                    0,2                                   
048191,000281: 23,3025           00051                                    S2                                    
048192,000282: 23,3026           77653                           VAD*                                           
048193,000283: 23,3027           02467                                    W          +54D,1                     
048194,000284: 23,3030           02735                           STORE    HOLDW                                 
048195,000285: 23,3031           57543                           DLOAD*   DCOMP                                 #  CALC MIDDLE 3X9 PARTITION OF W MATRIX
048196,000286: 23,3032           75134                                    ZI,2                                  
048197,000287: 23,3033           74301                           NORM     VXSC                                  
048198,000288: 23,3034           00052                                    S2                                    
048199,000289: 23,3035           02721                                    OMEGAM2                               
048200,000290: 23,3036           71124                           XCHX,2   LXC,2                                 
048201,000291: 23,3037           00051                                    S2                                    
048202,000292: 23,3040           00047                                    X2                                    
048203,000293: 23,3041           53674                           XAD,2    VSL*                                  
048204,000294: 23,3042           02103                                    NORMGAM                               
048205,000295: 23,3043           57576                                    0,2                                   
048206,000296: 23,3044           52724                           XCHX,2   VAD*                                  
048207,000297: 23,3045           00051                                    S2                                    
048208,000298: 23,3046           02555                                    W          +108D,1                    
048209,000299: 23,3047           02743                           STORE    HOLDW      +6                         
048210,000300: 23,3050           77614                           BOFF                                           
048211,000301: 23,3051           02746                                    DMENFLG                               #  BRANCH IF 6 DIMENSIONAL
048212,000302: 23,3052           47072                                    FAZB                                  
048213,000303: 23,3053           57543                           DLOAD*   DCOMP                                 #  CALC LOWER 3X9 PARTITION OF W MATRIX
048214,000304: 23,3054           75134                                    ZI,2                                  
048215,000305: 23,3055           74301                           NORM     VXSC                                  

Page 1149

048217,000307: 23,3056           00052                                    S2                                    
048218,000308: 23,3057           02727                                    OMEGAM3                               
048219,000309: 23,3060           71124                           XCHX,2   LXC,2                                 
048220,000310: 23,3061           00051                                    S2                                    
048221,000311: 23,3062           00047                                    X2                                    
048222,000312: 23,3063           53674                           XAD,2    VSL*                                  
048223,000313: 23,3064           02103                                    NORMGAM                               
048224,000314: 23,3065           57576                                    0,2                                   
048225,000315: 23,3066           52724                           XCHX,2   VAD*                                  
048226,000316: 23,3067           00051                                    S2                                    
048227,000317: 23,3070           02643                                    W          +162D,1                    
048228,000318: 23,3071           02751                           STORE    HOLDW      +12D                       
048229,000319: 23,3072           77624        FAZB               CALL                                           
048230,000320: 23,3073           11210                                    GRP2PC                                
048231,000321: 23,3074           77776                           EXIT                                           
048232,000322: 23,3075           31315        FAZB1              CA       WIXA                                  #  START 2ND PHASE OF INCORP2 TO TRANSFER
048233,000323: 23,3076           63247                           AD       6DD                                   #        TEMP REG TO PERM W MATRIX
048234,000324: 23,3077           55316                           TS       WIXB                                  
048235,000325: 23,3100           31317                           CA       ZIXA                                  
048236,000326: 23,3101           67751                           AD       MINUS2                                
048237,000327: 23,3102           55320                           TS       ZIXB                                  
048238,000328: 23,3103           06042                           TC       INTPRET                               
048239,000329: 23,3104           66350                           LXA,1    SSP                                   
048240,000330: 23,3105           01315                                    WIXA                                  
048241,000331: 23,3106           00051                                    S1                                    
048242,000332: 23,3107           00006                                    6                                     
048243,000333: 23,3110           77775                           VLOAD                                          
048244,000334: 23,3111           02735                                    HOLDW                                 
048245,000335: 23,3112           06467                           STORE    W          +54D,1                     
048246,000336: 23,3113           77775                           VLOAD                                          
048247,000337: 23,3114           02743                                    HOLDW      +6                         
048248,000338: 23,3115           06555                           STORE    W          +108D,1                    
048249,000339: 23,3116           77214                           BOFF     VLOAD                                 
048250,000340: 23,3117           02746                                    DMENFLG                               
048251,000341: 23,3120           47130                                    FAZB5                                 
048252,000342: 23,3121           02751                                    HOLDW      +12D                       
048253,000343: 23,3122           06643                           STORE    W          +162D,1                    
048254,000344: 23,3123           52100        FAZB2              TIX,1    GOTO                                  
048255,000345: 23,3124           47126                                    +2                                    
048256,000346: 23,3125           47136                                    FAZC                                  #  DONE WITH W MATRIX.  UPDATE STATE VECTOR
048257,000347: 23,3126           77634                           RTB                                            
048258,000348: 23,3127           46773                                    FAZA                                  
048259,000349: 23,3130           43335        FAZB5              SLOAD    DAD                                   
048260,000350: 23,3131           01321                                    ZIXB                                  
048261,000351: 23,3132           07251                                    12DD                                  
048262,000352: 23,3133           52030                           BHIZ     GOTO                                  
048263,000353: 23,3134           47136                                    FAZC                                  
048264,000354: 23,3135           47123                                    FAZB2                                 
048265,000355: 23,3136           77624        FAZC               CALL                                           
048266,000356: 23,3137           11210                                    GRP2PC                                

Page 1150

048268,000358: 23,3140           53375                           VLOAD    VAD                                   #  START 3RD PHASE OF INCORP2
048269,000359: 23,3141           01701                                    X789                                  #  7TH,8TH,9TH,COMPONENT OF STATE VECTOR
048270,000360: 23,3142           02701                                    DELTAX     +12D                       #  INCORPORATION FOR X789
048271,000361: 23,3143           03472                           STORE    TX789                                 
048272,000362: 23,3144           47014                           BON      RTB                                   
048273,000363: 23,3145           00707                                    VEHUPFLG                              
048274,000364: 23,3146           47236                                    DOCSM                                 
048275,000365: 23,3147           26767                                    MOVEPLEM                              
048276,000366: 23,3150           77004        FAZAB              BOVB     AXT,2                                 
048277,000367: 23,3151           57754                                    TCDANZIG                              
048278,000368: 23,3152           00000                                    0                                     
048279,000369: 23,3153           77014                           BOFF     AXT,2                                 
048280,000370: 23,3154           04344                                    MOONTHIS                              
048281,000371: 23,3155           47157                                    +2                                    
048282,000372: 23,3156           00002                                    2                                     
048283,000373: 23,3157           53775                           VLOAD    VSR*                                  
048284,000374: 23,3160           02665                                    DELTAX                                #  B27 IF MOON ORBIT, B29 IF EARTH
048285,000375: 23,3161           57205                                    0          -7,2                       
048286,000376: 23,3162           40055                           VAD      BOV                                   
048287,000377: 23,3163           01521                                    TDELTAV                               
048288,000378: 23,3164           47176                                    FAZAB1                                
048289,000379: 23,3165           25521                           STOVL    TDELTAV                               
048290,000380: 23,3166           02673                                    DELTAX     +6                         #  B5 IF MOON ORBIT, B7 IF EARTH
048291,000381: 23,3167           53257                           VSR*     VAD                                   
048292,000382: 23,3170           57202                                    0          -4,2                       
048293,000383: 23,3171           01527                                    TNUV                                  
048294,000384: 23,3172           77600                           BOV                                            
048295,000385: 23,3173           47202                                    FAZAB2                                
048296,000386: 23,3174           35527                           STCALL   TNUV                                  
048297,000387: 23,3175           47211                                    FAZAB3                                
048298,000388: 23,3176           53375        FAZAB1             VLOAD    VAD                                   
048299,000389: 23,3177           01535                                    RCV                                   
048300,000390: 23,3200           02665                                    DELTAX                                
048301,000391: 23,3201           01535                           STORE    RCV                                   
048302,000392: 23,3202           53375        FAZAB2             VLOAD    VAD                                   
048303,000393: 23,3203           01543                                    VCV                                   
048304,000394: 23,3204           02673                                    DELTAX     +6                         
048305,000395: 23,3205           01543                           STORE    VCV                                   
048306,000396: 23,3206           45134                           SXA,2    CALL                                  
048307,000397: 23,3207           02030                                    PBODY                                 
048308,000398: 23,3210           27671                                    RECTIFY                               
048309,000399: 23,3211           77624        FAZAB3             CALL                                           
048310,000400: 23,3212           11210                                    GRP2PC                                
048311,000401: 23,3213           47014                           BON      RTB                                   
048312,000402: 23,3214           00707                                    VEHUPFLG                              
048313,000403: 23,3215           47241                                    DOCSM1                                
048314,000404: 23,3216           26746                                    MOVEALEM                              
048315,000405: 23,3217           77624                           CALL                                           
048316,000406: 23,3220           26070                                    SVDWN2                                #  STORE DOWNLINK STATE VECTOR
048317,000407: 23,3221           77624        FAZAB4             CALL                                           

Page 1151

048319,000409: 23,3222           11210                                    GRP2PC                                #  PHASE CHANGE
048320,000410: 23,3223           77214                           BOFF     VLOAD                                 
048321,000411: 23,3224           02746                                    DMENFLG                               
048322,000412: 23,3225           47230                                    FAZAB5                                #  6 DIMENSIONAL
048323,000413: 23,3226           03472                                    TX789                                 #  9 DIMENSIONAL
048324,000414: 23,3227           01701                           STORE    X789                                  
048325,000415: 23,3230           66150        FAZAB5             LXA,1    SXA,1                                 
048326,000416: 23,3231           02772                                    EGRESS                                
048327,000417: 23,3232           00052                                    QPRET                                 
048328,000418: 23,3233           77776                           EXIT                                           
048329,000419: 23,3234           04635                           TC       POSTJUMP                              #  EXIT
048330,000420: 23,3235           27421                           CADR     INTWAKE                               
048331,000421: 23,3236           52034        DOCSM              RTB      GOTO                                  
048332,000422: 23,3237           26722                                    MOVEPCSM                              
048333,000423: 23,3240           47150                                    FAZAB                                 
048334,000424: 23,3241           45034        DOCSM1             RTB      CALL                                  
048335,000425: 23,3242           26673                                    MOVEACSM                              
048336,000426: 23,3243           26114                                    SVDWN1                                #  STORE DOWNLINK STATE VECTOR
048337,000427: 23,3244           77650                           GOTO                                           
048338,000428: 23,3245           47221                                    FAZAB4                                
048339,000429: 23,3246  23,2523               ZEROO              =        ZEROVECS                              
048340,000430: 23,3246           00066        54DD               DEC      54         B-14                       
048341,000431: 23,3247           77771        6DD                DEC      -6         B-14                       
048342,000432: 23,3250           00014        12DD               DEC      12         B-14                       
048343,000433: 
048344,000434: 22,2000                                           SETLOC   RENDEZ                                
048345,000435: 22,2000                                           BANK                                           
048346,000436: 22,3711                                           COUNT*   $$/INCOR                              
048347,000437: 
048348,000438: 22,3711           51575        NEWZCOMP           VLOAD    ABVAL                                 
048349,000439: 22,3712           02643                                    ZI                                    
048350,000440: 22,3713           24045                           STOVL    NORMZI                                
048351,000441: 22,3714           02651                                    ZI         +6                         
048352,000442: 22,3715           41446                           ABVAL    PUSH                                  
048353,000443: 22,3716           50025                           DSU      BMN                                   
048354,000444: 22,3717           00045                                    NORMZI                                
048355,000445: 22,3720           45723                                    +3                                    
048356,000446: 22,3721           45545                           DLOAD    STADR                                 
048357,000447: 22,3722           77732                           STORE    NORMZI                                
048358,000448: 22,3723           51575                           VLOAD    ABVAL                                 
048359,000449: 22,3724           02657                                    ZI         +12D                       
048360,000450: 22,3725           45206                           PUSH     DSU                                   
048361,000451: 22,3726           00045                                    NORMZI                                
048362,000452: 22,3727           71240                           BMN      DLOAD                                 
048363,000453: 22,3730           45733                                    +3                                    
048364,000454: 22,3731           77626                           STADR                                          
048365,000455: 22,3732           77732                           STORE    NORMZI                                #  LARGEST ABVAL
048366,000456: 22,3733           66145                           DLOAD    SXA,1                                 
048367,000457: 22,3734           00045                                    NORMZI                                
048368,000458: 22,3735           00044                                    NORMZI                                #  SAVE X1
048369,000459: 22,3736           62101                           NORM     INCR,1                                

Page 1152

048371,000461: 22,3737           00047                                    X1                                    
048372,000462: 22,3740           00002                           DEC      2          B-14                       
048373,000463: 22,3741           53775                           VLOAD    VSL*                                  
048374,000464: 22,3742           02643                                    ZI                                    
048375,000465: 22,3743           20201                                    0,1                                   
048376,000466: 22,3744           26643                           STOVL    ZI                                    
048377,000467: 22,3745           02651                                    ZI         +6                         
048378,000468: 22,3746           77657                           VSL*                                           
048379,000469: 22,3747           20201                                    0,1                                   
048380,000470: 22,3750           26651                           STOVL    ZI         +6                         
048381,000471: 22,3751           02657                                    ZI         +12D                       
048382,000472: 22,3752           66057                           VSL*     SXA,1                                 
048383,000473: 22,3753           20201                                    0,1                                   
048384,000474: 22,3754           00045                                    NORMZI     +1                         #  SAVE SHIFT
048385,000475: 22,3755           02657                           STORE    ZI         +12D                       
048386,000476: 22,3756           54150                           LXA,1    XSU,1                                 
048387,000477: 22,3757           02103                                    NORMGAM                               
048388,000478: 22,3760           00045                                    NORMZI     +1                         
048389,000479: 22,3761           77660                           XSU,1                                          
048390,000480: 22,3762           00045                                    NORMZI     +1                         
048391,000481: 22,3763           70130                           SXA,1    LXC,1                                 
048392,000482: 22,3764           02103                                    NORMGAM                               
048393,000483: 22,3765           00045                                    NORMZI     +1                         
048394,000484: 22,3766           40270                           XAD,1    SETPD                                 
048395,000485: 22,3767           00044                                    NORMZI                                
048396,000486: 22,3770           00003                                    2D                                    
048397,000487: 22,3771           77650                           GOTO                                           
048398,000488: 22,3772           46671                                    INCOR2     -3                         
048399,000489: 22,3773                        NORMZI             =        36D                                   
048400,000490: 
048401,000491: 

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