Source Code

These source-code files were from the printout at the MIT Museum, with many thanks to Deborah Douglas, the Museum's Curator of Science and Technology, for releasing it to us. The printout was digitally photographed by Paul Fjeld. A team of volunteers transcribed the source code manually from these images or, where appropriate, modified already-transcribed but similar source Luminary 131 (Apollo 13) source code to agree with the images from the printout. 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:

	GAP:  ASSEMBLE REVISION 001 OF AGC PROGRAM LMY99 BY NASA 2021112-061
	16:27 JULY 14,1969
Note that the date is the date of the printout, not the date of the program revision.

043726,000002:                                                                                                  ## Copyright:   Public domain.
043727,000003:                                                                                                  ## Filename:    INTERPRETER.agc
043728,000004:                                                                                                  ## Purpose:     Part of the source code for Luminary 1A build 099.
043729,000005:                                                                                                  ##              It is part of the source code for the Lunar Module's (LM)
043730,000006:                                                                                                  ##              Apollo Guidance Computer (AGC), for Apollo 11.
043731,000007:                                                                                                  ## Assembler:   yaYUL
043732,000008:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
043733,000009:                                                                                                  ## Website:     www.ibiblio.org/apollo.
043734,000010:                                                                                                  ## Pages:       1002-1094
043735,000011:                                                                                                  ## Mod history: 2009-05-25 RSB  Adapted from the corresponding 
043736,000012:                                                                                                  ##                              Luminary131 file, using page 
043737,000013:                                                                                                  ##                              images from Luminary 1A.
043738,000014:                                                                                                  ##              2011-01-06 JL   Fixed pseudo-label indentation.
043739,000015:                                                                                                  ##              2011-05-08 JL   Removed workarounds.
043740,000016:                                                                                                  ##              2016-12-17 RSB  Proofed text comments with octopus/ProoferComments
043741,000017:                                                                                                  ##                              and corrected the errors found.
043742,000018:                                                                                                  ##              2017-01-28 RSB  Back-ported some comment-text fixes made in Luminary 69.
043743,000019:                                                                                                  ##              2017-02-05 RSB  Back-ported comment corrections 
043744,000020:                                                                                                  ##                              identified while proofing Artemis 072.
043745,000021:                                                                                                  ##              2017-03-13 RSB  Comment-text fixes noted in proofing Luminary 116.
043746,000022:                                                                                                  ##              2017-03-15 RSB  Comment-text fixes identified in 5-way
043747,000023:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
043748,000024:                                                                                                  ##              2021-05-30 ABS  Added IRT0 location symbol to match scans.
043749,000025:                                                                                                  ##                              B5TOBB -> B5TOB8
043750,000026: 
043751,000027:                                                                                                  ## This source code has been transcribed or otherwise adapted from
043752,000028:                                                                                                  ## digitized images of a hardcopy from the MIT Museum.  The digitization
043753,000029:                                                                                                  ## was performed by Paul Fjeld, and arranged for by Deborah Douglas of
043754,000030:                                                                                                  ## the Museum.  Many thanks to both.  The images (with suitable reduction
043755,000031:                                                                                                  ## in storage size and consequent reduction in image quality as well) are
043756,000032:                                                                                                  ## available online at www.ibiblio.org/apollo.  If for some reason you
043757,000033:                                                                                                  ## find that the images are illegible, contact me at info@sandroid.org
043758,000034:                                                                                                  ## about getting access to the (much) higher-quality images which Paul
043759,000035:                                                                                                  ## actually created.
043760,000036:                                                                                                  ##
043761,000037:                                                                                                  ## Notations on the hardcopy document read, in part:
043762,000038:                                                                                                  ##
043763,000039:                                                                                                  ##      Assemble revision 001 of AGC program LMY99 by NASA 2021112-61
043764,000040:                                                                                                  ##      16:27 JULY 14, 1969 
043765,000041: 

Page 1002

043767,000043:                                                                                                  #  SECTION 1   DISPATCHER
043768,000044: 
043769,000045:                                                                                                  #  ENTRY TO THE INTERPRETER.  INTPRET SETS LOC TO THE FIRST INSTRUCTION, BANKSET TO THE BBANK OF THE
043770,000046:                                                                                                  #  OBJECT INTERPRETIVE PROGRAM, AND INTBIT15 TO THE BIT15 CONTENTS OF FBANK.  INTERPRETIVE PROGRAMS MAY BE IN
043771,000047:                                                                                                  #  VIRTUALLY ALL BANKS PRESENT UNDER ANY SUPER-BANK SETTING, WITH THE RESTRICTION THAT PROGRAMS IN HIGH BANKS
043772,000048:                                                                                                  #  (BIT15 OF FBANK = 1) DO NOT REFER TO LOWBANKS, AND VICE-VERSA.  THE INTERPRETER DOES NOT SWITCH SUPERBANKS.
043773,000049:                                                                                                  #  E-BANK SWITCHING OCCURS WHENEVER GENERAL ERASABLE (100-3777) IS ADDRESSED.
043774,000050: 
043775,000051:    6037                                           BLOCK    03                                    
043776,000052: 
043777,000053:    6037                                           COUNT*   $$/INTER                              
043778,000054:    6037           00003        INTPRET            RELINT                                         
043779,000055:    6040           00006                           EXTEND                                         #  SET LOC TO THE WORD FOLLOWING THE TC.
043780,000056:    6041           22164                           QXCH     LOC                                   
043781,000057: 
043782,000058:    6042           30006                 +2        CA       BBANK                                 #  INTERPRETIVE BRANCHES FINISH HERE.
043783,000059:    6043           54165                           TS       BANKSET                               
043784,000060:    6044           74735                           MASK     BIT15                                 #  GET 15TH BIT FOR INDEXABLE ADDRESSES.
043785,000061:    6045           54115                           TS       INTBIT15                              
043786,000062: 
043787,000063:    6046           54023                           TS       EDOP                                  #  MAKE SURE NO INSTRUCTIONS LEFT OVER
043788,000064: 
043789,000065:    6047           16070                           TCF      NEWOPS                                #  PICK UP OP CODE PAIR AND BEGIN.
043790,000066: 
043791,000067:    6050           22006        INTRSM             LXCH     BBANK                                 #  RESUME SUSPENDED INTERPRETIVE JOB
043792,000068:    6051           16042                           TCF      INTPRET    +3                         
043793,000069: 
043794,000070:                                                                                                  #  DLOAD LOADS MPAC, MPAC +1, LEAVING ZERO IN MPAC +2.
043795,000071: 
043796,000072:    6052           00006        DLOAD              EXTEND                                         
043797,000073:    6053           50116                           INDEX    ADDRWD                                
043798,000074:    6054           30001                           DCA      0                                     #  LOAD DP C(C(ADDRWD)) INTO MPAC,MPAX +1
043799,000075:    6055           52155        SLOAD2             DXCH     MPAC                                  
043800,000076:    6056           34755                           CAF      ZERO                                  #  ZERO MPAC +2
043801,000077: 

Page 1003

043803,000079:                                                                                                  #  AT THE END OF MOST INSTRUCTIONS, CONTROL IS GIVEN TO DANZIG TO DISPATCH THE NEXT OPERATION.
043804,000080: 
043805,000081:    6057           54156                           TS       MPAC       +2                         #  AND DECLARE DP MODE
043806,000082: 
043807,000083:    6060           54163        NEWMODE            TS       MODE                                  #  PROLOGUE FOR MODE-CHANGING INSTRUCTIONS.
043808,000084: 
043809,000085:    6061           30165        DANZIG             CA       BANKSET                               #  SET BBANK BEFORE TESTING NEWJOB SO THAT
043810,000086:    6062           54006                           TS       BBANK                                 #  IT MAY BE SAVED DIRECTLY BY CHANJOB.
043811,000087: 
043812,000088:    6063           10023        NOIBNKSW           CCS      EDOP                                  #  SEE IF AN ORDER CODE IS LEFT OVER FROM
043813,000089:    6064           16077                           TCF      OPJUMP                                #  THE LAST PAIR RETRIEVED.  IF SO, EXECUTE.
043814,000090:                                                                                                  #  EDOP IS SET TO ZERO ON ITS RE-EDITING.
043815,000091: 
043816,000092:    6065           10067                           CCS      NEWJOB                                #  SEE IF A JOB OF HIGHER PRIORITY IS
043817,000093:    6066           15126                           TCF      CHANG2                                #  PRESENT, AND IF SO, CHANGE JOBS.
043818,000094: 
043819,000095:    6067           24164                           INCR     LOC                                   #  ADVANCE THE LOCATION COUNTER.
043820,000096: 
043821,000097:                                                                                                  #  ITRACE (1) REFERS TO "NEWOPS".
043822,000098:    6070           50164        NEWOPS             INDEX    LOC                                   #  ENTRY TO BEGIN BY PICKING OP CODE PAIR.
043823,000099:    6071           30000                           CA       0                                     #  MAY BE AN OPCODE PAIR OR A STORE CODE.
043824,000100:    6072           10000                           CCS      A                                     #  TEST SIGN AND GET DABS(A).
043825,000101:    6073           16362                           TCF      DOSTORE                               #  PROCESS STORE CODE.
043826,000102: 
043827,000103:    6074           00177        LOW7               OCT      177                                   
043828,000104: 
043829,000105:    6075           54023                           TS       EDOP                                  #  OP CODE PAIR.  LEAVE THE OTHER IN EDOP
043830,000106:    6076           76074                           MASK     LOW7                                  #  WHERE CCS EDOP WILL HONOR IT NEXT.
043831,000107: 
043832,000108:    6077           54020        OPJUMP             TS       CYR                                   #  LOWWD ENTERS HERE IF A RIGHT-HAND OP
043833,000109:    6100           10020                           CCS      CYR                                   #  CODE IS TO BE PROCESSED.  TEST PREFICES.
043834,000110:    6101           16247                           TCF      OPJUMP2                               #  TEST SECOND PREFIX BIT.
043835,000111: 
043836,000112:    6102           16743                           TCF      EXIT                                  #  +0 OP CODE IS EXIT.
043837,000113: 

Page 1004

043839,000115:                                                                                                  #  PROCESS ADDRESSES WHICH MAY BE DIRECT, INDEXED, OR REFERENCE THE PUSHDOWN LIST.
043840,000116: 
043841,000117:    6103           74753        ADDRESS            MASK     BIT1                                  #  SEE IF ADDRESS IS INDEXED.  CYR CONTAINED
043842,000118:    6104           10000                           CCS      A                                     #  400XX, SO BIT 1 IS NOW AS IT WAS IN CYR.
043843,000119:    6105           16146                           TCF      INDEX                                 #  FORM INDEXED ADDRESS.
043844,000120: 
043845,000121:    6106           50164        DIRADRES           INDEX    LOC                                   #  LOOK AHEAD TO NEXT WORD TO SEE IF
043846,000122:    6107           40001        OCT40001           CS       1                                     #  ADDRESS IS GIVEN.
043847,000123:    6110           10000                           CCS      A                                     
043848,000124:    6111           16215                           TCF      PUSHUP                                #  IF NOT.
043849,000125: 
043850,000126:    6112           77773        NEG4               DEC      -4         B-14                       
043851,000127: 
043852,000128:    6113           24164                           INCR     LOC                                   #  IF SO, TO SHOW WE PICKED UP A WORD.
043853,000129:    6114           54116                           TS       ADDRWD                                
043854,000130: 

Page 1005

043856,000132:                                                                                                  #  FINAL DIGESTION OF DIRECT ADDRESSES OF OP CODES WITH 01 PREFIX IS DONE HERE.   IN EACH CASE, THE
043857,000133:                                                                                                  #  REQUIRED 12-BIT SUB-ADDRESS IS LEFT IN ADDRWD, WITH ANY REQUIRED E OR F BANK SWITCHING DONE.  ADDRESSES LESS
043858,000134:                                                                                                  #  THAN 45D ARE TAKEN TO BE RELATIVE TO THE WORK AREA.  THE OP CODE IS NOW IN BITS 1-5 OF CYR WITH BIT 14 = 1.
043859,000135: 
043860,000136:    6115           66251                           AD       -ENDVAC                               #  SEE IF ADDRESS RELATIVE TO WORK AREA.
043861,000137:    6116           10000                           CCS      A                                     
043862,000138:    6117           67743                           AD       -ENDERAS                              #  IF NOT, SEE IF IN GENERAL ERASABLE.
043863,000139:    6120           16125                           TCF      IERASTST                              
043864,000140: 
043865,000141:    6121           30120        NETZERO            CA       FIXLOC                                #  IF SO, LEAVE THE MODIFIED ADDRESS IN
043866,000142:    6122           26116                           ADS      ADDRWD                                #  ADDRWD AND DISPATCH.
043867,000143:    6123           50020        ITR15              INDEX    CYR                                   #  THIS INDEX MAKES THE NEXT INSTRUCTION
043868,000144:    6124           76273                           7        INDJUMP    -1                         #  TCF INDJUMP + OP, EDITING CYR.
043869,000145: 
043870,000146:    6125           00006        IERASTST           EXTEND                                         
043871,000147:    6126           66136                           BZMF     GEADDR                                #  GO PROCESS GENERAL-ERASABLE ADDRESS.
043872,000148: 
043873,000149:    6127           75012                           MASK     LOW10                                 #  FIXED BANK ADDRESS. RESTORE AND ADD B15.
043874,000150:    6130           65012                           AD       LOW10                                 #  SWITCH BANKS AND LEAVE SUBADDRESS IN
043875,000151:    6131           56116                           XCH      ADDRWD                                #  ADDRWD FOR OPERAND RETRIEVAL. (THIS
043876,000152:    6132           60115                           AD       INTBIT15                              #  METHOD PRECLUDES USE OF THE LAST
043877,000153:    6133           54004                           TS       FBANK                                 #  LOCATION IN EACH FBANK.)
043878,000154:    6134           50020        ITR12              INDEX    CYR                                   
043879,000155:    6135           76273                           7        INDJUMP    -1                         
043880,000156: 
043881,000157:    6136           74357        GEADDR             MASK     LOW8                                  
043882,000158:    6137           65007                           AD       OCT1400                               
043883,000159:    6140           56116                           XCH      ADDRWD                                
043884,000160:    6141           54003                           TS       EBANK                                 
043885,000161:    6142           50020        ITR10              INDEX    CYR                                   
043886,000162:    6143           76273                           7        INDJUMP    -1                         
043887,000163: 

Page 1006

043889,000165:                                                                                                  #  THE FOLLOWING ROUTINE PROCESSES INTERPRETIVE INDEXED ADDRESSES.  AN INTERPRETER INDEX REGISTER MAY
043890,000166:                                                                                                  #  CONTAIN THE ADDRESS OF ANY ERASABLE REGISTER (0-42 BEING RELATIVE TO THE VAC AREA) OR ANY INTERPRETIVE PROGRAM
043891,000167:                                                                                                  #  BANK, OR ANY INTEGER IN THAT RANGE.
043892,000168: 
043893,000169:    6144           37733        DODLOAD*           CAF      DLOAD*                                #  STODL* COMES HERE TO PROCESS LOAD ADR.
043894,000170:    6145           54020                           TS       CYR                                   #  (STOVL* ENTERS HERE).
043895,000171: 
043896,000172:    6146           30120        INDEX              CA       FIXLOC                                #  SET UP INDEX LOCATION.
043897,000173:    6147           54130                           TS       INDEXLOC                              
043898,000174:    6150           24164                           INCR     LOC                                   #  (ADDRESS ALWAYS GIVEN).
043899,000175:    6151           50164                           INDEX    LOC                                   
043900,000176:    6152           40000                           CS       0                                     
043901,000177:    6153           10000                           CCS      A                                     #  INDEX 2 IF ADDRESS STORED COMPLEMENTED.
043902,000178:    6154           24130                           INCR     INDEXLOC                              
043903,000179:    6155           16156                           NOOP                                           
043904,000180: 
043905,000181:    6156           54116                           TS       ADDRWD                                #  14 BIT ADDRESS TO ADDRWD.
043906,000182:    6157           77742                           MASK     HIGH4                                 #  IF ADDRESS GREATER THAN 2K, ADD INTBIT15
043907,000183:    6160           00006                           EXTEND                                         
043908,000184:    6161           16164                           BZF      INDEX2                                
043909,000185:    6162           30115                           CA       INTBIT15                              
043910,000186:    6163           26116                           ADS      ADDRWD                                
043911,000187: 
043912,000188:    6164           50130        INDEX2             INDEX    INDEXLOC                              
043913,000189:    6165           40046                           CS       X1                                    
043914,000190:    6166           26116                           ADS      ADDRWD                                #  DO AUGMENT, IGNORING AND CORRECTING OVF.
043915,000191: 
043916,000192:    6167           77744                           MASK     HIGH9                                 #  SEE IF ADDRESS IS IN WORK AREA.
043917,000193:    6170           00006                           EXTEND                                         
043918,000194:    6171           16204                           BZF      INDWORK                               
043919,000195:    6172           77742                           MASK     HIGH4                                 #  SEE IF IN FIXED BANK.
043920,000196:    6173           00006                           EXTEND                                         
043921,000197:    6174           16206                           BZF      INDERASE                              
043922,000198: 
043923,000199:    6175           30116                           CA       ADDRWD                                #  IN FIXED - SWITCH BANKS AND CREATE
043924,000200:    6176           54004                           TS       FBANK                                 #  SUB-ADDRESS.
043925,000201:    6177           75012                           MASK     LOW10                                 
043926,000202:    6200           64741                           AD       2K                                    
043927,000203:    6201           54116                           TS       ADDRWD                                
043928,000204:    6202           50020        ITR11              INDEX    CYR                                   
043929,000205:    6203           36273                           3        INDJUMP    -1                         
043930,000206: 
043931,000207:    6204           30120        INDWORK            CA       FIXLOC                                #  MAKE ADDRWD RELATIVE TO WORK AREA.
043932,000208:    6205           16212                           TCF      ITR13      -1                         
043933,000209: 
043934,000210:    6206           35007        INDERASE           CA       OCT1400                               
043935,000211:    6207           56116                           XCH      ADDRWD                                
043936,000212:    6210           54003                           TS       EBANK                                 
043937,000213:    6211           74357                           MASK     LOW8                                  
043938,000214:    6212           26116                 -1        ADS      ADDRWD                                

Page 1007

043940,000216:    6213           50020        ITR13              INDEX    CYR                                   
043941,000217:    6214           36273                           3        INDJUMP    -1                         
043942,000218: 

Page 1008

043944,000220:                                                                                                  #  PUSH-UP ROUTINES.  WHEN NO OPERAND ADDRESS IS GIVEN, THE APPROPRIATE OPERAND IS TAKEN FROM THE PUSH-DOWN
043945,000221:                                                                                                  #  LIST.  IN MOST CASES THE MODE OF THE RESULT (VECTOR OR SCALAR) OF THE LAST ARITHMETIC OPERATION PERFORMED
043946,000222:                                                                                                  #  IS THE SAME AS THE TYPE OF OPERAND DESIRED (ALL ADD/SUBTRACT ETC.).  EXCEPTIONS TO THIS GENERAL RULE ARE LISTED
043947,000223:                                                                                                  #  BELOW (NOTE THAT IN EVERY CASE THE MODE REGISTER IS LEFT INTACT):
043948,000224: 
043949,000225:                                                                                                  #        1.      VXSC AND V/SC WANT THE OPPOSITE TYPE OF OPERAND, E.G., IF THE LAST OPERATION YIELDED A VECTOR
043950,000226:                                                                                                  #                RESULT, VXSC WANTS A SCALAR.
043951,000227: 
043952,000228:                                                                                                  #        2.      THE LOAD CODES SHOULD LOAD THE ACCUMULATOR INDEPENDENT OF THE RESULT OF THE LAST OPERATION.  THIS
043953,000229:                                                                                                  #                INCLUDES VLOAD, DLOAD, TLOAD, PDDL, AND PDVL (NO PUSHUP WITH SLOAD).
043954,000230: 
043955,000231:                                                                                                  #        3.      SOME ARITHMETIC OPERATIONS REQUIRE A STANDARD TYPE OF OPERAND REGARDLESS OF THE PREVIOUS OPERATION.
043956,000232:                                                                                                  #                THIS INCLUDES SIGN WANTING DP AND TAD REQUIRING TP.
043957,000233: 
043958,000234:    6215           34360        PUSHUP             CAF      OCT23                                 #  IF THE LOW 5 BITS OF CYR ARE LESS THAN
043959,000235:    6216           70020                           MASK     CYR                                   #  20, THIS OP REQUIRES SPECIAL ATTENTION.
043960,000236:    6217           66222                           AD       -OCT10                                #  (NO -0).
043961,000237:    6220           10000                           CCS      A                                     
043962,000238:    6221           16233                           TCF      REGUP                                 #  FOR ALL CODES GREATER THAN OCT 7.
043963,000239: 
043964,000240:    6222           77767        -OCT10             OCT      -10                                   
043965,000241: 
043966,000242:    6223           66112                           AD       NEG4                                  #  WE NOW HAVE 7 - OP CODE (MOD4).  SEE IF
043967,000243:    6224           10000                           CCS      A                                     #  THE OP CODE (MOD4) IS THREE (REVERSE).
043968,000244:    6225           50000                           INDEX    A                                     #  NO - THE MODE IS DEFINITE.  PICK UP THE
043969,000245:    6226           46244                           CS       NO.WDS                                
043970,000246:    6227           16235                           TCF      REGUP      +2                         
043971,000247: 
043972,000248:    6230           50163                           INDEX    MODE                                  #  FOR VXSC AND V/SC WE WANT THE REQUIRED
043973,000249:    6231           46242                           CS       REVCNT                                #  PUSHLOC DECREMENT WITHOUT CHANGING THE
043974,000250:    6232           16235                           TCF      REGUP      +2                         #  MODE AT THIS TIME.
043975,000251: 
043976,000252:    6233           50163        REGUP              INDEX    MODE                                  #  MOST ALL OP CODES PUSHUP HERE.
043977,000253:    6234           46244                           CS       NO.WDS                                
043978,000254:    6235           26166                 +2        ADS      PUSHLOC                               
043979,000255:    6236           54116                           TS       ADDRWD                                
043980,000256:    6237           50020        ITR14              INDEX    CYR                                   
043981,000257:    6240           76273                           7        INDJUMP    -1                         #  (THE INDEX MAKES THIS A TCF.)
043982,000258: 
043983,000259:    6241           00002                           OCT      2                                     #  REVERSE PUSHUP DECREMENT. VECTOR TAKES 2
043984,000260:    6242           00006        REVCNT             OCT      6                                     #  WORDS, SCALAR TAKES 6.
043985,000261:    6243           00006                           OCT      6                                     
043986,000262:    6244           00002        NO.WDS             OCT      2                                     #  CONVENTIONAL DECREMENT IS 6 WORDS VECTOR
043987,000263:    6245           00003        OCTAL3             OCT      3                                     #  2 IN DP, AND 3 IN TP.
043988,000264:    6246           00006                           OCT      6                                     
043989,000265: 

Page 1009

043991,000267:                                                                                                  #  TEST THE SECOND PREFIX BIT TO SEE IF THIS IS A MISCELLANEOUS OR A UNARY/SHORT SHIFT OPERATION.
043992,000268: 
043993,000269:    6247           10020        OPJUMP2            CCS      CYR                                   #  TEST SECOND PREFIX BIT.
043994,000270:    6250           16263                           TCF      OPJUMP3                               #  TEST THIRD BIT TO SEE IF UNARY OR SHIFT.
043995,000271: 
043996,000272:    6251           77722        -ENDVAC            DEC      -45        B-14                       
043997,000273: 
043998,000274:                                                                                                  #  THE FOLLOWING ROUTINE PROCESSES ADDRESSES OF SUFFIX CLASS 10.  THEY ARE BASICALLY WORK AREA ADDRESSES
043999,000275:                                                                                                  #  IN THE RANGE 0-52, ERASABLE ECADR CONSTANTS FROM 100-3777, AND FCADRS ABOVE THAT.  ALL 15 BITS ARE AVAILABLE
044000,000276:                                                                                                  #  IN CONTRAST TO SUFFIX 1, IN WHICH ONLY THE LOW ORDER 14 ARE AVAILABLE.
044001,000277: 
044002,000278:    6252           24164        15BITADR           INCR     LOC                                   #  (ENTRY HERE FROM STCALL).
044003,000279:    6253           50164                           INDEX    LOC                                   #  PICK UP ADDRESS WORD.
044004,000280:    6254           30000                           CA       0                                     
044005,000281:    6255           54117                           TS       POLISH                                #  WE MAY NEED A SUBADDRESS LATER.
044006,000282: 
044007,000283:    6256           35013                           CAF      LOW7+2K                               #  THESE INSTRUCTIONS ARE IN BANK 1.
044008,000284:    6257           54004                           TS       FBANK                                 
044009,000285:    6260           70020                           MASK     CYR                                   
044010,000286:    6261           50000        ITR7               INDEX    A                                     
044011,000287:    6262           16334                           TCF      MISCJUMP                              
044012,000288: 

Page 1010

044014,000290:                                                                                                  #  COMPLETE THE DISPATCHING OF UNARY AND SHORT SHIFT OPERATIONS.
044015,000291: 
044016,000292:    6263           54004        OPJUMP3            TS       FBANK                                 #  CALL IN BANK 0 (BITS 11-15 OF A ARE 0.)
044017,000293:                                                                                                  #  ITRACE (6) REFERS TO "OPJUMP3".
044018,000294:    6264           10020                           CCS      CYR                                   #  TEST THIRD PREFIX BIT.
044019,000295:    6265           50000                           INDEX    A                                     #  THE DECREMENTED UNARY CODE IS IN BITS
044020,000296:    6266           12000                           TCF      UNAJUMP                               #  1-4 OF A (ZERO, EXIT, HAS BEEN DETECTED)
044021,000297: 
044022,000298:    6267           10163                           CCS      MODE                                  #  ITS A SHORT SHIFT CODE.  SEE IF PRESENT
044023,000299:    6270           12017                           TCF      SHORTT                                #  SCALAR OR VECTOR.
044024,000300:    6271           12017                           TCF      SHORTT                                
044025,000301:    6272           12121                           TCF      SHORTV                                #  CALLS THE APPROPRIATE ROUTINE.
044026,000302: 
044027,000303:    6273     4350               FBANKMSK           EQUALS   BANKMASK                              
044028,000304:    6273           00122        LVBUF              ADRES    VBUF                                  
044029,000305: 

Page 1011

044031,000307:                                                                                                  #  THE FOLLOWING IS THE JUMP TABLE FOR OP CODES WHICH MAY HAVE INDEXABLE ADDRESSES OR MAY PUSH UP.
044032,000308: 
044033,000309:    6274           16505        INDJUMP            TCF      VLOAD                                 #  00 - LOAD MPAC WITH A VECTOR.
044034,000310:    6275           17071                           TCF      TAD                                   #  01 - TRIPLE PRECISION ADD TO MPAC.
044035,000311:    6276           17655                           TCF      SIGN                                  #  02 - COMPLEMENT MPAC (V OR SC) IF X NEG.
044036,000312:    6277           17401                           TCF      VXSC                                  #  03 - VECTOR TIMES SCALAR.
044037,000313:    6300           16703                           TCF      CGOTO                                 #  04 - COMPUTED GO TO.
044038,000314:    6301           16470                           TCF      TLOAD                                 #  05 - LOAD MPAC WITH TRIPLE PRECISION.
044039,000315:    6302           16052                           TCF      DLOAD                                 #  06 - LOAD MPAC WITH A DP SCALAR.
044040,000316:    6303           17624                           TCF      V/SC                                  #  07 - VECTOR DIVIDED BY SCALAR.
044041,000317: 
044042,000318:    6304           16501                           TCF      SLOAD                                 #  10 - LOAD MPACIN SINGLE PRECISION.
044043,000319:    6305           16620                           TCF      SSP                                   #  11 - SET SINGLE PRECISION INTO X.
044044,000320:    6306           16523                           TCF      PDDL                                  #  12 - PUSH DOWN MPAC AND RE-LOAD IN DP.
044045,000321:    6307           17334                           TCF      MXV                                   #  13 - MATRIX POST-MULTIPLIED BY VECTOR.
044046,000322:    6310           16557                           TCF      PDVL                                  #  14 - PUSH DOWN AND VECTOR LOAD.
044047,000323:    6311           16626                           TCF      CCALL                                 #  15 - COMPUTED CALL.
044048,000324:    6312           17337                           TCF      VXM                                   #  16 - MATRIX PRE-MULTIPLIED BY VECTOR.
044049,000325:    6313           17616                           TCF      TSLC                                  #  17 - NORMALIZE MPAC (SCALAR ONLY).
044050,000326: 
044051,000327:    6314           17574                           TCF      DMPR                                  #  20 - DP MULTIPLY AND ROUND.
044052,000328:    6315           17577                           TCF      DDV                                   #  21 - DP DIVIDE BY.
044053,000329:    6316           17603                           TCF      BDDV                                  #  22 - DP DIVIDE INTO.
044054,000330:    6317           17621                           TCF      GSHIFT                                #  23 - GENERAL SHIFT INSTRUCTION.
044055,000331:    6320           16751                           TCF      VAD                                   #  24 - VECTOR ADD.
044056,000332:    6321           16747                           TCF      VSU                                   #  25 - VECTOR SUBTRACT.
044057,000333:    6322           17036                           TCF      BVSU                                  #  26 - VECTOR SUBTRACT FROM.
044058,000334:    6323           17331                           TCF      DOT                                   #  27 - VECTOR DOT PRODUCT.
044059,000335: 
044060,000336:    6324           17460                           TCF      VXV                                   #  30 - VECTOR CROSS PRODUCT.
044061,000337:    6325           17425                           TCF      VPROJ                                 #  31 - VECTOR PROJECTION.
044062,000338:    6326           17005                           TCF      DSU                                   #  32 - DP SUBTRACT.
044063,000339:    6327           17062                           TCF      BDSU                                  #  33 - DP SUBTRACT FROM.
044064,000340:    6330           16775                           TCF      DAD                                   #  34 - DP ADD.
044065,000341:    6331           16331                           TCF      +0                                    #  35 - AVAILABLE
044066,000342:    6332           17572                           TCF      DMP1                                  #  36 - DP MULTIPLY.
044067,000343:    6333           17613                           TCF      SETPD                                 #  37 - SET PUSH DOWN POINTER (DIRECT ONLY)
044068,000344: 
044069,000345:                                                                                                  #  CODES 10 AND 14 MUST NOT PUSH UP. CODE 04 MAY BE USED FOR VECTOR DECLARE BEFORE PUSHUP IF DESIRED.
044070,000346: 

Page 1012

044072,000348:                                                                                                  #  THE FOLLOWING JUMP TABLE APPLIES TO INDEX, BRANCH, AND MISCELLANEOUS INSTRUCTIONS.
044073,000349: 
044074,000350:    6334           12344        MISCJUMP           TCF      AXT                                   #  00 - ADDRESS TO INDEX TRUE.
044075,000351:    6335           12351                           TCF      AXC                                   #  01 - ADDRESS TO INDEX COMPLEMENTED.
044076,000352:    6336           12354                           TCF      LXA                                   #  02 - LOAD INDEX FROM ERASABLE.
044077,000353:    6337           12360                           TCF      LXC                                   #  03 - LOAD INDEX FROM COMPLEMENT OF ERAS.
044078,000354:    6340           12364                           TCF      SXA                                   #  04 - STORE INDEX IN ERASABLE.
044079,000355:    6341           12372                           TCF      XCHX                                  #  05 - EXCHANGE INDEX WITH ERASABLE.
044080,000356:    6342           12406                           TCF      INCR                                  #  06 - INCREMENT INDEX REGISTER.
044081,000357:    6343           12415                           TCF      TIX                                   #  07 - TRANSFER ON INDEX.
044082,000358: 
044083,000359:    6344           12400                           TCF      XAD                                   #  10 - INDEX REGISTER ADD FROM ERASABLE.
044084,000360:    6345           12411                           TCF      XSU                                   #  11 - INDEX SUBTRACT FROM ERASABLE.
044085,000361:    6346           12467                           TCF      BZE/GOTO                              #  12 - BRANCH ZERO AND GOTO.
044086,000362:    6347           12474                           TCF      BPL/BMN                               #  13 - BRANCH PLUS AND BRANCH MINUS.
044087,000363:    6350           12447                           TCF      RTB/BHIZ                              #  14 - RETURN TO BASIC AND BRANCH HI ZERO.
044088,000364:    6351           12507                           TCF      CALL/ITA                              #  15 - CALL AND STORE QPRET.
044089,000365:    6352           12516                           TCF      SW/                                   #  16 - SWITCH INSTRUCTIONS AND AVAILABLE.
044090,000366:    6353           12457                           TCF      BOV(B)                                #  17 - BRANCH ON OVERFLOW TO BASIC OR INT.
044091,000367: 

Page 1013

044093,000369:                                                                                                  #  THE FOLLOWING JUMP TABLE APPIES TO UNARY INSTRUCTIONS.
044094,000370: 
044095,000371:    6354                                           COUNT*   $$/INTER                              
044096,000372: 00,2000                                           BANK     0                                     #  00 - EXIT - DETECTED EARLIER.
044097,000373: 00,2000           13207        UNAJUMP            TCF      SQRT                                  #  01 - SQUARE ROOT.
044098,000374: 00,2001           13530                           TCF      SINE                                  #  02 - SIN.
044099,000375: 00,2002           13517                           TCF      COSINE                                #  03 - COS.
044100,000376: 00,2003           13610                           TCF      ARCSIN                                #  04 - ARC SIN.
044101,000377: 00,2004           13612                           TCF      ARCCOS                                #  05 - ARC COS.
044102,000378: 00,2005           13174                           TCF      DSQ                                   #  06 - DP SQUARE.
044103,000379: 00,2006           12116                           TCF      ROUND                                 #  07 - ROUND TO DP.
044104,000380: 
044105,000381: 00,2007           17670                           TCF      COMP                                  #  10 - COMPLEMENT VECTOR OR SCALAR.
044106,000382: 00,2010           13232                           TCF      VDEF                                  #  11 - VECTOR DEFINE.
044107,000383: 00,2011           13023                           TCF      UNIT                                  #  12 - UNIT VECTOR.
044108,000384: 00,2012           13176                           TCF      ABVALABS                              #  13 - LENGTH OF VECTOR OR MAG OF SCALAR.
044109,000385: 00,2013           13245                           TCF      VSQ                                   #  14 - SQUARE OF LENGTH OF VECTOR.
044110,000386: 00,2014           16354                           TCF      STADR                                 #  15 - PUSH UP ON STORE CODE.
044111,000387: 00,2015           13274                           TCF      RVQ                                   #  16 - RETURN VIA QPRET.
044112,000388: 00,2016           13247                           TCF      PUSH                                  #  17 - PUSH MPAC DOWN.
044113,000389: 

Page 1014

044115,000391:                                                                                                  #  SECTION 2     LOAD AND STORE PACKAGE.
044116,000392: 
044117,000393:                                                                                                  #  A SET OF EIGHT STORE CODES IS PROVIDED AS THE PRIMARY METHOD OF STORING THE MULTI-PURPOSE
044118,000394:                                                                                                  #  ACCUMULATOR (MPAC).  IF IN THE DANZIG SECTION LOC REFERS TO AN ALGEBRAICALLY POSITIVE WORD, IT IS TAKEN AS A 
044119,000395:                                                                                                  #  STORE CODE WITH A CORRESPONDING ERASABLE ADDRESS.  MOST OF THESE CODES ARE TWO ADDRESS, SPECIFYING THAT THE WORD
044120,000396:                                                                                                  #  FOLLOWING THE STORE CODE IS TO BE USED AS AN ADDRESS FROM WHICH TO RE-LOAD MPAC.  FOUR OPTIONS ARE AVAILABLE:
044121,000397: 
044122,000398:                                                                                                  #        1. STORE        STORE MPAC.  THE E ADDRESS MAY BE INDEXED.
044123,000399:                                                                                                  #        2. STODL        STORE MPAC AND RE-LOAD IT IN DP WITH THE NEXT ADDRESS (THE LOAD MAY BE INDEXED).
044124,000400:                                                                                                  #        3. STOVL        STORE MPAC AND RE-LOAD A VECTOR (AS ABOVE).
044125,000401:                                                                                                  #        4. STCALL       STORE AND DO A CALL (BOTH ADDRESSES MUST BE DIRECT HERE).
044126,000402: 
044127,000403:                                                                                                  #  STODL AND STOVL WILL TAKE FROM THE PUSH-DOWN LIST IF NO LOAD ADDRESS IS GIVEN.
044128,000404: 
044129,000405:    6354                                           BLOCK    3                                     
044130,000406: 
044131,000407:    6354                                           COUNT*   $$/INTER                              
044132,000408:    6354           30165        STADR              CA       BANKSET                               #  THE STADR CODE (PUSHUP UP ON STORE
044133,000409:    6355           54004                           TS       FBANK                                 #  ADDRESS) ENTERS HERE.
044134,000410:    6356           24164                           INCR     LOC                                   
044135,000411:    6357           50164        ITR1               INDEX    LOC                                   #  THE STORECODE WAS STORED COMPLEMENTED TO
044136,000412:    6360           40000                           CS       0                                     #  MAKE IT LOOK LIKE AN OPCODE PAIR.
044137,000413:    6361           67747                           AD       NEGONE                                #  (YUL CANT REMOVE 1 BECAUSE OF EARLY CCS)
044138,000414: 
044139,000415:    6362           54116        DOSTORE            TS       ADDRWD                                
044140,000416:    6363           74356                           MASK     LOW11                                 #  ENTRY FROM DISPATCHER.  SAVE THE ERASABLE
044141,000417:    6364           56116                           XCH      ADDRWD                                #  ADDRESS AND JUMP ON THE STORE CODE NO.
044142,000418:    6365           77722                           MASK     B12T14                                
044143,000419:    6366           00006                           EXTEND                                         
044144,000420:    6367           74747                           MP       BIT5                                  #  EACH TRANSFER VECTOR ENTRY IS TWO WORDS.
044145,000421:    6370           50000        ITR0               INDEX    A                                     
044146,000422:    6371           16372                           TCF      STORJUMP                              
044147,000423: 

Page 1015

044149,000425:                                                                                                  #  STORE CODE JUMP TABLE.  CALLS THE APPROPRIATE STORING ROUTINE AND EXITS TO DANZIG OR TO ADDRESS WITH
044150,000426:                                                                                                  #  A SUPPLIED OPERATION CODE.
044151,000427: 
044152,000428:                                                                                                  #  STORE STORE,1 AND STORE,2 RETURN TO DANZIG, THUS RESETTING THE EBANK TO ITS STATE AT INTPRET.
044153,000429: 
044154,000430:    6372           06422        STORJUMP           TC       STORE                                 #  STORE.
044155,000431:    6373           16061                           TCF      DANZIG                                #  PICK UP NEW OP CODE(S).
044156,000432:    6374           06414                           TC       STORE,1                               
044157,000433:    6375           16061                           TCF      DANZIG                                
044158,000434:    6376           06417                           TC       STORE,2                               
044159,000435:    6377           16061                           TCF      DANZIG                                
044160,000436: 
044161,000437:    6400           06422                           TC       STORE                                 #  STODL.
044162,000438:    6401           16460                           TCF      DODLOAD                               
044163,000439: 
044164,000440:    6402           06422                           TC       STORE                                 #  STODL WITH INDEXED LOAD ADDRESS.
044165,000441:    6403           16144                           TCF      DODLOAD*                              
044166,000442: 
044167,000443:    6404           06422                           TC       STORE                                 #  STOVL.
044168,000444:    6405           16463                           TCF      DOVLOAD                               
044169,000445: 
044170,000446:    6406           06422                           TC       STORE                                 #  STOVL WITH INDEXED LOAD ADDRESS.
044171,000447:    6407           16466                           TCF      DOVLOAD*                              
044172,000448:    6410           06422                           TC       STORE                                 #  STOTC.
044173,000449:    6411           34766                           CAF      CALLCODE                              
044174,000450:    6412           54020                           TS       CYR                                   
044175,000451:    6413           16252                           TCF      15BITADR                              #  GET A 15 BIT ADDRESS.
044176,000452: 

Page 1016

044178,000454:                                                                                                  #  STORE CODE ADDRESS PROCESSOR.
044179,000455: 
044180,000456:    6414           50120        STORE,1            INDEX    FIXLOC                                
044181,000457:    6415           40046                           CS       X1                                    
044182,000458:    6416           16421                           TCF      PRESTORE                              
044183,000459: 
044184,000460:    6417           50120        STORE,2            INDEX    FIXLOC                                
044185,000461:    6420           40047                           CS       X2                                    
044186,000462:    6421           26116        PRESTORE           ADS      ADDRWD                                #  RESULTANT ADDRESS IS IN ERASABLE.
044187,000463: 
044188,000464:    6422           40116        STORE              CS       ADDRWD                                
044189,000465:    6423           64772                           AD       DEC45                                 
044190,000466:    6424           10000                           CCS      A                                     #  DOES THE ADDRESS POINT TO THE WORK AREA?
044191,000467:    6425           30120                           CA       FIXLOC                                #  YES.
044192,000468:    6426           16433                           TCF      AHEAD5                                
044193,000469:    6427           35007                           CA       OCT1400                               #  NO.  SET EBANK & MAKE UP SUBADDRESS.
044194,000470:    6430           56116                           XCH      ADDRWD                                
044195,000471:    6431           54003                           TS       EBANK                                 
044196,000472:    6432           74357                           MASK     LOW8                                  
044197,000473:    6433           26116        AHEAD5             ADS      ADDRWD                                
044198,000474: 

Page 1017

044200,000476:                                                                                                  #  STORING ROUTINES.  STORE DP, TP, OR VECTOR AS INDICATED BY MODE.
044201,000477: 
044202,000478:    6434           00006        STARTSTO           EXTEND                                         #  MPAC,+1 MUST BE STORED IN ANY EVENT.
044203,000479:                                                                                                  #  ITRACE (5) REFERS TO "STARTSTO".
044204,000480:    6435           30155                           DCA      MPAC                                  
044205,000481:    6436           50116                           INDEX    ADDRWD                                
044206,000482:    6437           52001                           DXCH     0                                     
044207,000483: 
044208,000484:    6440           10163                           CCS      MODE                                  
044209,000485:    6441           16454                           TCF      TSTORE                                
044210,000486:    6442           00002                           TC       Q                                     
044211,000487: 
044212,000488:    6443           00006        VSTORE             EXTEND                                         
044213,000489:    6444           30160                           DCA      MPAC       +3                         
044214,000490:    6445           50116                           INDEX    ADDRWD                                
044215,000491:    6446           52003                           DXCH     2                                     
044216,000492: 
044217,000493:    6447           00006                           EXTEND                                         
044218,000494:    6450           30162                           DCA      MPAC       +5                         
044219,000495:    6451           50116                           INDEX    ADDRWD                                
044220,000496:    6452           52005                           DXCH     4                                     
044221,000497:    6453           00002                           TC       Q                                     
044222,000498: 
044223,000499:    6454           30156        TSTORE             CA       MPAC       +2                         
044224,000500:    6455           50116                           INDEX    ADDRWD                                
044225,000501:    6456           54002                           TS       2                                     
044226,000502:    6457           00002                           TC       Q                                     
044227,000503: 

Page 1018

044229,000505:                                                                                                  #  ROUTINES TO BEGIN PROCESSING OF THE SECOND ADDRESS ASSOCIATED WITH ALL STORE-TYPE CODES EXCEPT STORE
044230,000506:                                                                                                  #  ITSELF.
044231,000507: 
044232,000508:    6460           37732        DODLOAD            CAF      DLOADCOD                              
044233,000509:    6461           54020                           TS       CYR                                   
044234,000510:    6462           16106                           TCF      DIRADRES                              #  GO GET A DIRECT ADDRESS.
044235,000511: 
044236,000512:    6463           34735        DOVLOAD            CAF      VLOADCOD                              
044237,000513:    6464           54020                           TS       CYR                                   
044238,000514:    6465           16106                           TCF      DIRADRES                              
044239,000515: 
044240,000516:    6466           36107        DOVLOAD*           CAF      VLOAD*                                
044241,000517:    6467           16145                           TCF      DODLOAD*   +1                         #  PROLOGUE TO INDEX ROUTINE.
044242,000518: 

Page 1019

044244,000520:                                                                                                  #  THE FOLLOWING LOAD INSTRUCTIONS ARE PROVIDED FOR LOADING THE MULTI-PURPOSE ACCUMULATOR MPAC.
044245,000521: 
044246,000522:    6470           50116        TLOAD              INDEX    ADDRWD                                
044247,000523:    6471           30002                           CA       2                                     #  LOAD A TRIPLE PRECISION ARGUMENT INTO
044248,000524:    6472           54156                           TS       MPAC       +2                         #  THE FIRST THREE MPAC REGISTERS, WITH THE
044249,000525:    6473           00006                           EXTEND                                         #  CONTENTS OF THE OTHER FOUR IRRELEVANT.
044250,000526:    6474           50116                           INDEX    ADDRWD                                
044251,000527:    6475           30001                           DCA      0                                     
044252,000528:    6476           52155                           DXCH     MPAC                                  
044253,000529:    6477           34753        TMODE              CAF      ONE                                   
044254,000530:    6500           16060                           TCF      NEWMODE                               #  DECLARE TRIPLE PRECISION MODE.
044255,000531: 
044256,000532:    6501           22007        SLOAD              ZL                                             #  LOAD A SINGLE PRECISION NUMBER INTO
044257,000533:    6502           50116                           INDEX    ADDRWD                                #  MPAC, SETTING MPAC+1,2 TO ZERO.  THE
044258,000534:    6503           30000                           CA       0                                     #  CONTENTS OF THE REMAINING MPAC REGISTERS
044259,000535:    6504           16055                           TCF      SLOAD2                                #  ARE IRRELEVANT.
044260,000536: 
044261,000537:    6505           00006        VLOAD              EXTEND                                         #  LOAD A DOUBLE PRECISION VECTOR INTO
044262,000538:    6506           50116                           INDEX    ADDRWD                                #  MPAC,+1, MPAC+3,4, AND MPAC+5,6.  THE
044263,000539:    6507           30001                           DCA      0                                     #  CONTENTS OF MPAC +2 ARE IRRELEVANT.
044264,000540:    6510           52155                           DXCH     MPAC                                  
044265,000541: 
044266,000542:    6511           00006        ENDVLOAD           EXTEND                                         #  PDVL COMES HERE TO FINISH UP FOR DP, TP.
044267,000543:    6512           50116                           INDEX    ADDRWD                                
044268,000544:    6513           30003                           DCA      2                                     
044269,000545:    6514           52160                           DXCH     MPAC       +3                         
044270,000546: 
044271,000547:    6515           00006                 +4        EXTEND                                         #  TPDVL FINISHES HERE.
044272,000548:    6516           50116                           INDEX    ADDRWD                                
044273,000549:    6517           30005                           DCA      4                                     
044274,000550:    6520           52162                           DXCH     MPAC       +5                         
044275,000551: 
044276,000552:    6521           44753        VMODE              CS       ONE                                   #  DECLARE VECTOR MODE.
044277,000553:    6522           16060                           TCF      NEWMODE                               
044278,000554: 

Page 1020

044280,000556:                                                                                                  #  THE FOLLOWING INSTRUCTIONS ARE PROVIDED FOR STORING OPERANDS IN THE PUSHDOWN LIST:
044281,000557:                                                                                                  #        1.      PUSH            PUSHDOWN AND NO LOAD.
044282,000558:                                                                                                  #        2.      PDDL            PUSHDOWN AND DOUBLE PRECISION LOAD.
044283,000559:                                                                                                  #        3.      PDVL            PUSHDOWN AND VECTOR LOAD.
044284,000560: 
044285,000561:    6523           00006        PDDL               EXTEND                                         
044286,000562:    6524           50116                           INDEX    ADDRWD                                #  LOAD MPAC,+1, PUSHING THE FORMER
044287,000563:    6525           30001                           DCA      0                                     #  CONTENTS DOWN.
044288,000564:    6526           52155                           DXCH     MPAC                                  
044289,000565:    6527           50166                           INDEX    PUSHLOC                               
044290,000566:    6530           52001                           DXCH     0                                     
044291,000567: 
044292,000568:    6531           50163                           INDEX    MODE                                  #  ADVANCE THE PUSHDOWN POINTER APPRO-
044293,000569:    6532           36244                           CAF      NO.WDS                                #  PRIATELY.
044294,000570:    6533           26166                           ADS      PUSHLOC                               
044295,000571: 
044296,000572:    6534           10163                           CCS      MODE                                  
044297,000573:    6535           16552                           TCF      ENDTPUSH                              
044298,000574:    6536           16550                           TCF      ENDDPUSH                              
044299,000575: 
044300,000576:    6537           54163                           TS       MODE                                  #  NOW DP.
044301,000577:    6540           54156        ENDVPUSH           TS       MPAC       +2                         
044302,000578:    6541           52160                           DXCH     MPAC       +3                         #  PUSH DOWN THE REST OF THE VECTOR HERE.
044303,000579:    6542           50166                           INDEX    PUSHLOC                               
044304,000580:    6543           51775                           DXCH     0          -4                         
044305,000581: 
044306,000582:    6544           52162                           DXCH     MPAC       +5                         
044307,000583:    6545           50166                           INDEX    PUSHLOC                               
044308,000584:    6546           51777                           DXCH     0          -2                         
044309,000585: 
044310,000586:    6547           16061                           TCF      DANZIG                                
044311,000587: 
044312,000588:    6550           54156        ENDDPUSH           TS       MPAC       +2                         #  SET MPAC +2 TO ZERO AND EXIT ON DP.
044313,000589:    6551           16061                           TCF      DANZIG                                
044314,000590: 
044315,000591:    6552           54163        ENDTPUSH           TS       MODE                                  
044316,000592:    6553           56156                           XCH      MPAC       +2                         #  ON TRIPLE, SET MPAC +2 TO ZERO, PUSHING
044317,000593:    6554           50166                 +2        INDEX    PUSHLOC                               #  DOWN THE OLD CONTENTS
044318,000594:    6555           53777                           TS       0          -1                         
044319,000595:    6556           16061                           TCF      DANZIG                                
044320,000596: 

Page 1021

044322,000598:                                                                                                  #  PDVL - PUSHDOWN AND VECTOR LOAD.
044323,000599: 
044324,000600:    6557           00006        PDVL               EXTEND                                         #  RELOAD MPAC AND PUSH DOWN ITS CONTENTS.
044325,000601:    6560           50116                           INDEX    ADDRWD                                
044326,000602:    6561           30001                           DCA      0                                     
044327,000603:    6562           52155                           DXCH     MPAC                                  
044328,000604:    6563           50166                           INDEX    PUSHLOC                               
044329,000605:    6564           52001                           DXCH     0                                     
044330,000606: 
044331,000607:    6565           50163                           INDEX    MODE                                  #  ADVANCE THE PUSHDOWN POINTER.
044332,000608:    6566           36244                           CAF      NO.WDS                                
044333,000609:    6567           26166                           ADS      PUSHLOC                               
044334,000610: 
044335,000611:    6570           10163                           CCS      MODE                                  #  TEST PAST MODE.
044336,000612:    6571           16610                           TCF      TPDVL                                 
044337,000613:    6572           16511                           TCF      ENDVLOAD                              #  JUST LOAD LAST FOUR REGISTERS ON DP.
044338,000614: 
044339,000615:    6573           00006        VPDVL              EXTEND                                         #  PUSHDOWN AND RE-LOAD LAST TWO COMPONENTS
044340,000616:    6574           50116                           INDEX    ADDRWD                                
044341,000617:    6575           30003                           DCA      2                                     
044342,000618:    6576           52160                           DXCH     MPAC       +3                         
044343,000619:    6577           50166                           INDEX    PUSHLOC                               
044344,000620:    6600           51775                           DXCH     0          -4                         
044345,000621: 
044346,000622:    6601           00006                           EXTEND                                         
044347,000623:    6602           50116                           INDEX    ADDRWD                                
044348,000624:    6603           30005                           DCA      4                                     
044349,000625:    6604           52162                           DXCH     MPAC       +5                         
044350,000626:    6605           50166                           INDEX    PUSHLOC                               
044351,000627:    6606           51777                           DXCH     0          -2                         
044352,000628: 
044353,000629:    6607           16061                           TCF      DANZIG                                
044354,000630: 
044355,000631:    6610           00006        TPDVL              EXTEND                                         #  ON TP, WE MUST LOAD THE Y COMPONENT
044356,000632:    6611           50116                           INDEX    ADDRWD                                #  BEFORE STORING MPAC +2 IN CASE THIS IS A
044357,000633:    6612           30003                           DCA      2                                     #  PUSHUP.
044358,000634:    6613           52160                           DXCH     MPAC       +3                         
044359,000635: 
044360,000636:    6614           30156                           CA       MPAC       +2                         
044361,000637:    6615           50166                           INDEX    PUSHLOC                               #  IN DP.
044362,000638:    6616           53777                           TS       0          -1                         
044363,000639:    6617           16515                           TCF      ENDVLOAD   +4                         
044364,000640: 
044365,000641:                                                                                                  #  SSP (STORE SINGLE PRECISION) IS EXECUTED HERE.
044366,000642: 
044367,000643:    6620           24164        SSP                INCR     LOC                                   #  PICK UP THE WORD FOLLOWING THE GIVEN
044368,000644:    6621           50164                           INDEX    LOC                                   #  ADDRESS AND STORE IT AT X.
044369,000645:    6622           30000                           CA       0                                     
044370,000646:    6623           50116        STORE1             INDEX    ADDRWD                                #  SOME INDEX AND MISCELLANEOUS OPS END
044371,000647:    6624           54000                           TS       0                                     #  HERE.

Page 1022

044373,000649:    6625           16061                           TCF      DANZIG                                
044374,000650: 

Page 1023

044376,000652:                                                                                                  #  SEQUENCE CHANGING AND SUBROUTINE CALLING OPTIONS.
044377,000653: 
044378,000654:                                                                                                  #  THE FOLLOWING OPERATIONS ARE AVAILABLE FOR SEQUENCING CHANGING, BRANCHING, AND CALLING SUBROUTINES:
044379,000655:                                                                                                  #        1.      GOTO            GO TO.
044380,000656:                                                                                                  #        2.      CALL            CALL SUBROUTINE SETTING QPRET.
044381,000657:                                                                                                  #        3.      CGOTO           COMPUTED GO TO.
044382,000658:                                                                                                  #        4.      CCALL           COMPUTED CALL.
044383,000659:                                                                                                  #        7.      BPL             BRANCH IF MPAC POSITIVE OR ZERO.
044384,000660:                                                                                                  #        8.      BZE             BRANCH IF MPAC ZERO.
044385,000661:                                                                                                  #        9.      BMN             BRANCH IF MPAC NEGATIVE NON-ZERO.
044386,000662: 
044387,000663:    6626           24164        CCALL              INCR     LOC                                   #  MAINTAIN LOC FOR QPRET COMPUTATION.
044388,000664:    6627           50164                           INDEX    LOC                                   
044389,000665:    6630           30000                           CAF      0                                     #  GET BASE ADDRESS OF CADR LIST.
044390,000666:    6631           50116                           INDEX    ADDRWD                                
044391,000667:    6632           60000                           AD       0                                     #  ADD INCREMENT.
044392,000668:    6633           54004                           TS       FBANK                                 #  SELECT DESIRED CADR.
044393,000669:    6634           75012                           MASK     LOW10                                 
044394,000670:    6635           50000                           INDEX    A                                     
044395,000671:    6636           32000                           CAF      10000                                 
044396,000672:    6637           54117                           TS       POLISH                                
044397,000673: 
044398,000674:    6640           30165        CALL               CA       BANKSET                               #  FOR ANY OF THE CALL OPTIONS, MAKE UP THE
044399,000675:    6641           74350                           MASK     BANKMASK                              #  ADDRESS OF THE NEXT OP-CODE PAIR/STORE
044400,000676:    6642           64350                           AD       BANKMASK                              #  CODE AND LEAVE IT IN QPRET.  NOTE THAT
044401,000677:    6643           60164                           AD       LOC                                   #  BANKMASK = -(2000 - 1).
044402,000678:    6644           50120                           INDEX    FIXLOC                                
044403,000679:    6645           54052                           TS       QPRET                                 
044404,000680: 
044405,000681:    6646           30117        GOTO               CA       POLISH                                #  BASIC BRANCHING SEQUENCE.
044406,000682:    6647           77742                 +1        MASK     HIGH4                                 
044407,000683:    6650           00006                           EXTEND                                         
044408,000684:    6651           16662                           BZF      GOTOERS                               #  SEE IF ADDRESS POINTS TO FIXED OR ERAS.
044409,000685:    6652           30165                 +4        CA       BANKSET                               #  SET EBANK PART OF BBANK.  NEXT, SET UP
044410,000686:    6653           54006                           TS       BBANK                                 #  FBANK.  THE COMBINATION IS PICKED UP &
044411,000687:    6654           30117                           CA       POLISH                                #  PUT INTO BANKSET AT INTPRET +2.
044412,000688:    6655           54004                           TS       FBANK                                 
044413,000689:    6656           75012                           MASK     LOW10                                 
044414,000690:    6657           64741                           AD       2K                                    
044415,000691:    6660           54164                           TS       LOC                                   
044416,000692:    6661           16042                           TCF      INTPRET    +3                         
044417,000693: 
044418,000694:    6662  E3,1400                                  EBANK=   1400                                  #  SO YUL DOESN'T CUSS THE "CA 1400" BELOW.
044419,000695: 
044420,000696:    6662           30117        GOTOERS            CA       POLISH                                #  THE GIVEN ADDRESS IS IN ERASABLE - SEE
044421,000697:    6663           66251                           AD       -ENDVAC                               #  IF RELATIVE TO THE WORK AREA.
044422,000698:    6664           10000                           CCS      A                                     
044423,000699:    6665           30117                           CA       POLISH                                #  GENERAL ERASABLE.
044424,000700:    6666           16675                           TCF      GOTOGE                                
044425,000701: 

Page 1024

044427,000703:    6667           30120                           CA       FIXLOC                                #  WORK AREA.
044428,000704:    6670           60117                           AD       POLISH                                
044429,000705:    6671           50000                           INDEX    A                                     #  USE THE GIVEN ADDRESS AS THE ADDRESS OF
044430,000706:    6672           30000                           CA       0                                     #  THE BRANCH ADDRESS.
044431,000707:    6673           54117                           TS       POLISH                                
044432,000708:    6674           16647                           TCF      GOTO       +1                         #  ALLOWS ARBITRARY INDIRECTNESS LEVELS.
044433,000709: 
044434,000710:    6675           54003        GOTOGE             TS       EBANK                                 
044435,000711:    6676           74357                           MASK     LOW8                                  
044436,000712:    6677           50000                           INDEX    A                                     #  USE THE GIVEN ADDRESS AS THE ADDRESS OF
044437,000713:    6700           31400                           CA       1400                                  #  THE BRANCH ADDRESS.
044438,000714:    6701           54117                           TS       POLISH                                
044439,000715:    6702           16647                           TCF      GOTO       +1                         
044440,000716: 
044441,000717:    6703           50164        CGOTO              INDEX    LOC                                   #  COMPUTED GO TO.  PICK UP ADDRESS OF CADR
044442,000718:    6704           30001                           CA       1                                     #  LIST.
044443,000719:    6705           50116                           INDEX    ADDRWD                                #  ADD MODIFIER.
044444,000720:    6706           60000                           AD       0                                     
044445,000721:    6707           54004                           TS       FBANK                                 #  SELECT GOTO ADDRESS.
044446,000722:    6710           75012                           MASK     LOW10                                 
044447,000723:    6711           50000                           INDEX    A                                     
044448,000724:    6712           32000                           CA       10000                                 
044449,000725:    6713           54117                           TS       POLISH                                
044450,000726:    6714           16647                           TCF      GOTO       +1                         #  WITH ADDRESS IN A.
044451,000727: 
044452,000728:    6715           30165        SWBRANCH           CA       BANKSET                               #  SWITCH INSTRUCTIONS WHICH ELECT TO
044453,000729:    6716           54004                           TS       FBANK                                 #  BRANCH COME HERE TO DO SO.
044454,000730:    6717           50164                           INDEX    LOC                                   
044455,000731:    6720           30001                           CA       1                                     
044456,000732:    6721           54117                           TS       POLISH                                
044457,000733:    6722           16647                           TCF      GOTO       +1                         
044458,000734: 

Page 1025

044460,000736:                                                                                                  #  TRIPLE PRECISION BRANCHING ROUTINE.  IF CALLING TC IS AT L, RETURN IS AS FOLLOWS:
044461,000737:                                                                                                  #        L+1     IF MPAC IS GREATER THAN ZERO.
044462,000738:                                                                                                  #        L+2     IF MPAC IS EQUAL TO +0 OR -0.
044463,000739:                                                                                                  #        L+3     IF MPAC IS LESS THAN ZERO.
044464,000740: 
044465,000741:    6723           10154        BRANCH             CCS      MPAC                                  
044466,000742:    6724           00002                           TC       Q                                     
044467,000743:    6725           16727                           TCF      +2                                    #  ON ZERO.
044468,000744:    6726           16741                           TCF      NEG                                   
044469,000745: 
044470,000746:    6727           10155                           CCS      MPAC       +1                         
044471,000747:    6730           00002                           TC       Q                                     
044472,000748:    6731           16733                           TCF      +2                                    
044473,000749:    6732           16741                           TCF      NEG                                   
044474,000750: 
044475,000751:    6733           10156                           CCS      MPAC       +2                         
044476,000752:    6734           00002                           TC       Q                                     
044477,000753:    6735           16737                           TCF      +2                                    
044478,000754:    6736           16741                           TCF      NEG                                   
044479,000755: 
044480,000756:    6737           50002        Q+1                INDEX    Q                                     
044481,000757:    6740           00001                           TC       1                                     
044482,000758: 
044483,000759:    6741           50002        NEG                INDEX    Q                                     #  IF FIRST NON-ZERO REGISTER WAS NEGATIVE.
044484,000760:    6742           00002                           TC       2                                     
044485,000761: 
044486,000762:    6743     6741               Q+2                =        NEG                                   
044487,000763: 
044488,000764:                                                                                                  #  ITRACE (3) REFERS TO "EXIT".
044489,000765: 
044490,000766:    6743           30165        EXIT               CA       BANKSET                               #  RESTORE USER'S BANK SETTING, AND LEAVE
044491,000767:    6744           54006                           TS       BBANK                                 #  INTERPRETIVE MODE.
044492,000768:    6745           50164                           INDEX    LOC                                   
044493,000769:    6746           00001                           TC       1                                     
044494,000770: 

Page 1026

044496,000772:                                                                                                  #  SECTION 3 - ADD/SUBTRACT PACKAGE.
044497,000773: 
044498,000774:                                                                                                  #           THE FOLLOWING OPERATIONS ARE PROVIDED FOR ADDING TO AND SUBTRACTING FROM THE MULTI-PURPOSE ACCUMULATOR
044499,000775:                                                                                                  #  MPAC:
044500,000776: 
044501,000777:                                                                                                  #        1.      DAD     DOUBLE PRECISION ADD.
044502,000778:                                                                                                  #        2.      DSU     DOUBLE PRECISION SUBTRACT.
044503,000779:                                                                                                  #        3.      BDSU    DOUBLE PRECISION SUBTRACT FROM.
044504,000780:                                                                                                  #        4.      TAD     TRIPLE PRECISION ADD.
044505,000781:                                                                                                  #        5.      VAD     VECTOR ADD.
044506,000782:                                                                                                  #        6.      VSU     VECTOR SUBTRACT.
044507,000783:                                                                                                  #        7.      BVSU    VECTOR SUBTRACT FROM.
044508,000784:                                                                                                  #  THE INTERPRETIVE OVERFLOW INDICATOR OVFIND IS SET NON-ZERO IF OVERFLOW OCCURS IN ANY OF THE ABOVE.
044509,000785: 
044510,000786:    6747           34735        VSU                CAF      BIT15                                 #  CHANGES 0 TO DCS.
044511,000787:    6750           16752                           TCF      +2                                    
044512,000788: 
044513,000789:    6751           34355        VAD                CAF      PRIO30                                #  CHANGES 0 TO DCA.
044514,000790:    6752           26116                           ADS      ADDRWD                                
044515,000791:    6753           00006                           EXTEND                                         
044516,000792:    6754           50116                           INDEX    ADDRWD                                
044517,000793:    6755           00003                           READ     HISCALAR                              #  DCA 2 OR DCS 2
044518,000794:    6756           20160                           DAS      MPAC       +3                         
044519,000795:    6757           00006                           EXTEND                                         #  CHECK OVERFLOW.
044520,000796:    6760           16762                           BZF      +2                                    
044521,000797:    6761           07014                           TC       OVERFLWY                              
044522,000798: 
044523,000799:    6762           00006                           EXTEND                                         
044524,000800:    6763           50116                           INDEX    ADDRWD                                
044525,000801:    6764           00005                           READ     CHAN5                                 #  DCA 4 OR DCS 4
044526,000802:    6765           20162                           DAS      MPAC       +5                         
044527,000803:    6766           00006                           EXTEND                                         
044528,000804:    6767           16771                           BZF      +2                                    
044529,000805:    6770           07011                           TC       OVERFLWZ                              
044530,000806: 
044531,000807:    6771           00006                           EXTEND                                         
044532,000808:    6772           50116                           INDEX    ADDRWD                                
044533,000809:    6773           00001                           READ     LCHAN                                 #  DCA 0 OR DCS 0
044534,000810:    6774           17000                           TCF      ENDVXV                                
044535,000811: 
044536,000812:    6775           00006        DAD                EXTEND                                         
044537,000813:    6776           50116                           INDEX    ADDRWD                                
044538,000814:    6777           30001                           DCA      0                                     
044539,000815:    7000           20155        ENDVXV             DAS      MPAC                                  #  VXV FINISHES HERE.
044540,000816:    7001           00006                           EXTEND                                         
044541,000817:    7002           16061                           BZF      DANZIG                                
044542,000818: 

Page 1027

044544,000820:    7003           07017        SETOVF             TC       OVERFLOW                              
044545,000821:    7004           16061                           TCF      DANZIG                                
044546,000822: 

Page 1028

044548,000824:    7005           00006        DSU                EXTEND                                         
044549,000825:    7006           50116                           INDEX    ADDRWD                                
044550,000826:    7007           40001                           DCS      0                                     
044551,000827:    7010           17000                           TCF      ENDVXV                                
044552,000828: 
044553,000829:    7011           54001        OVERFLWZ           TS       L                                     #  ENTRY FOR THIRD COMPONENT.
044554,000830:    7012           34756                           CAF      FIVE                                  
044555,000831:    7013           17016                           TCF      +3                                    
044556,000832: 
044557,000833:    7014           54001        OVERFLWY           TS       L                                     #  ENTRY FOR SECOND COMPONENT.
044558,000834:    7015           36245                           CAF      THREE                                 
044559,000835:    7016           56001                           XCH      L                                     
044560,000836: 
044561,000837:    7017           50000        OVERFLOW           INDEX    A                                     #  ENTRY FOR 1ST COMP OR DP (L=0).
044562,000838:    7020           44734                           CS       LIMITS                                #  PICK UP POSMAX OR NEGMAX.
044563,000839:    7021           54130                           TS       BUF                                   
044564,000840:    7022           00006                           EXTEND                                         
044565,000841:    7023           24000                           AUG      A                                     #  FORCE OVERFLOW.
044566,000842:    7024           50001                           INDEX    L                                     
044567,000843:    7025           26155                           ADS      MPAC       +1                         
044568,000844:    7026           54007                           TS       7                                     
044569,000845:    7027           34755                           CAF      ZERO                                  
044570,000846:    7030           60130                           AD       BUF                                   
044571,000847:    7031           50001                           INDEX    L                                     
044572,000848:    7032           26154                           ADS      MPAC                                  
044573,000849:    7033           54007                           TS       7                                     
044574,000850:    7034           00002                           TC       Q                                     #  NO OVERFLOW EXIT.
044575,000851:    7035           17152                           TCF      SETOVF2                               #  SET OVFIND AND EXIT.
044576,000852: 
044577,000853:    7036           00006        BVSU               EXTEND                                         
044578,000854:    7037           50116                           INDEX    ADDRWD                                
044579,000855:    7040           30003                           DCA      2                                     
044580,000856:    7041           52160                           DXCH     MPAC       +3                         
044581,000857:    7042           00006                           EXTEND                                         
044582,000858:    7043           40001                           DCOM                                           
044583,000859:    7044           20160                           DAS      MPAC       +3                         
044584,000860:    7045           00006                           EXTEND                                         
044585,000861:    7046           17050                           BZF      +2                                    
044586,000862:    7047           07014                           TC       OVERFLWY                              
044587,000863: 
044588,000864:    7050           00006                           EXTEND                                         
044589,000865:    7051           50116                           INDEX    ADDRWD                                
044590,000866:    7052           30005                           DCA      4                                     
044591,000867:    7053           52162                           DXCH     MPAC       +5                         
044592,000868:    7054           00006                           EXTEND                                         
044593,000869:    7055           40001                           DCOM                                           
044594,000870:    7056           20162                           DAS      MPAC       +5                         
044595,000871:    7057           00006                           EXTEND                                         
044596,000872:    7060           17062                           BZF      +2                                    
044597,000873:    7061           07011                           TC       OVERFLWZ                              
044598,000874: 

Page 1029

044600,000876:    7062           00006        BDSU               EXTEND                                         
044601,000877:    7063           50116                           INDEX    ADDRWD                                
044602,000878:    7064           30001                           DCA      0                                     
044603,000879:    7065           52155                           DXCH     MPAC                                  
044604,000880:    7066           00006                           EXTEND                                         
044605,000881:    7067           40001                           DCOM                                           
044606,000882:    7070           17000                           TCF      ENDVXV                                
044607,000883: 

Page 1030

044609,000885:                                                                                                  #  TRIPLE PRECISION ADD ROUTINE.
044610,000886: 
044611,000887:    7071           00006        TAD                EXTEND                                         
044612,000888:    7072           50116                           INDEX    ADDRWD                                
044613,000889:    7073           30002                           DCA      1                                     #  ADD MINOR PARTS FIRST.
044614,000890:    7074           20156                           DAS      MPAC       +1                         
044615,000891:    7075           50116                           INDEX    ADDRWD                                
044616,000892:    7076           60000                           AD       0                                     
044617,000893:    7077           60154                           AD       MPAC                                  
044618,000894:    7100           54154                           TS       MPAC                                  
044619,000895:    7101           16061                           TCF      DANZIG                                
044620,000896: 
044621,000897:    7102           17003                           TCF      SETOVF                                #  SET OVFIND IF SUCH OCCURS.
044622,000898: 

Page 1031

044624,000900:                                                                                                  #  ARITHMETIC SUBROUTINES REQUIRED IN FIXED-FIXED.
044625,000901:                                                                                                  #        1.  DMPSUB      DOUBLE PRECISION MULTIPLY. MULTIPLY THE CONTENTS OF MPAC,+1 BY THE DP WORD WHOSE ADDRESS
044626,000902:                                                                                                  #                        IS IN ADDRWD AND LEAVE A TRIPLE PRECISION RESULT IN MPAC.
044627,000903:                                                                                                  #        2.  ROUNDSUB    ROUND THE TRIPLE PRECISON CONTENTS OF MPAC TO DOUBLE PRECISION.
044628,000904:                                                                                                  #        3.  DOTSUB      TAKE THE DOT PRODUCT OF THE VECTOR IN MPAC AND THE VECTOR WHOSE ADDRESS IS IN ADDRWD
044629,000905:                                                                                                  #                        AND LEAVE THE TRIPLE PRECISION RESULT IN MPAC.
044630,000906:                                                                                                  #        4.  POLY        USING THE CONTENTS OF MPAC AS A DP ARGUMENT, EVALUATE THE POLYNOMIAL WHOSE DEGREE AND
044631,000907:                                                                                                  #                        COEFFICIENTS IMMEDIATELY FOLLOW THE TC POLY INSTRUCTION (SEE ROUTINE FOR DETAILS.)
044632,000908: 
044633,000909:    7103           50002        DMP                INDEX    Q                                     #  BASIC SUBROUTINE FOR USE BY PINBALL, ETC
044634,000910:    7104           30000                           CAF      0                                     #  ADRES OF ARGUMENT FOLLOWS  TC DMP .
044635,000911:    7105           24002                           INCR     Q                                     
044636,000912:    7106           54116                 -1        TS       ADDRWD                                #  (PROLOGUE FOR SETTING ADDRWD.)
044637,000913: 
044638,000914:    7107           50116        DMPSUB             INDEX    ADDRWD                                #  GET MINOR PART OF OPERAND AT C(ADDRWD).
044639,000915:    7110           30001                           CA       1                                     
044640,000916:    7111           54156                           TS       MPAC       +2                         #  THIS WORKS FOR SQUARING MPAC AS WELL.
044641,000917:    7112           34755                           CAF      ZERO                                  #  SET MPAC +1 TO ZERO SO WE CAN ACCUMULATE
044642,000918:    7113           56155                           XCH      MPAC       +1                         #  THE PARTIAL PRODUCTS WITH DAS
044643,000919:    7114           54135                           TS       MPTEMP                                #  INSTRUCTIONS.
044644,000920:    7115           00006                           EXTEND                                         
044645,000921:    7116           70156                           MP       MPAC       +2                         #  MINOR OF MPAC X MINOR OF C(ADDRWD).
044646,000922: 
044647,000923:    7117           56156                           XCH      MPAC       +2                         #  DISCARD MINOR PART OF ABOVE RESULT AND
044648,000924:    7120           00006                           EXTEND                                         #  FORM MAJOR OF MPAC X MINOR OF C(ADDRWD).
044649,000925:    7121           70154                           MP       MPAC                                  
044650,000926:    7122           20156                           DAS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
044651,000927: 
044652,000928:    7123           50116                           INDEX    ADDRWD                                #  GET MAJOR PART OF ARGUMENT AT C(ADDRWD).
044653,000929:    7124           30000                           CA       0                                     
044654,000930:    7125           56135                           XCH      MPTEMP                                #  SAVE AND BRING OUT MINOR OF MPAC.
044655,000931:    7126           00006        DMPSUB2            EXTEND                                         
044656,000932:    7127           70135                           MP       MPTEMP                                #  MAJOR OF C(ADDRWD) X MINOR OF MPAC.
044657,000933:    7130           20156                           DAS      MPAC       +1                         #  ACCUMULATE, SETTING A TO NET OVERFLOW.
044658,000934: 
044659,000935:    7131           56154                           XCH      MPAC                                  #  SETTING MPAC TO 0 OR +-1.
044660,000936:    7132           00006                           EXTEND                                         
044661,000937:    7133           70135                           MP       MPTEMP                                #  MAJOR OF MPAC X MAJOR OF C(ADDRWD).
044662,000938:    7134           20155                           DAS      MPAC                                  #  GUARANTEED NO OVERFLOW.
044663,000939:    7135           00002                           TC       Q                                     #  49 MCT = .573 MS. INCLUDING RETURN.
044664,000940: 

Page 1032

044666,000942:                                                                                                  #  ROUND MPAC TO DOUBLE PRECISION, SETTING OVFIND ON THE RARE EVENT OF OVERFLOW.
044667,000943: 
044668,000944:    7136           34755        ROUNDSUB           CAF      ZERO                                  #  SET MPAC +2 = 0 FOR SCALARS AND CHANGE
044669,000945:    7137           54163                 +1        TS       MODE                                  #  MODE TO DP.
044670,000946: 
044671,000947:    7140           56156        VROUND             XCH      MPAC       +2                         #  BUT WE NEEDNT TAKE THE TIME FOR VECTORS.
044672,000948:    7141           60000                           DOUBLE                                         
044673,000949:    7142           54001                           TS       L                                     
044674,000950:    7143           00002                           TC       Q                                     
044675,000951: 
044676,000952:    7144           60155                           AD       MPAC       +1                         #  ADD ROUNDING BIT IF MPAC +2 WAS GREATER
044677,000953:    7145           54155                           TS       MPAC       +1                         #  THAN .5 IN MAGNITUDE.
044678,000954:    7146           00002                           TC       Q                                     
044679,000955: 
044680,000956:    7147           60154                           AD       MPAC                                  #  PROPAGATE INTERFLOW.
044681,000957:    7150           54154                           TS       MPAC                                  
044682,000958:    7151           00002                           TC       Q                                     
044683,000959: 
044684,000960:    7152           54121        SETOVF2            TS       OVFIND                                #  (RARE).
044685,000961:    7153           00002                           TC       Q                                     
044686,000962: 

Page 1033

044688,000964:                                                                                                  #  THE DOT PRODUCT SUBROUTINE USUALLY FORMS THE DOT PRODUCT OF THE VECTOR IN MPAC WITH A STANDARD SIX
044689,000965:                                                                                                  #  REGISTER VECTOR WHOSE ADDRESS IS IN ADDRWD.  IN THIS CASE C(DOTINC) ARE SET TO 2.   VXM, HOWEVER, SETS C(DOTINC) TO
044690,000966:                                                                                                  #  6 SO THAT DOTSUB DOTS MPAC WITH A COLUMN VECTOR OF THE MATRIX IN QUESTION IN THIS CASE.
044691,000967: 
044692,000968:    7154           34752        PREDOT             CAF      TWO                                   #  PROLOGUE TO SET DOTINC TO 2.
044693,000969:    7155           54136                           TS       DOTINC                                
044694,000970: 
044695,000971:    7156           00006        DOTSUB             EXTEND                                         
044696,000972:    7157           22137                           QXCH     DOTRET                                #  SAVE RETURN.
044697,000973:    7160           07107                           TC       DMPSUB                                #  DOT X COMPONENTS.
044698,000974:    7161           52160                           DXCH     MPAC       +3                         #  POSITION Y COMPONENT OF MPAC FOR
044699,000975:    7162           52155                           DXCH     MPAC                                  #  MULTIPLICATION WHILE SAVING RESULT IN
044700,000976:    7163           52131                           DXCH     BUF                                   #  THREE WORD BUFFER, BUF.
044701,000977:    7164           30156                           CA       MPAC       +2                         
044702,000978:    7165           54132                           TS       BUF        +2                         
044703,000979: 
044704,000980:    7166           30136                           CA       DOTINC                                #  ADVANCE ADDRWD TO Y COMPONENT OF
044705,000981:    7167           26116                           ADS      ADDRWD                                #  OTHER ARGUMENT.
044706,000982:    7170           07107                           TC       DMPSUB                                
044707,000983:    7171           52156                           DXCH     MPAC       +1                         #  ACCUMULATE PARTIAL PRODUCTS.
044708,000984:    7172           20132                           DAS      BUF        +1                         
044709,000985:    7173           60154                           AD       MPAC                                  
044710,000986:    7174           60130                           AD       BUF                                   
044711,000987:    7175           54130                           TS       BUF                                   
044712,000988:    7176           17200                           TCF      +2                                    
044713,000989:    7177           54121                           TS       OVFIND                                #  IF OVERFLOW OCCURS.
044714,000990: 
044715,000991:    7200           52162                           DXCH     MPAC       +5                         #  MULTIPLY Z COMPONENTS.
044716,000992:    7201           52155                           DXCH     MPAC                                  
044717,000993:    7202           30136                           CA       DOTINC                                
044718,000994:    7203           26116                           ADS      ADDRWD                                
044719,000995:    7204           07107                           TC       DMPSUB                                
044720,000996:    7205           52132        ENDDOT             DXCH     BUF        +1                         #  LEAVE FINAL ACCUMULATION IN MPAC.
044721,000997:    7206           20156                           DAS      MPAC       +1                         
044722,000998:    7207           60154                           AD       MPAC                                  
044723,000999:    7210           60130                           AD       BUF                                   
044724,001000:    7211           54154                           TS       MPAC                                  
044725,001001:    7212           00137                           TC       DOTRET                                
044726,001002: 
044727,001003:    7213           07017                           TC       OVERFLOW                              #  ON OVERFLOW HERE.
044728,001004:    7214           00137                           TC       DOTRET                                
044729,001005: 

Page 1034

044731,001007:                                                                                                  #  DOUBLE PRECISION POLYNOMIAL EVALUATOR
044732,001008:                                                                                                  #                                  N        N-1
044733,001009:                                                                                                  #        THIS ROUTINE EVALUATES A X  + A   X    + ... + A  X + A  LEAVING THE DP RESULT IN MPAC ON EXIT.
044734,001010:                                                                                                  #                                N      N-1              1      0
044735,001011: 
044736,001012:                                                                                                  #  THE ROUTINE HAS TWO ENTRIES
044737,001013: 
044738,001014:                                                                                                  #        1.      ENTRY THRU POWRSERS.  THE COEFFICIENTS MAY BE EITHER IN FIXED OR ERASABLE, THE CALL IS BY
044739,001015:                                                                                                  #                TC POWRSERS, AND THE RETURN IS TO LOC(TC POWRSERS)+1.  THE ENTERING DATA MUST BE AS FOLLOWS
044740,001016: 
044741,001017:                                                                                                  #                        A               SP      LOC-3           ADDRESS FOR REFERENCING COEF TABLE
044742,001018:                                                                                                  #                        L               SP      N-1             N IS THE DEGREE OF THE POWER SERIES
044743,001019:                                                                                                  #                        MPAC            DP      X               ARGUMENT
044744,001020:                                                                                                  #                        LOC-2N          DP      A(0)
044745,001021:                                                                                                  #                                        ...
044746,001022:                                                                                                  #                        LOC             DP      A(N)
044747,001023: 
044748,001024:                                                                                                  #        2.      ENTRY THRU POLY.  THE CALL TO POLY AND THE ENTERING DATA MUST BE AS FOLLOWS
044749,001025: 
044750,001026:                                                                                                  #                        MPAC            DP      X               ARGUMENT
044751,001027:                                                                                                  #                        LOC             TC      POLY
044752,001028:                                                                                                  #                        LOC+1           SP      N-1
044753,001029:                                                                                                  #                        LOC+2           DP      A(0)
044754,001030:                                                                                                  #                                        ...
044755,001031:                                                                                                  #                        LOC+2N+2        DP      A(N)            RETURN IS TO LOC+2N+4
044756,001032: 
044757,001033:    7215           00006        POWRSERS           EXTEND                                         
044758,001034:    7216           22141                           QXCH     POLYRET                               #  RETURN ADDRESS
044759,001035:    7217           54117                           TS       POLISH                                #  POWER SERIES ADDRESS
044760,001036:    7220           22140                           LXCH     POLYCNT                               #  N-1 TO COUNTER
044761,001037:    7221           17232                           TCF      POLYCOM                               #  SKIP SET UP BY POLY
044762,001038: 
044763,001039:    7222           50002        POLY               INDEX    Q                                     
044764,001040:    7223           30000                           CAF      0                                     
044765,001041:    7224           54140                           TS       POLYCNT                               #  N-1 TO COUNTER
044766,001042:    7225           60000                           DOUBLE                                         
044767,001043:    7226           60002                           AD       Q                                     
044768,001044:    7227           54117                           TS       POLISH                                #  L(A(N))-3 TO POLISH
044769,001045:    7230           64756                           AD       FIVE                                  
044770,001046:    7231           54141                           TS       POLYRET                               #  STORE RETURN ADDRESS
044771,001047: 
044772,001048:    7232           36273        POLYCOM            CAF      LVBUF                                 #  INCOMING X WILL BE MOVED TO VBUF, SO
044773,001049:    7233           54116                           TS       ADDRWD                                #  SET ADDRWD SO DMPSUB WILL MPY BY VBUF.
044774,001050: 
044775,001051:    7234           00006                           EXTEND                                         
044776,001052:    7235           50117                           INDEX    POLISH                                
044777,001053:    7236           30004                           DCA      3                                     
044778,001054: 

Page 1035

044780,001056:    7237           52155                           DXCH     MPAC                                  #  LOAD A(N) INTO MPAC,
044781,001057:    7240           52123                           DXCH     VBUF                                  #  SAVING X IN VBUF
044782,001058:    7241           17245                           TCF      POLY2                                 
044783,001059: 
044784,001060:    7242           54140        POLYLOOP           TS       POLYCNT                               #  SAVE DECREMENTED LOOP COUNTER
044785,001061:    7243           44752                           CS       TWO                                   
044786,001062:    7244           26117                           ADS      POLISH                                #  REGRESS COEFFICIENT POINTER
044787,001063: 
044788,001064:    7245           07107        POLY2              TC       DMPSUB                                #  MULTIPLY BY X
044789,001065:    7246           00006                           EXTEND                                         
044790,001066:    7247           50117                           INDEX    POLISH                                
044791,001067:    7250           30002                           DCA      1                                     #  ADD IN NEXT COEFFICIENT
044792,001068:    7251           20155                           DAS      MPAC                                  #  USERS RESPONSIBILITY TO ASSURE NO OVFLOW
044793,001069: 
044794,001070:    7252           10140                           CCS      POLYCNT                               
044795,001071:    7253           17242                           TCF      POLYLOOP                              
044796,001072:    7254           00141                           TC       POLYRET                               #  RETURN CALLER
044797,001073: 

Page 1036

044799,001075:                                                                                                  #  MISCELLANEOUS MULTI-PRECISION ROUTINES REQUIRED IN FIXED-FIXED BUT NOT USED BY THE INTERPRETER.
044800,001076: 
044801,001077:    7255           34755        DPAGREE            CAF      ZERO                                  #  DOUBLE PRECISION ENTRY -
044802,001078:    7256           54156                           TS       MPAC       +2                         #  ZERO LOW-ORDER WORD
044803,001079: 
044804,001080:    7257           22002        TPAGREE            LXCH     Q                                     #  FORCE SIGN AGREEMENT AMONG THE TRIPLE
044805,001081:    7260           06723                           TC       BRANCH                                #  PRECISION CONTENTS OF MPAC.  RETURNING
044806,001082:    7261           17265                           TCF      ARG+                                  #  WITH SIGNUM OF THE INPUT IN A.
044807,001083:    7262           17305                           TCF      ARGZERO                               
044808,001084: 
044809,001085:    7263           44733                           CS       POSMAX                                #  IF NEGATIVE.
044810,001086:    7264           17266                           TCF      +2                                    
044811,001087: 
044812,001088:    7265           34733        ARG+               CAF      POSMAX                                
044813,001089:    7266           54002                           TS       Q                                     
044814,001090:    7267           00006                           EXTEND                                         
044815,001091:    7270           24000                           AUG      A                                     #  FORMS +-1.0.
044816,001092:    7271           60156                           AD       MPAC       +2                         
044817,001093:    7272           54156                           TS       MPAC       +2                         
044818,001094:    7273           34755                           CAF      ZERO                                  
044819,001095:    7274           60002                           AD       Q                                     
044820,001096:    7275           60155                           AD       MPAC       +1                         
044821,001097:    7276           54155                           TS       MPAC       +1                         
044822,001098:    7277           34755                           CAF      ZERO                                  
044823,001099:    7300           60002                           AD       Q                                     #  Q STILL HAS POSMAX OR NEGMAX IN IT.
044824,001100:    7301           60154                           AD       MPAC                                  
044825,001101:    7302           54154        ARGZERO2           TS       MPAC                                  #  ALWAYS SKIPPING UNLESS ARGZERO.
044826,001102:    7303           54155                           TS       MPAC       +1                         
044827,001103:    7304           00001                           TC       L                                     #  RETURN VIA L.
044828,001104: 
044829,001105:    7305           54156        ARGZERO            TS       MPAC       +2                         #  SET ALL THREE MPAC REGISTERS TO ZERO.
044830,001106:    7306           17302                           TCF      ARGZERO2                              
044831,001107: 
044832,001108:                                                                                                  #  SHORTMP MULTIPLIES THE TP CONTENTS OF MPAC BY THE SINGLE PRECISION NUMBER ARRIVING IN A.
044833,001109: 
044834,001110:    7307           54135        SHORTMP            TS       MPTEMP                                
044835,001111:    7310           00006                           EXTEND                                         
044836,001112:    7311           70156                           MP       MPAC       +2                         
044837,001113:    7312           54156                           TS       MPAC       +2                         
044838,001114:    7313           34755        SHORTMP2           CAF      ZERO                                  #  SO SUBSEQUENT DAS WILL WORK.
044839,001115:    7314           56155                           XCH      MPAC       +1                         
044840,001116:    7315           17126                           TCF      DMPSUB2                               
044841,001117: 

Page 1037

044843,001119:                                                                                                  #  DMPNSUB MULTIPLIES THE DP FRACTION ARRIVING IN MPAC BY THE SP
044844,001120:                                                                                                  #  INTEGER ARRIVING IN A.  THE DP PRODUCT DEPARTS BOTH IN MPAC AND IN
044845,001121:                                                                                                  #  A AND L.  NOTE THAT DMPNSUB NORMALLY INCREASES THE MAGNITUDE OF THE
044846,001122:                                                                                                  #  CONTENTS OF MPAC.  THE CUSTOMER MUST INSURE THAT B(A) X B(MPAC,MPAC+1)
044847,001123:                                                                                                  #  AND B(A) X B(MPAC) ARE LESS THAN 1 IN MAGNITUDE, WHERE B, AS IS OBVIOUS,
044848,001124:                                                                                                  #  INDICATES THE ARRIVING CONTENTS.
044849,001125: 
044850,001126:    7316           54135        DMPNSUB            TS       DMPNTEMP                              
044851,001127:    7317           00006                           EXTEND                                         
044852,001128:    7320           70155                           MP       MPAC       +1                         
044853,001129:    7321           52155                           DXCH     MPAC                                  #  LOW PRODUCT TO MPAC, HIGH FACTOR TO A
044854,001130:    7322           00006                           EXTEND                                         
044855,001131:    7323           70135                           MP       DMPNTEMP                              
044856,001132:    7324           30001                           CA       L                                     
044857,001133:    7325           26154                           ADS      MPAC                                  #  COMPLETING THE PRODUCT IN MPAC
044858,001134:    7326           00006                           EXTEND                                         
044859,001135:    7327           30155                           DCA      MPAC                                  #  BRINGING THE PRODUCT INTO A AND L
044860,001136:    7330           00002                           TC       Q                                     
044861,001137: 

Page 1038

044863,001139:                                                                                                  #  MISCELLANEOUS VECTOR OPERATIONS.  INCLUDED HERE ARE THE FOLLOWING:
044864,001140:                                                                                                  #        1.      DOT     DP VECTOR DOT PRODUCT.
044865,001141:                                                                                                  #        2.      VXV     DP VECTOR CROSS PRODUCT.
044866,001142:                                                                                                  #        3.      VXSC    DP VECTOR TIMES SCALAR.
044867,001143:                                                                                                  #        4.      V/SC    DP VECTOR DIVIDED BY SCALAR.
044868,001144:                                                                                                  #        5.      VPROJ   DP VECTOR PROJECTION.  ( (MPAC.X)MPAC ).
044869,001145:                                                                                                  #        6.      VXM     DP VECTOR POST-MULTIPLIED BY MATRIX.
044870,001146:                                                                                                  #        7.      MXV     DP VECTOR PRE-MULTIPLIED BY MATRIX.
044871,001147: 
044872,001148:    7331           07154        DOT                TC       PREDOT                                #  DO THE DOT PRODUCT AND EXIT, CHANGING
044873,001149:    7332           34755        DMODE              CAF      ZERO                                  #  THE MODE TO DP SCALAR.
044874,001150:    7333           16060                           TCF      NEWMODE                               
044875,001151: 
044876,001152:    7334           34752        MXV                CAF      TWO                                   #  SET UP MATINC AND DOTINC FOR ROW
044877,001153:    7335           54140                           TS       MATINC                                #  VECTORS.
044878,001154:    7336           17342                           TCF      VXM/MXV                               #  GO TO COMMON PORTION.
044879,001155: 
044880,001156:    7337           44363        VXM                CS       TEN                                   #  SET MATINC AND DOTINC TO REFER TO MATRIX
044881,001157:    7340           54140                           TS       MATINC                                #  AS THREE COLUMN VECTORS.
044882,001158:    7341           36242                           CAF      SIX                                   
044883,001159: 

Page 1039

044885,001161:                                                                                                  #  COMMON PORTION OF MXV AND VXM.
044886,001162: 
044887,001163:    7342           54136        VXM/MXV            TS       DOTINC                                
044888,001164:                                                                                                  #  ITRACE (2) REFERS TO "VXM/MXV".
044889,001165:    7343           07532                           TC       MPACVBUF                              #  SAVE VECTOR IN MPAC FOR FURTHER USE.
044890,001166: 
044891,001167:    7344           07156                           TC       DOTSUB                                #  GO DOT TO GET X COMPONENT OF ANSWER.
044892,001168:    7345           00006                           EXTEND                                         
044893,001169:    7346           30123                           DCA      VBUF                                  #  MOVE MPAC VECTOR BACK INTO MPAC, SAVING
044894,001170:    7347           52155                           DXCH     MPAC                                  #  NEW X COMPONENT IN BUF2.
044895,001171:    7350           52134                           DXCH     BUF2                                  
044896,001172:    7351           00006                           EXTEND                                         
044897,001173:    7352           30125                           DCA      VBUF       +2                         
044898,001174:    7353           52160                           DXCH     MPAC       +3                         
044899,001175:    7354           00006                           EXTEND                                         
044900,001176:    7355           30127                           DCA      VBUF       +4                         
044901,001177:    7356           52162                           DXCH     MPAC       +5                         
044902,001178:    7357           30140                           CA       MATINC                                #  INITIALIZE ADDRWD FOR NEXT DOT PRODUCT.
044903,001179:    7360           26116                           ADS      ADDRWD                                #  FORMS BASE ADDRESS OF NEXT COLUMN(ROW).
044904,001180: 
044905,001181:    7361           07156                           TC       DOTSUB                                
044906,001182:    7362           52123                           DXCH     VBUF                                  #  MOVE GIVEN VECTOR BACK TO MPAC, SAVING Y
044907,001183:    7363           52155                           DXCH     MPAC                                  #  COMPONENT OF ANSWER IN VBUF +2.
044908,001184:    7364           52125                           DXCH     VBUF       +2                         
044909,001185:    7365           52160                           DXCH     MPAC       +3                         
044910,001186:    7366           52127                           DXCH     VBUF       +4                         
044911,001187:    7367           52162                           DXCH     MPAC       +5                         
044912,001188:    7370           30140                           CA       MATINC                                #  FORM ADDRESS OF LAST COLUMN OR ROW.
044913,001189:    7371           26116                           ADS      ADDRWD                                
044914,001190: 
044915,001191:    7372           07156                           TC       DOTSUB                                
044916,001192:    7373           52134                           DXCH     BUF2                                  #  ANSWER NOW COMPLETE. PUT COMPONENTS INTO
044917,001193:    7374           52155                           DXCH     MPAC                                  #  PROPER MPAC REGISTERS.
044918,001194:    7375           52162                           DXCH     MPAC       +5                         
044919,001195:    7376           52125                           DXCH     VBUF       +2                         
044920,001196:    7377           52160                           DXCH     MPAC       +3                         
044921,001197:    7400           16061                           TCF      DANZIG                                #  EXIT.
044922,001198: 

Page 1040

044924,001200:                                                                                                  #  VXSC - VECTOR TIMES SCALAR.
044925,001201: 
044926,001202:    7401           10163        VXSC               CCS      MODE                                  #  TEST PRESENT MODE.
044927,001203:    7402           17430                           TCF      DVXSC                                 #  SEPARATE ROUTINE WHEN SCALAR IS IN MPAC.
044928,001204:    7403           17430                           TCF      DVXSC                                 
044929,001205: 
044930,001206:    7404           07107        VVXSC              TC       DMPSUB                                #  COMPUTE X COMPONENT
044931,001207:    7405           07140                           TC       VROUND                                #  AND ROUND IT.
044932,001208:    7406           52160                           DXCH     MPAC       +3                         #  PUT Y COMPONENT INTO MPAC SAVING MPAC IN
044933,001209:    7407           52155                           DXCH     MPAC                                  #  MPAC +3.
044934,001210:    7410           52160                           DXCH     MPAC       +3                         
044935,001211: 
044936,001212:    7411           07107                           TC       DMPSUB                                #  DO SAME FOR Y AND Z COMPONENTS.
044937,001213:    7412           07140                           TC       VROUND                                
044938,001214:    7413           52162                           DXCH     MPAC       +5                         
044939,001215:    7414           52155                           DXCH     MPAC                                  
044940,001216:    7415           52162                           DXCH     MPAC       +5                         
044941,001217: 
044942,001218:    7416           07107                           TC       DMPSUB                                
044943,001219:    7417           07140                           TC       VROUND                                
044944,001220:    7420           52155        VROTATEX           DXCH     MPAC                                  #  EXIT USED TO RESTORE MPAC AFTER THIS
044945,001221:    7421           52162                           DXCH     MPAC       +5                         #  TYPE OF ROTATION.  CALLED BY VECTOR SHIFT
044946,001222:    7422           52160                           DXCH     MPAC       +3                         #  RIGHT, V/SC, ETC.
044947,001223:    7423           52155                           DXCH     MPAC                                  
044948,001224:    7424           16061                           TCF      DANZIG                                
044949,001225: 

Page 1041

044951,001227:                                                                                                  #  DP VECTOR PROJECTION ROUTINE.
044952,001228: 
044953,001229:    7425           07154        VPROJ              TC       PREDOT                                #  (MPAC.X)MPAC IS COMPUTED AND LEFT IN
044954,001230:    7426           44751                           CS       FOUR                                  #  MPAC.  DO DOT AND FALL INTO DVXSC.
044955,001231:    7427           26116                           ADS      ADDRWD                                
044956,001232: 
044957,001233:                                                                                                  #  VXSC WHEN SCALAR ARRIVES IN MPAC AND VECTOR IS AT X.
044958,001234: 
044959,001235:    7430           00006        DVXSC              EXTEND                                         #  SAVE SCALAR IN MPAC +3 AND GET X
044960,001236:    7431           30155                           DCA      MPAC                                  #  COMPONENT OF ANSWER.
044961,001237:    7432           52160                           DXCH     MPAC       +3                         
044962,001238:    7433           07107                           TC       DMPSUB                                
044963,001239:    7434           07140                           TC       VROUND                                
044964,001240: 
044965,001241:    7435           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO Y COMPONENT OF X.
044966,001242:    7436           26116                           ADS      ADDRWD                                
044967,001243:    7437           00006                           EXTEND                                         
044968,001244:    7440           30160                           DCA      MPAC       +3                         #  PUT SCALAR BACK INTO MPAC AND SAVE
044969,001245:    7441           52155                           DXCH     MPAC                                  #  X RESULT IN MPAC +5.
044970,001246:    7442           52162                           DXCH     MPAC       +5                         
044971,001247:    7443           07107                           TC       DMPSUB                                
044972,001248:    7444           07140                           TC       VROUND                                
044973,001249: 
044974,001250:    7445           34752                           CAF      TWO                                   
044975,001251:    7446           26116                           ADS      ADDRWD                                #  TO Z COMPONENT.
044976,001252:    7447           52160                           DXCH     MPAC       +3                         #  BRING SCALAR BACK, PUTTING Y RESULT IN
044977,001253:    7450           52155                           DXCH     MPAC                                  #  THE PROPER PLACE.
044978,001254:    7451           52160                           DXCH     MPAC       +3                         
044979,001255:    7452           07107                           TC       DMPSUB                                
044980,001256:    7453           07140                           TC       VROUND                                
044981,001257: 
044982,001258:    7454           52155                           DXCH     MPAC                                  #  PUT Z COMPONENT IN PROPER PLACE, ALSO
044983,001259:    7455           52162                           DXCH     MPAC       +5                         #  POSITIONING X.
044984,001260:    7456           52155                           DXCH     MPAC                                  
044985,001261: 
044986,001262:    7457           16521                           TCF      VMODE                                 #  MODE HAS CHANGED TO VECTOR.
044987,001263: 

Page 1042

044989,001265:                                                                                                  #           THE VECTOR CROSS PRODUCT ROUTINE CALCULATES (X M -X M ,X M -X M ,X M -X M ) WHERE M IS THE VECTOR IN
044990,001266:                                                                                                  #                                                         3 2  2 3  1 3  3 1  2 1  1 2
044991,001267:                                                                                                  #  MPAC AND X THE VECTOR AT THE GIVEN ADDRESS.
044992,001268: 
044993,001269:    7460           00006        VXV                EXTEND                                         
044994,001270:    7461           30162                           DCA      MPAC       +5                         #  FORM UP M3X1, LEAVING M1 IN VBUF.
044995,001271:    7462           52155                           DXCH     MPAC                                  
044996,001272:    7463           52123                           DXCH     VBUF                                  
044997,001273:    7464           07107                           TC       DMPSUB                                #  BY X1.
044998,001274: 
044999,001275:    7465           00006                           EXTEND                                         
045000,001276:    7466           40160                           DCS      MPAC       +3                         #  CALCULATE -X1M2, SAVING X1M3 IN VBUF +2.
045001,001277:    7467           52155                           DXCH     MPAC                                  
045002,001278:    7470           52125                           DXCH     VBUF       +2                         
045003,001279:    7471           07107                           TC       DMPSUB                                
045004,001280: 
045005,001281:    7472           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO X2.
045006,001282:    7473           26116                           ADS      ADDRWD                                
045007,001283:    7474           00006                           EXTEND                                         
045008,001284:    7475           40162                           DCS      MPAC       +5                         #  PREPARE TO GET -X2M3, SAVING -X1M2 IN
045009,001285:    7476           52155                           DXCH     MPAC                                  #  MPAC +5.
045010,001286:    7477           52162                           DXCH     MPAC       +5                         
045011,001287:    7500           07107                           TC       DMPSUB                                
045012,001288: 
045013,001289:    7501           00006                           EXTEND                                         
045014,001290:    7502           30123                           DCA      VBUF                                  #  GET X2M1, SAVING -X2M3 IN VBUF +4.
045015,001291:    7503           52155                           DXCH     MPAC                                  
045016,001292:    7504           52127                           DXCH     VBUF       +4                         
045017,001293:    7505           07107                           TC       DMPSUB                                
045018,001294: 
045019,001295:    7506           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO X3.
045020,001296:    7507           26116                           ADS      ADDRWD                                
045021,001297:    7510           00006                           EXTEND                                         
045022,001298:    7511           40123                           DCS      VBUF                                  #  GET -X3M1, ADDING X2M1 TO MPAC +5 TO
045023,001299:    7512           52155                           DXCH     MPAC                                  #  COMPLETE THE Z COMPONENT OF THE ANSWER.
045024,001300:    7513           20162                           DAS      MPAC       +5                         
045025,001301: 
045026,001302:    7514           00006                           EXTEND                                         
045027,001303:    7515           17517                           BZF      +2                                    
045028,001304:    7516           07011                           TC       OVERFLWZ                              
045029,001305: 
045030,001306:    7517           07107                           TC       DMPSUB                                
045031,001307:    7520           52125                           DXCH     VBUF       +2                         #  MOVE X1M3 TO MPAC +3 SETTING UP FOR X3M2
045032,001308:    7521           52160                           DXCH     MPAC       +3                         #  AND ADD -X3M1 TO MPAC +3 TO COMPLETE THE
045033,001309:    7522           52155                           DXCH     MPAC                                  #  Y COMPONENT OF THE RESULT.
045034,001310:    7523           20160                           DAS      MPAC       +3                         
045035,001311: 
045036,001312:    7524           00006                           EXTEND                                         
045037,001313:    7525           17527                           BZF      +2                                    

Page 1043

045039,001315:    7526           07014                           TC       OVERFLWY                              
045040,001316: 
045041,001317:    7527           07107                           TC       DMPSUB                                
045042,001318:    7530           52127                           DXCH     VBUF       +4                         #  GO ADD -X2M3 TO X3M2 TO COMPLETE THE X
045043,001319:    7531           17000                           TCF      ENDVXV                                #  COMPONENT (TAIL END OF DAD).
045044,001320: 
045045,001321:                                                                                                  #  THE MPACVBUF SUBROUTINE SAVES THE VECTOR IN MPAC IN VBUF WITHOUT CLOBBERING MPAC.
045046,001322: 
045047,001323:    7532           00006        MPACVBUF           EXTEND                                         #  CALLED BY MXV, VXM, AND UNIT.
045048,001324:    7533           30155                           DCA      MPAC                                  
045049,001325:    7534           52123                           DXCH     VBUF                                  
045050,001326:    7535           00006                           EXTEND                                         
045051,001327:    7536           30160                           DCA      MPAC       +3                         
045052,001328:    7537           52125                           DXCH     VBUF       +2                         
045053,001329:    7540           00006                           EXTEND                                         
045054,001330:    7541           30162                           DCA      MPAC       +5                         
045055,001331:    7542           52127                           DXCH     VBUF       +4                         
045056,001332:    7543           00002                           TC       Q                                     #  RETURN TO CALLER.
045057,001333: 
045058,001334:                                                                                                  #  DOUBLE PRECISION SIGN AGREE ROUTINE.  ARRIVE WITH INPUT IN A+L.  OUTPUT IS IN A + L.
045059,001335: 
045060,001336:    7544           10000        ALSIGNAG           CCS      A                                     #  TEST UPPER PART.
045061,001337:    7545           17551                           TCF      UPPOS                                 #  IT IS POSITIVE
045062,001338:    7546           00002                           TC       Q                                     #  ZERO
045063,001339:    7547           17561                           TCF      UPNEG                                 #  NEGATIVE
045064,001340:    7550           00002                           TC       Q                                     #  ZERO
045065,001341: 
045066,001342:    7551           56001        UPPOS              XCH      L                                     #  SAVE DECREMENTED UPPER PART.
045067,001343:    7552           64736                           AD       HALF                                  
045068,001344:    7553           64736                           AD       HALF                                  
045069,001345:    7554           54000                           TS       A                                     #  SKIPS ON OVERFLOW
045070,001346:    7555           17557                           TCF      +2                                    
045071,001347:    7556           24001                           INCR     L                                     #  RESTORE UPPER TO ROIGINAL VALUE
045072,001348:    7557           56001                           XCH      L                                     #  SWAP A + L BACK.
045073,001349:    7560           00002                           TC       Q                                     
045074,001350: 
045075,001351:    7561           56001        UPNEG              XCH      L                                     #  SAVE COMPLEMENTED + DECREMENTED UPPER PT
045076,001352:    7562           64735                           AD       NEGMAX                                
045077,001353:    7563           67747                           AD       NEGONE                                
045078,001354:    7564           54000                           TS       A                                     
045079,001355:    7565           17567                           TCF      +2                                    #  DONT INCREMENT IF NO OVERFLOW.
045080,001356:    7566           24001                           INCR     L                                     
045081,001357:    7567           56001                           XCH      L                                     
045082,001358:    7570           40000                           COM                                            #  MAKE NEGATIVE AGAIN.
045083,001359:    7571           00002                           TC       Q                                     
045084,001360: 

Page 1044

045086,001362:                                                                                                  #  INTERPRETIVE INSTRUCTIONS WHOSE EXECUTION CONSISTS OF PRINCIPALLY CALLING SUBROUTINES.
045087,001363: 
045088,001364:    7572           07107        DMP1               TC       DMPSUB                                #  DMP INSTRUCTION.
045089,001365:    7573           16061                           TCF      DANZIG                                
045090,001366: 
045091,001367:    7574           07107        DMPR               TC       DMPSUB                                
045092,001368:    7575           07137                           TC       ROUNDSUB   +1                         #  (C(A) = +0).
045093,001369:    7576           16061                           TCF      DANZIG                                
045094,001370: 
045095,001371:    7577           00006        DDV                EXTEND                                         
045096,001372:    7600           50116                           INDEX    ADDRWD                                #  MOVE DIVIDEND INTO BUF.
045097,001373:    7601           30001                           DCA      0                                     
045098,001374:    7602           17607                           TCF      BDDV       +4                         
045099,001375: 
045100,001376:    7603           00006        BDDV               EXTEND                                         #  MOVE DIVISOR INTO MPAC SAVING MPAC, THE
045101,001377:    7604           50116                           INDEX    ADDRWD                                #  DIVIDEND, IN BUF.
045102,001378:    7605           30001                           DCA      0                                     
045103,001379:    7606           52155                           DXCH     MPAC                                  
045104,001380:    7607           52131                 +4        DXCH     BUF                                   
045105,001381:    7610           34755                           CAF      ZERO                                  #  DIVIDE ROUTINES IN BANK 0.
045106,001382:    7611           54004                           TS       FBANK                                 
045107,001383:    7612           12353                           TCF      DDV/BDDV                              
045108,001384: 
045109,001385:    7613           30116        SETPD              CA       ADDRWD                                #  MUST SET TO WORK AREA, OR EBANK TROUBLE.
045110,001386:    7614           54166                           TS       PUSHLOC                               
045111,001387:    7615           16063                           TCF      NOIBNKSW                              #  NO FBANK SWITCH REQUIRED.
045112,001388: 
045113,001389:    7616           34755        TSLC               CAF      ZERO                                  #  SHIFTING ROUTINES LOCATED IN BANK 00.
045114,001390:    7617           54004                           TS       FBANK                                 
045115,001391:    7620           12172                           TCF      TSLC2                                 
045116,001392: 
045117,001393:    7621           36074        GSHIFT             CAF      LOW7                                  #  USED AS MASK AT GENSHIFT. THIS PROCESSES
045118,001394:    7622           54004                           TS       FBANK                                 #  ANY SHIFT INSTRUCTION (EXCEPT TSLC) WITH
045119,001395:    7623           12214                           TCF      GENSHIFT                              #  AN ADDRESS (ROUTINES IN BANK 0).
045120,001396: 

Page 1045

045122,001398:                                                                                                  #  THE FOLLOWING IS THE PROLOGUE TO V/SC.  IF THE PRESENT MODE IS VECTOR, IT SAVES THE SCALAR AT X IN BUF
045123,001399:                                                                                                  #  AND CALLS THE V/SC ROUTINE IN BANK 0.  IF THE PRESENT MODE IS SCALAR, IT MOVES THE VECTOR AT X INTO MPAC, SAVING
045124,001400:                                                                                                  #  THE SCALAR IN MPAC IN BUF BEFORE CALLING THE V/SC ROUTINE IN BANK 0.
045125,001401: 
045126,001402:    7624           10163        V/SC               CCS      MODE                                  
045127,001403:    7625           17636                           TCF      DV/SC                                 #  MOVE VECTOR INTO MPAC.
045128,001404:    7626           17636                           TCF      DV/SC                                 
045129,001405: 
045130,001406:    7627           00006        VV/SC              EXTEND                                         
045131,001407:    7630           50116                           INDEX    ADDRWD                                
045132,001408:    7631           30001                           DCA      0                                     
045133,001409:    7632           52131        V/SC1              DXCH     BUF                                   #  IN BOTH CASES, VECTOR IS NOW IN MPAC AND
045134,001410:    7633           34755                           CAF      ZERO                                  #  SCALAR IN BUF.
045135,001411:    7634           54004                           TS       FBANK                                 
045136,001412:    7635           12654                           TCF      V/SC2                                 
045137,001413: 
045138,001414:    7636           00006        DV/SC              EXTEND                                         
045139,001415:    7637           50116                           INDEX    ADDRWD                                
045140,001416:    7640           30003                           DCA      2                                     
045141,001417:    7641           52160                           DXCH     MPAC       +3                         
045142,001418:    7642           00006                           EXTEND                                         
045143,001419:    7643           50116                           INDEX    ADDRWD                                
045144,001420:    7644           30005                           DCA      4                                     
045145,001421:    7645           52162                           DXCH     MPAC       +5                         
045146,001422: 
045147,001423:    7646           44753                           CS       ONE                                   #  CHANGE MODE TO VECTOR.
045148,001424:    7647           54163                           TS       MODE                                  
045149,001425: 
045150,001426:    7650           00006                           EXTEND                                         
045151,001427:    7651           50116                           INDEX    ADDRWD                                
045152,001428:    7652           30001                           DCA      0                                     
045153,001429:    7653           52155                           DXCH     MPAC                                  
045154,001430:    7654           17632                           TCF      V/SC1                                 #  FINISH PROLOGUE AT COMMON SECTION.
045155,001431: 

Page 1046

045157,001433:                                                                                                  #  SIGN AND COMPLEMENT INSTRUCTIONS.
045158,001434: 
045159,001435:    7655           50116        SIGN               INDEX    ADDRWD                                #  CALL COMP INSTRUCTION IF WORD AT X IS
045160,001436:    7656           10000                           CCS      0                                     #  NEGATIVE NON-ZERO.
045161,001437:    7657           16061                           TCF      DANZIG                                
045162,001438:    7660           17662                           TCF      +2                                    
045163,001439:    7661           17670                           TCF      COMP                                  #  DO THE COMPLEMENT.
045164,001440: 
045165,001441:    7662           50116                           INDEX    ADDRWD                                
045166,001442:    7663           10001        CCSL               CCS      1                                     
045167,001443:    7664           16061                           TCF      DANZIG                                
045168,001444:    7665           16061                           TCF      DANZIG                                
045169,001445:    7666           17670                           TCF      COMP                                  
045170,001446:    7667           16061                           TCF      DANZIG                                
045171,001447:    7670           00006        COMP               EXTEND                                         #  COMPLEMENT DP MPAC IN EVERY CASE.
045172,001448:    7671           40155                           DCS      MPAC                                  
045173,001449:    7672           52155                           DXCH     MPAC                                  
045174,001450: 
045175,001451:    7673           10163                           CCS      MODE                                  #  EITHER COMPLEMENT MPAC +3 OR THE REST OF
045176,001452:    7674           17705                           TCF      DCOMP                                 #  THE VECTOR ACCUMULATOR.
045177,001453:    7675           17705                           TCF      DCOMP                                 
045178,001454: 
045179,001455:    7676           00006                           EXTEND                                         #  VECTOR COMPLEMENT.
045180,001456:    7677           40160                           DCS      MPAC       +3                         
045181,001457:    7700           52160                           DXCH     MPAC       +3                         
045182,001458:    7701           00006                           EXTEND                                         
045183,001459:    7702           40162                           DCS      MPAC       +5                         
045184,001460:    7703           52162                           DXCH     MPAC       +5                         
045185,001461:    7704           16061                           TCF      DANZIG                                
045186,001462: 
045187,001463:    7705           40156        DCOMP              CS       MPAC       +2                         
045188,001464:    7706           54156                           TS       MPAC       +2                         
045189,001465:    7707           16061                           TCF      DANZIG                                
045190,001466: 

Page 1047

045192,001468:                                                                                                  #  THE FOLLOWING SHORT SHIFT CODES REQUIRE NO ADDRESS WORD:
045193,001469:                                                                                                  #        1.      SR1 TO SR4      SCALAR SHIFT RIGHT.
045194,001470:                                                                                                  #        2.      SR1R TO SR4R    SCALAR SHIFT RIGHT AND ROUND.
045195,001471:                                                                                                  #        3.      SL1 TO SL4      SCALAR SHIFT LEFT.
045196,001472:                                                                                                  #        4.      SL1R TO SL4R    SCALAR SHIFT LEFT AND ROUND.
045197,001473:                                                                                                  #        5.      VSR1 TO VSR8    VECTOR SHIFT RIGHT (ALWAYS ROUNDS).
045198,001474:                                                                                                  #        6.      VSL1 TO VSL8    VECTOR SHIFT LEFT (NEVER ROUNDS).
045199,001475:                                                                                                  #  THE FOLLOWING CODES REQUIRE AN ADDRESS WHICH MAY BE INDEXED:*
045200,001476:                                                                                                  #        1.      SR              SCALAR SHIFT RIGHT.
045201,001477:                                                                                                  #        2.      SRR             SCALAR SHIFT RIGHT AND ROUND.
045202,001478:                                                                                                  #        3.      SL              SCALAR SHIFT LEFT.
045203,001479:                                                                                                  #        4.      SLR             SCALAR SHIFT LEFT AND ROUND.
045204,001480:                                                                                                  #        5.      VSR             VECTOR SHIFT RIGHT.
045205,001481:                                                                                                  #        6.      VSL             VECTOR SHIFT LEFT.
045206,001482:                                                                                                  #  * IF THE ADDRESS IS INDEXED, AND THE INDEX MODIFICATION RESULTS IN A NEGATIVE SHIFT COUNT, A SHIFT OF THE
045207,001483:                                                                                                  #  ABSOLUTE VALUE OF THE COUNT IS DONE IN THE OPPOSITE DIRECTION.
045208,001484: 
045209,001485: 00,2017                                           BANK     00                                    
045210,001486: 
045211,001487: 00,2017                                           COUNT*   $$/INTER                              
045212,001488: 00,2017           36242        SHORTT             CAF      SIX                                   #  SCALAR SHORT SHIFTS COME HERE.  THE SHIFT
045213,001489: 00,2020           70020                           MASK     CYR                                   #  COUNT-1 IS NOW IN BITS 2-3 OF CYR.  THE
045214,001490: 00,2021           54021                           TS       SR                                    #  ROUNDING BIT IS IN BIT1 AT THIS POINT.
045215,001491: 
045216,001492: 00,2022           10020                           CCS      CYR                                   #  SEE IF RIGHT OR LEFT SHIFT DESIRED.
045217,001493: 00,2023           12101                           TCF      TSSL                                  #  SHIFT LEFT.
045218,001494: 
045219,001495: 00,2024           00024        SRDDV              DEC      20         B-14                       #  MPTEMP SETTING FOR SR BEFORE DDV.
045220,001496: 
045221,001497: 00,2025           50021        TSSR               INDEX    SR                                    #  GET SHIFTING BIT.
045222,001498: 00,2026           34736                           CAF      BIT14                                 
045223,001499: 00,2027           54135                           TS       MPTEMP                                
045224,001500: 
045225,001501: 00,2030           10020                           CCS      CYR                                   #  SEE IF A ROUND IS DESIRED.
045226,001502: 00,2031           02050        RIGHTR             TC       MPACSRND                              #  YES - SHIFT RIGHT AND ROUND.
045227,001503: 00,2032           16060                           TCF      NEWMODE                               #  SET MODE TO DP (C(A) = 0).
045228,001504: 00,2033           30135        MPACSHR            CA       MPTEMP                                #  DO A TRIPLE PRECISION SHIFT RIGHT.
045229,001505: 00,2034           00006                           EXTEND                                         
045230,001506: 00,2035           70156                           MP       MPAC       +2                         
045231,001507: 00,2036           54156                 +3        TS       MPAC       +2                         #  (EXIT FROM SQRT AND ABVAL).
045232,001508: 00,2037           30135                           CA       MPTEMP                                
045233,001509: 00,2040           00006                           EXTEND                                         
045234,001510: 00,2041           70154                           MP       MPAC                                  #  SHIFT MAJOR PART INTO A,L AND PLACE IN

Page 1048

045236,001512: 00,2042           52155                           DXCH     MPAC                                  #  MPAC,+1.
045237,001513: 00,2043           30135                           CA       MPTEMP                                
045238,001514: 00,2044           00006                           EXTEND                                         
045239,001515: 00,2045           70001                           MP       L                                     #  ORIGINAL C(MPAC +1).
045240,001516: 00,2046           20156                           DAS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
045241,001517: 00,2047           16061                           TCF      DANZIG                                
045242,001518: 
045243,001519:                                                                                                  #  MPAC SHIFT RIGHT AND ROUND SUBROUTINES.
045244,001520: 
045245,001521: 00,2050           30156        MPACSRND           CA       MPAC       +2                         #  WE HAVE TO DO ALL THREE MULTIPLIES SINCE
045246,001522: 00,2051           00006                           EXTEND                                         #  MPAC +1 AND MPAC +2 MIGHT HAVE SIGN
045247,001523: 00,2052           70135                           MP       MPTEMP                                #  DISAGREEMENT WITH A SHIFT RIGHT OF 1.
045248,001524: 00,2053           56155                           XCH      MPAC       +1                         
045249,001525: 00,2054           00006                           EXTEND                                         
045250,001526: 00,2055           70135                           MP       MPTEMP                                
045251,001527: 00,2056           56155                           XCH      MPAC       +1                         #  TRIAL MINOR PART.
045252,001528: 00,2057           60001                           AD       L                                     
045253,001529: 
045254,001530: 00,2060           60000        VSHR2              DOUBLE                                         #  (FINISH VECTOR COMPONENT SHIFT RIGHT
045255,001531: 00,2061           54156                           TS       MPAC       +2                         #  AND ROUND.
045256,001532: 00,2062           12064                           TCF      +2                                    
045257,001533: 00,2063           26155                           ADS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
045258,001534: 
045259,001535: 00,2064           34755                           CAF      ZERO                                  
045260,001536: 00,2065           54156                           TS       MPAC       +2                         
045261,001537: 00,2066           56154                           XCH      MPAC                                  #  SETTING TO ZERO SO FOLLOWING DAS WORKS.
045262,001538: 00,2067           00006                           EXTEND                                         
045263,001539: 00,2070           70135                           MP       MPTEMP                                
045264,001540: 00,2071           20155                           DAS      MPAC                                  #  AGAIN NO OVERFLOW.
045265,001541: 00,2072           00002                           TC       Q                                     
045266,001542: 
045267,001543: 00,2073           30135        VSHRRND            CA       MPTEMP                                #  ENTRY TO SHIFT RIGHT AND ROUND MPAC WHEN
045268,001544: 00,2074           00006                           EXTEND                                         #  MPAC CONTAINS A VECTOR COMPONENT.
045269,001545: 00,2075           70155                           MP       MPAC       +1                         
045270,001546: 00,2076           54155                           TS       MPAC       +1                         
045271,001547: 00,2077           56001                           XCH      L                                     
045272,001548: 00,2100           12060                           TCF      VSHR2                                 #  GO ADD ONE IF NECESSARY AND FINISH.
045273,001549: 

Page 1049

045275,001551:                                                                                                  #  ROUTINE FOR SHORT SCALAR SHIFT LEFT (AND MAYBE ROUND).
045276,001552: 
045277,001553: 00,2101           30021        TSSL               CA       SR                                    #  GET SHIFT COUNT FOR SR.
045278,001554: 00,2102           54135                 +1        TS       MPTEMP                                
045279,001555: 
045280,001556: 00,2103           00006                 +2        EXTEND                                         #  ENTRY HERE FROM SL FOR SCALARS.
045281,001557: 00,2104           30156                           DCA      MPAC       +1                         #  SHIFTING LEFT ONE PLACE AT A TIME IS
045282,001558: 00,2105           20156                           DAS      MPAC       +1                         #  FASTER THAN DOING THE WHOLE SHIFT WITH
045283,001559: 00,2106           60154                           AD       MPAC                                  #  MULTIPLIES ASSUMING THAT FREQUENCY OF
045284,001560: 00,2107           60154                           AD       MPAC                                  #  SHIFT COUNTS GOES DOWN RAPIDLY AS A
045285,001561: 00,2110           54154                           TS       MPAC                                  #  FUNCTION OF THEIR MAGNITUDE.
045286,001562: 00,2111           12113                           TCF      +2                                    
045287,001563: 00,2112           54121                           TS       OVFIND                                #  OVERFLOW.  (LEAVES OVERFLOW-CORRECTED
045288,001564:                                                                                                  #  RESULT ANYWAY).
045289,001565: 00,2113           10135                           CCS      MPTEMP                                #  LOOP ON DECREMENTED SHIFT COUNT.
045290,001566: 00,2114           12102                           TCF      TSSL       +1                         
045291,001567: 
045292,001568: 00,2115           10020                           CCS      CYR                                   #  SEE IF ROUND WANTED.
045293,001569: 00,2116           07136        ROUND              TC       ROUNDSUB                              #  YES - ROUND AND EXIT.
045294,001570: 00,2117           16061                           TCF      DANZIG                                #  SL LEAVES A ZERO IN CYR FOR NO ROUND.
045295,001571: 00,2120           16061                           TCF      DANZIG                                #  NO - EXIT IMMEDIATL
045296,001572: 

Page 1050

045298,001574:                                                                                                  #  VECTOR SHIFTING ROUTINES.
045299,001575: 
045300,001576: 00,2121           34757        SHORTV             CAF      LOW3                                  #  SAVE 3 BIT SHIFT COUNT - 1 WITHOUT
045301,001577: 00,2122           70020                           MASK     CYR                                   #  EDITING CYR.
045302,001578: 00,2123           54135                           TS       MPTEMP                                
045303,001579: 00,2124           10020                           CCS      CYR                                   #  SEE IF LEFT OR RIGHT SHIFT.
045304,001580: 00,2125           12145                           TCF      VSSL                                  #  VECTOR SHIFT LEFT.
045305,001581: 00,2126           00176        OCT176             OCT      176                                   #  USED IN PROCESSED SHIFTS WITH - COUNT.
045306,001582: 
045307,001583: 00,2127           50135        VSSR               INDEX    MPTEMP                                #  (ENTRY FROM SR).  PICK UP SHIFTING BIT.
045308,001584: 00,2130           34736                           CAF      BIT14                                 #  MPTEMP CONTAINS THE SHIFT COUNT - 1.
045309,001585: 00,2131           54135                           TS       MPTEMP                                
045310,001586: 00,2132           02073                           TC       VSHRRND                               #  SHIFT X COMPONENT.
045311,001587: 
045312,001588: 00,2133           52155                           DXCH     MPAC                                  #  SWAP X AND Y COMPONENTS.
045313,001589: 00,2134           52160                           DXCH     MPAC       +3                         
045314,001590: 00,2135           52155                           DXCH     MPAC                                  
045315,001591: 00,2136           02073                           TC       VSHRRND                               #  SHIFT Y COMPONENT.
045316,001592: 
045317,001593: 00,2137           52155                           DXCH     MPAC                                  #  SWAP Y AND Z COMPONENTS.
045318,001594: 00,2140           52162                           DXCH     MPAC       +5                         
045319,001595: 00,2141           52155                           DXCH     MPAC                                  
045320,001596: 00,2142           02073                           TC       VSHRRND                               #  SHIFT Z COMPONENT.
045321,001597: 
045322,001598: 00,2143           17420                           TCF      VROTATEX                              #  RESTORE COMPONENTS TO PROPER PLACES.
045323,001599: 

Page 1051

045325,001601:                                                                                                  #  VECTOR SHIFT LEFT - DONE ONE PLACE AT A TIME.
045326,001602: 
045327,001603: 00,2144           54135                 -1        TS       MPTEMP                                #  SHIFTING LOOP.
045328,001604: 
045329,001605: 00,2145           00006        VSSL               EXTEND                                         
045330,001606: 00,2146           30155                           DCA      MPAC                                  
045331,001607: 00,2147           20155                           DAS      MPAC                                  
045332,001608: 00,2150           00006                           EXTEND                                         
045333,001609: 00,2151           12153                           BZF      +2                                    
045334,001610: 00,2152           07017                           TC       OVERFLOW                              
045335,001611: 
045336,001612: 00,2153           00006                           EXTEND                                         
045337,001613: 00,2154           30160                           DCA      MPAC       +3                         
045338,001614: 00,2155           20160                           DAS      MPAC       +3                         
045339,001615: 00,2156           00006                           EXTEND                                         
045340,001616: 00,2157           12161                           BZF      +2                                    
045341,001617: 00,2160           07014                           TC       OVERFLWY                              
045342,001618: 
045343,001619: 00,2161           00006                           EXTEND                                         
045344,001620: 00,2162           30162                           DCA      MPAC       +5                         
045345,001621: 00,2163           20162                           DAS      MPAC       +5                         
045346,001622: 00,2164           00006                           EXTEND                                         
045347,001623: 00,2165           12167                           BZF      +2                                    
045348,001624: 00,2166           07011                           TC       OVERFLWZ                              
045349,001625: 
045350,001626: 00,2167           10135                           CCS      MPTEMP                                #  LOOP ON DECREMENTED SHIFT COUNTER.
045351,001627: 00,2170           12144                           TCF      VSSL       -1                         
045352,001628: 00,2171           16061                           TCF      DANZIG                                #  EXIT.
045353,001629: 

Page 1052

045355,001631:                                                                                                  #  TSLC - TRIPLE SHIFT LEFT AND COUNT.  SHIFTS MPAC LEFT UNTIL GREATER THAN .5 IN MAGNITUDE, LEAVING
045356,001632:                                                                                                  #  THE COMPLEMENT OF THE NUMBER OF SHIFTS REQUIRED IN X.
045357,001633: 
045358,001634: 00,2172           54135        TSLC2              TS       MPTEMP                                #  START BY ZEROING SHIFT COUNT (IN A NOW).
045359,001635: 00,2173           06723                           TC       BRANCH                                #  EXIT WITH NO SHIFTING IF ARGUMENT ZERO.
045360,001636: 00,2174           12176                           TCF      +2                                    
045361,001637: 00,2175           12212                           TCF      ENDTSLC                               #  STORES ZERO SHIFT COUNT IN THIS CASE.
045362,001638: 
045363,001639: 00,2176           07257                           TC       TPAGREE                               #  MAY CAUSE UPSHIFT OF ONE EXTRA PLACE.
045364,001640: 
045365,001641: 00,2177           30154                           CA       MPAC                                  #  BEGIN NORMALIZATION LOOP.
045366,001642: 00,2200           12207                           TCF      TSLCTEST                              
045367,001643: 
045368,001644: 00,2201           24135        TSLCLOOP           INCR     MPTEMP                                #  INCREMENT SHIFT COUNTER.
045369,001645: 00,2202           00006                           EXTEND                                         
045370,001646: 00,2203           30156                           DCA      MPAC       +1                         
045371,001647: 00,2204           20156                           DAS      MPAC       +1                         
045372,001648: 00,2205           60154                           AD       MPAC                                  
045373,001649: 00,2206           26154                           ADS      MPAC                                  
045374,001650: 00,2207           60000        TSLCTEST           DOUBLE                                         #  SEE IF (ANOTHER) SHIFT IS REQUIRED.
045375,001651: 00,2210           54000                           OVSK                                           
045376,001652: 00,2211           12201                           TCF      TSLCLOOP                              #  YES - INCREMENT COUNT AND SHIFT AGAIN.
045377,001653: 
045378,001654: 00,2212           40135        ENDTSLC            CS       MPTEMP                                
045379,001655: 00,2213           16623                           TCF      STORE1                                #  STORE SHIFT COUNT AND RETURN TO DANZIG.
045380,001656: 

Page 1053

045382,001658:                                                                                                  #  THE FOLLOWING ROUTINES PROCESSES THE GENERAL SHIFT INSTRUCTIONS SR, SRR, SL, AND SLR.
045383,001659:                                                                                                  #  THE GIVEN ADDRESS IS DECODED AS FOLLOWS:
045384,001660:                                                                                                  #        BITS 1-7        SHIFT COUNT (SUBADDRESS) LESS THAN 125 DECIMAL.
045385,001661:                                                                                                  #        BIT 8           PSEUDO SIGN BIT (DETECTS CHANGE IN SIGN IN INDEXED SHIFTS).
045386,001662:                                                                                                  #        BIT 9           0 FOR LEFT SHIFT, AND 1 FOR RIGHT SHIFT.
045387,001663:                                                                                                  #        BIT 10          1 FOR TERMINAL ROUND ON SCALAR SHIFTS, 0 OTHERWISE.
045388,001664:                                                                                                  #        BITS 11-13      0.
045389,001665:                                                                                                  #        BIT 14          1.
045390,001666:                                                                                                  #        BIT 15          0.
045391,001667:                                                                                                  #  THE ABOVE ENCODING IS DONE BY THE YUL SYSTEM.
045392,001668: 
045393,001669: 00,2214           70116        GENSHIFT           MASK     ADDRWD                                #  GET SHIFT COUNT, TESTING FOR ZERO.
045394,001670: 00,2215           10000                           CCS      A                                     #  (ARRIVES WITH C(A) = LOW7).
045395,001671: 00,2216           12224                           TCF      GENSHFT2                              #  IF NON-ZERO, PROCEED WITH DECREMENTED CT
045396,001672: 
045397,001673: 00,2217           34742                           CAF      BIT10                                 #  ZERO SHIFT COUNT.  NO SHIFTS NEEDED BUT
045398,001674: 00,2220           70116                           MASK     ADDRWD                                #  WE MIGHT HAVE TO ROUND MPAC ON SLR AND
045399,001675: 00,2221           10000                           CCS      A                                     #  SRR (SCALAR ONLY).
045400,001676: 00,2222           07136                           TC       ROUNDSUB                              
045401,001677: 00,2223           16061                           TCF      DANZIG                                
045402,001678: 
045403,001679: 00,2224           54135        GENSHFT2           TS       MPTEMP                                #  DECREMENTED SHIFT COUNT TO MPTEMP.
045404,001680: 00,2225           34744                           CAF      BIT8                                  #  TEST MEANING OF LOW SEVEN BIT COUNT IN
045405,001681: 00,2226           00006                           EXTEND                                         #  MPTEMP NOW.
045406,001682: 00,2227           70116                           MP       ADDRWD                                
045407,001683: 00,2230           76245                           MASK     LOW2                                  #  JUMPS ON SHIFT DIRECTION (BIT8) AND
045408,001684: 00,2231           50000                           INDEX    A                                     
045409,001685: 00,2232           12233                           TCF      +1                                    #  ORIGINAL SHIFT DIRECTION (BIT 9).
045410,001686: 00,2233           12332                           TCF      RIGHT-                                #  NEGATIVE SHIFT COUNT FOR SL OR SLR.
045411,001687: 00,2234           12342                           TCF      LEFT                                  #  SL OR SLR.
045412,001688: 00,2235           12336                           TCF      LEFT-                                 #  NEGATIVE SHIFT COUNT WITH SR OR SRR.
045413,001689: 

Page 1054

045415,001691:                                                                                                  #  GENERAL SHIFT RIGHT.
045416,001692: 
045417,001693: 00,2236           10163        RIGHT              CCS      MODE                                  #  SEE IF VECTOR OR SCALAR.
045418,001694: 00,2237           12277                           TCF      GENSCR                                
045419,001695: 00,2240           12277                           TCF      GENSCR                                
045420,001696: 
045421,001697: 00,2241           30135                           CA       MPTEMP                                #  SEE IF SHIFT COUNT LESS THAN 14D.
045422,001698: 00,2242           63733        VRIGHT2            AD       NEG12                                 
045423,001699: 00,2243           00006                           EXTEND                                         
045424,001700: 00,2244           62127                           BZMF     VSSR                                  #  IF SO, BRANCH AND SHIFT IMMEDIATELY.
045425,001701: 
045426,001702: 00,2245           67747                           AD       NEGONE                                #  IF NOT, REDUCE MPTEMP BY A TOTAL OF 14,
045427,001703: 00,2246           54135                           TS       MPTEMP                                #  AND DO A SHIFT RIGHT AND ROUND BY 14.
045428,001704: 00,2247           34755                           CAF      ZERO                                  #  THE ROUND AT THIS STAGE MAY INTRODUCE A
045429,001705: 00,2250           54001                           TS       L                                     #  ONE BIT ERROR IN A SHIFT RIGHT 15D.
045430,001706: 00,2251           56154                           XCH      MPAC                                  
045431,001707: 00,2252           56155                           XCH      MPAC       +1                         
045432,001708: 00,2253           02272                           TC       SETROUND                              #  X COMPONENT NOW SHIFTED, SO MAKE UP THE
045433,001709: 00,2254           20155                           DAS      MPAC                                  #  ROUNDING QUANTITY (0 IN A AND 0 OR +-1
045434,001710:                                                                                                  #  IN L).
045435,001711: 00,2255           56157                           XCH      MPAC       +3                         #  REPEAT THE ABOVE PROCESS FOR Y AND Z.
045436,001712: 00,2256           56160                           XCH      MPAC       +4                         
045437,001713: 00,2257           02272                           TC       SETROUND                              
045438,001714: 00,2260           20160                           DAS      MPAC       +3                         #  NO OVERFLOW ON THESE ADDS.
045439,001715: 
045440,001716: 00,2261           56161                           XCH      MPAC       +5                         
045441,001717: 00,2262           56162                           XCH      MPAC       +6                         
045442,001718: 00,2263           02272                           TC       SETROUND                              
045443,001719: 00,2264           20162                           DAS      MPAC       +5                         
045444,001720: 
045445,001721: 00,2265           10135                           CCS      MPTEMP                                #  SEE IF DONE, DOING FINAL DECREMENT.
045446,001722: 00,2266           54135                           TS       MPTEMP                                
045447,001723: 00,2267           12242                           TCF      VRIGHT2                               
045448,001724: 00,2270           04604        BIASLO             DEC      .2974      B-1                        #  SQRT CONSTANT
045449,001725: 
045450,001726: 00,2271           16061                           TCF      DANZIG                                
045451,001727: 
045452,001728: 00,2272           60000        SETROUND           DOUBLE                                         #  MAKES UP ROUNDING QUANTITY FROM ARRIVING
045453,001729: 00,2273           54156                           TS       MPAC       +2                         #  C(A).  L IS ZERO INITIALLY.
045454,001730: 00,2274           34755                           CAF      ZERO                                  
045455,001731: 00,2275           56001                           XCH      L                                     
045456,001732: 00,2276           00002                           TC       Q                                     #  RETURN AND DO THE DAS, RESETTING L TO 0.
045457,001733: 

Page 1055

045459,001735:                                                                                                  #  PROCESS SR AND SRR FOR SCALARS.
045460,001736: 
045461,001737: 00,2277           30135        GENSCR             CA       MPTEMP                                #  SEE IF THE ORIGINAL SHIFT COUNT WAS LESS
045462,001738: 00,2300           63733                 +1        AD       NEG12                                 #  THAN 14D.
045463,001739: 00,2301           00006                           EXTEND                                         
045464,001740: 00,2302           62322                           BZMF     DOSSHFT                               #  DO THE SHIFT IMMEDIATELY IF SO.
045465,001741: 
045466,001742: 00,2303           67747                 +4        AD       NEGONE                                #  IF NOT, DECREMENT SHIFT COUNT BY 14D AND
045467,001743: 00,2304           54135                           TS       MPTEMP                                #  SHIFT MPAC RIGHT 14 PLACES.
045468,001744: 00,2305           34755                           CAF      ZERO                                  
045469,001745: 00,2306           56154                           XCH      MPAC                                  
045470,001746: 00,2307           56155                           XCH      MPAC       +1                         
045471,001747: 00,2310           54156                           TS       MPAC       +2                         
045472,001748: 00,2311           10135                           CCS      MPTEMP                                #  SEE IF FINISHED, DO FINAL DECREMENT.
045473,001749: 00,2312           54135                           TS       MPTEMP                                
045474,001750: 00,2313           02300                           TC       GENSCR     +1                         
045475,001751: 00,2314           22650        SLOPEHI            DEC      .5884                                 #  SQRT CONSTANT.
045476,001752: 00,2315           34742                           CAF      BIT10                                 #  FINISHED WITH SHIFT.  SEE IF ROUND
045477,001753: 00,2316           70116                           MASK     ADDRWD                                #  WANTED.
045478,001754: 00,2317           10000                           CCS      A                                     
045479,001755: 00,2320           07136                           TC       ROUNDSUB                              
045480,001756: 00,2321           16061                           TCF      DANZIG                                #  DO SO AND/OR EXIT.
045481,001757: 
045482,001758: 00,2322           50135        DOSSHFT            INDEX    MPTEMP                                #  PICK UP SHIFTING BIT.
045483,001759: 00,2323           34736                           CAF      BIT14                                 
045484,001760: 00,2324           54135                           TS       MPTEMP                                
045485,001761: 00,2325           34742                           CAF      BIT10                                 #  SEE IF TERMINAL ROUND DESIRED.
045486,001762: 00,2326           70116                           MASK     ADDRWD                                
045487,001763: 00,2327           10000                           CCS      A                                     
045488,001764: 00,2330           12031                           TCF      RIGHTR                                #  YES.
045489,001765: 00,2331           12033                           TCF      MPACSHR                               #  JUST SHIFT RIGHT.
045490,001766: 

Page 1056

045492,001768:                                                                                                  #  PROCESS THE RIGHT- (SL(R) WITH A NEGATIVE COUNT), LEFT-, AND LEFT OPTIONS.
045493,001769: 
045494,001770: 00,2332           40135        RIGHT-             CS       MPTEMP                                #  GET ABSOLUTE VALUE - 1 OF SHIFT COUNT
045495,001771: 00,2333           62126                           AD       OCT176                                #  UNDERSTANDING THAT BIT8 (PSEUDO-SIGN)
045496,001772: 00,2334           54135                           TS       MPTEMP                                #  WAS 1 INITIALLY.
045497,001773: 00,2335           12236                           TCF      RIGHT                                 #  DO NORMAL SHIFT RIGHT.
045498,001774: 
045499,001775: 00,2336           42126        LEFT-              CS       OCT176                                #  SAME PROLOGUE TO LEFT FOR INDEXED RIGHT
045500,001776: 00,2337           60135                           AD       MPTEMP                                #  SHIFTS WHOSE NET SHIFT COUNT IS NEGATIVE
045501,001777: 00,2340           40000                           COM                                            
045502,001778: 00,2341           54135                           TS       MPTEMP                                
045503,001779: 
045504,001780: 00,2342           10163        LEFT               CCS      MODE                                  #  SINCE LEFT SHIFTING IS SONE ONE PLACE AT
045505,001781: 00,2343           12346                           TCF      GENSCL                                #  A TIME, NO COMPARISON WITH 14 NEED BE
045506,001782: 00,2344           12346                           TCF      GENSCL                                #  DONE.  FOR SCALARS, SEE IF TERMINAL ROUND
045507,001783: 00,2345           12145                           TCF      VSSL                                  #  DESIRED.  FOR VECTORS, SHIFT IMMEDIATELY.
045508,001784: 
045509,001785: 00,2346           40116        GENSCL             CS       ADDRWD                                #  PUT ROUNDING BIT (BIT 10 OF ADDRWD) INTO
045510,001786: 00,2347           00006                           EXTEND                                         #  BIT 15 OF CYR WHERE THE ROUNDING BIT OF
045511,001787: 00,2350           74746                           MP       BIT6                                  #  A SHORT SHIFT LEFT WOULD BE
045512,001788: 00,2351           54020                           TS       CYR                                   
045513,001789: 00,2352           12103                           TCF      TSSL       +2                         #  DO THE SHIFT.
045514,001790: 

Page 1057

045516,001792:                                                                                                  #  SCALAR DIVISION INSTRUCTIONS, DDV AND BDDV, ARE EXECUTED HERE.  AT THIS POINT, THE DIVIDEND IS IN MPAC
045517,001793:                                                                                                  #  AND THE DIVISOR IN BUF.
045518,001794: 
045519,001795: 00,2353           44753        DDV/BDDV           CS       ONE                                   #  INITIALIZATION.
045520,001796: 00,2354           54136                           TS       DVSIGN                                #  +-1 FOR POSITIVE QUOTIENT - -0 FOR NEG.
045521,001797: 00,2355           54137                           TS       DVNORMCT                              #  DIVIDEND NORMALIZATION COUNT.
045522,001798: 00,2356           54140                           TS       MAXDVSW                               #  NEAR-ONE DIVIDE FLAG.
045523,001799: 
045524,001800: 00,2357           10130                           CCS      BUF                                   #  FORCE BUF POSITIVE WITH THE MAJOR PART
045525,001801: 00,2360           12516                           TCF      BUFPOS                                #  NON-ZERO.
045526,001802: 00,2361           12363                           TCF      +2                                    
045527,001803: 00,2362           12531                           TCF      BUFNEG                                
045528,001804: 
045529,001805: 00,2363           54156        BUFZERO            TS       MPAC       +2                         #  ZERO THIS.
045530,001806: 00,2364           07257                           TC       TPAGREE                               #  FORCE SIGN AGREEMENT BEFORE OVERFLOW
045531,001807: 
045532,001808: 00,2365           10154                           CCS      MPAC                                  #  TEST TO SEE IF MPAC NON-ZERO.  (TOO BIG)
045533,001809: 00,2366           12414                           TCF      OVF+                                  #  MAJOR PART OF DIVIDEND IS POSITIVE NON-0
045534,001810: 00,2367           12371                           TCF      +2                                    
045535,001811: 00,2370           12413                           TCF      OVF+       -1                         #  MAJOR PART OF DIVIDEND IS NEG. NON-ZERO
045536,001812: 
045537,001813: 00,2371           56131                           XCH      BUF        +1                         #  SHIFT DIVIDEND AND DIVISOR LEFT 14.
045538,001814: 00,2372           56130                           XCH      BUF                                   
045539,001815: 00,2373           56155                           XCH      MPAC       +1                         
045540,001816: 00,2374           56154                           XCH      MPAC                                  
045541,001817: 00,2375           10130                           CCS      BUF                                   #  TRY AGAIN ON FORMER MINOR PART.
045542,001818: 00,2376           12422                           TCF      BUF+                                  
045543,001819: 00,2377           12401                           TCF      +2                                    #  OVERFLOW ON ZERO DIVISOR.
045544,001820: 00,2400           12416                           TCF      BUF-                                  
045545,001821: 
045546,001822: 00,2401           40154                           CS       MPAC                                  #  SIGN OF MPAC DETERMINES SIGN OF RESULT.
045547,001823: 00,2402           00006        SGNDVOVF           EXTEND                                         
045548,001824: 00,2403           62405                           BZMF     +2                                    
045549,001825: 00,2404           24136                           INCR     DVSIGN                                #  NEGMAX IN MPAC PERHAPS.
045550,001826: 00,2405           34733        DVOVF              CAF      POSMAX                                #  ON DIVISION OVERFLOW OF ANY SORT, SET
045551,001827: 00,2406           54154                           TS       MPAC                                  #  SET DP MPAC TO +-POSMAX.
045552,001828: 00,2407           02630                           TC       FINALDV    +3                         
045553,001829: 00,2410           34753                           CAF      ONE                                   #  SET OVERFLOW INDICATOR AND EXIT.
045554,001830: 00,2411           54121                           TS       OVFIND                                
045555,001831: 00,2412           06061                           TC       DANZIG                                
045556,001832: 
045557,001833: 00,2413           24136                 -1        INCR     DVSIGN                                
045558,001834: 00,2414           40131        OVF+               CS       BUF        +1                         #  LOAD LOWER ORDER PART OF DIVISOR.
045559,001835: 00,2415           12402                           TCF      SGNDVOVF                              #  GET SIGN OF RESULT.
045560,001836: 
045561,001837: 00,2416           00006        BUF-               EXTEND                                         #  IF BUF IS NEGATIVE, COMPLEMENT IT AND
045562,001838: 00,2417           40131                           DCS      BUF                                   #  MAINTAIN DVSIGN FOR FINAL QUOTIENT SIGN.
045563,001839: 00,2420           52131                           DXCH     BUF                                   
045564,001840: 00,2421           24136                           INCR     DVSIGN                                #  NOW -0.
045565,001841: 

Page 1058

045567,001843: 00,2422           10154        BUF+               CCS      MPAC                                  #  FORCE MPAC POSITIVE, CHECKING FOR ZERO
045568,001844: 00,2423           12437                           TCF      MPAC+                                 #  DIVIDEND IN THE PROCESS.
045569,001845: 00,2424           12426                           TCF      +2                                    
045570,001846: 00,2425           12433                           TCF      MPAC-                                 
045571,001847: 00,2426           10155                           CCS      MPAC       +1                         
045572,001848: 00,2427           12437                           TCF      MPAC+                                 
045573,001849: 00,2430           16061                           TCF      DANZIG                                #  EXIT IMMEDIATELY ON ZERO DIVIDEND.
045574,001850: 00,2431           12433                           TCF      MPAC-                                 
045575,001851: 00,2432           16061                           TCF      DANZIG                                
045576,001852: 
045577,001853: 00,2433           00006        MPAC-              EXTEND                                         #  FORCE MPAC POSITIVE AS BUF IN BUF-.
045578,001854: 00,2434           40155                           DCS      MPAC                                  
045579,001855: 00,2435           52155                           DXCH     MPAC                                  
045580,001856: 00,2436           24136                           INCR     DVSIGN                                #  NOW +1 OR -0.
045581,001857: 

Page 1059

045583,001859: 00,2437           40154        MPAC+              CS       MPAC                                  #  CHECK FOR DIVISION OVERFLOW.  IF THE
045584,001860: 00,2440           67747                           AD       NEGONE                                #  MAJOR PART OF THE DIVIDEND IS LESS THAN
045585,001861: 00,2441           60130                           AD       BUF                                   #  THE MAJOR PART OF THE DIVISOR BY AT
045586,001862: 00,2442           10000                           CCS      A                                     #  LEAST TWO, WE CAN PROCEED IMMEDIATELY
045587,001863: 00,2443           12505                           TCF      DVNORM                                #  WITHOUT NORMALIZATION PRODUCING A DVMAX.
045588,001864: 00,2444           60001        -1/2+2             OCT      60001                                 #  USED IN SQRTSUB.
045589,001865: 
045590,001866: 00,2445           12446                           TCF      +1                                    #  IF THE ABOVE DOES NOT HOLD, FORCE SIGN
045591,001867: 00,2446           34736                           CAF      HALF                                  #  AGREEMENT IN NUMERATOR AND DENOMINATOR
045592,001868: 00,2447           60000                           DOUBLE                                         #  TO FACILITATE OVERFLOW AND NEAR-ONE
045593,001869: 00,2450           60155                           AD       MPAC       +1                         #  CHECKING.
045594,001870: 00,2451           54155                           TS       MPAC       +1                         
045595,001871: 00,2452           34755                           CAF      ZERO                                  
045596,001872: 00,2453           64733                           AD       POSMAX                                
045597,001873: 00,2454           26154                           ADS      MPAC                                  
045598,001874: 
045599,001875: 00,2455           34736                           CAF      HALF                                  #  SAME FOR BUF.
045600,001876: 00,2456           60000                           DOUBLE                                         
045601,001877: 00,2457           60131                           AD       BUF        +1                         
045602,001878: 00,2460           54131                           TS       BUF        +1                         
045603,001879: 00,2461           34755                           CAF      ZERO                                  
045604,001880: 00,2462           64733                           AD       POSMAX                                
045605,001881: 00,2463           26130                           ADS      BUF                                   
045606,001882: 
045607,001883: 00,2464           40154                           CS       MPAC                                  #  CHECK MAGNITUDE OF SIGN-CORRECTED
045608,001884: 00,2465           60130                           AD       BUF                                   #  OPERANDS.
045609,001885: 00,2466           10000                           CCS      A                                     
045610,001886: 00,2467           12505                           TCF      DVNORM                                #  DIVIDE OK - WILL NOT BECOME MAXDV CASE.
045611,001887: 00,2470           00133        LBUF2              ADRES    BUF2                                  
045612,001888: 00,2471           12405                           TCF      DVOVF                                 #  DIVISOR NOT LESS THAN DIVIDEND - OVF.
045613,001889: 
045614,001890: 00,2472           54140                           TS       MAXDVSW                               #  IF THE MAJOR PARTS OF THE DIVIDEND AND
045615,001891: 00,2473           40155                           CS       MPAC       +1                         #  DIVISOR ARE EQUAL, A SPECIAL APPROXIMA-
045616,001892: 00,2474           60131                           AD       BUF        +1                         #  TION IS USED (PROVIDED THE DIVISION IS
045617,001893: 00,2475           00006                           EXTEND                                         #  POSSIBLE, OF COURSE).
045618,001894: 00,2476           62405                           BZMF     DVOVF                                 
045619,001895: 00,2477           12505                           TCF      DVNORM                                #  IF NO OVERFLOW.
045620,001896: 

Page 1060

045622,001898: 00,2500           00006        BUFNORM            EXTEND                                         #  ADD -1 TO AUGMENT SHIFT COUNT AND SHIFT
045623,001899: 00,2501           24137                           AUG      DVNORMCT                              #  LEFT ONE PLACE.
045624,001900: 00,2502           00006                           EXTEND                                         
045625,001901: 00,2503           30131                           DCA      BUF                                   
045626,001902: 00,2504           20131                           DAS      BUF                                   
045627,001903: 
045628,001904: 00,2505           30130        DVNORM             CA       BUF                                   #  SEE IF DIVISOR NORMALIZED YET.
045629,001905: 00,2506           60000                           DOUBLE                                         
045630,001906: 00,2507           54000                           OVSK                                           
045631,001907: 00,2510           12500                           TCF      BUFNORM                               #  NO - SHIFT LEFT ONE AND TRY AGAIN.
045632,001908: 
045633,001909: 00,2511           52155                           DXCH     MPAC                                  #  CALL DIVIDEND NORMALIZATION SEQUENCE
045634,001910: 00,2512           50137                           INDEX    DVNORMCT                              #  PRIOR TO DOING THE DIVIDE.
045635,001911: 00,2513           02565                           TC       MAXTEST                               
045636,001912: 
045637,001913: 00,2514           54156                           TS       MPAC       +2                         #  RETURNS WITH DIVISION DONE AND C(A) = 0.
045638,001914: 00,2515           16061                           TCF      DANZIG                                
045639,001915: 
045640,001916: 00,2516           10000        BUFPOS             CCS      A                                     
045641,001917: 00,2517           12422                           TCF      BUF+                                  #  TO BUF+ IF BUF IS GREATER THAN +1.
045642,001918: 
045643,001919: 00,2520           40131                           CS       BUF        +1                         #  IF BUF IS +1, FORCING SIGN AGREEMENT
045644,001920: 00,2521           00006                           EXTEND                                         #  MAY CAUSE BUF TO BECOME ZERO.
045645,001921: 00,2522           62422                           BZMF     BUF+                                  #  BRANCH IF SIGNS AGREE.
045646,001922: 
045647,001923: 00,2523           34736                           CA       HALF                                  #  SIGNS DISAGREE.  FORCE AGREEMENT.
045648,001924: 00,2524           60000                 +6        DOUBLE                                         
045649,001925: 00,2525           26131                           ADS      BUF        +1                         
045650,001926: 00,2526           34755                           CA       ZERO                                  
045651,001927: 00,2527           54130                           TS       BUF                                   
045652,001928: 00,2530           12363                           TCF      BUFZERO                               
045653,001929: 
045654,001930: 00,2531           10000        BUFNEG             CCS      A                                     
045655,001931: 00,2532           12416                           TCF      BUF-                                  #  TO BUF- IF BUF IS LESS THAN -1.
045656,001932: 
045657,001933: 00,2533           30131                           CA       BUF        +1                         #  IF BUF IS -1, FORCING SIGN AGREEMENT
045658,001934: 00,2534           00006                           EXTEND                                         #  MAY CAUSE BUF TO BECOME ZERO.
045659,001935: 00,2535           62416                           BZMF     BUF-                                  #  BRANCH IF SIGNS AGREE.
045660,001936: 
045661,001937: 00,2536           44736                           CS       HALF                                  #  SIGNS DISAGREE.  FORCE AGREEMENT.
045662,001938: 00,2537           12524                           TCF      BUFPOS     +6                         
045663,001939: 

Page 1061

045665,001941:                                                                                                  #  THE FOLLOWING ARE PROLOGUES TO SHIFT THE DIVIDEND ARRIVING IN A AND L BEFORE THE DIVIDE.
045666,001942: 
045667,001943: 00,2540           22021                 -21D      LXCH     SR                                    #  SPECIAL PROLOGUE FOR UNIT WHEN THE
045668,001944: 00,2541           00006                           EXTEND                                         #  LENGTH OF THE ARGUMENT WAS NOT LESS THAN
045669,001945: 00,2542           74736                           MP       HALF                                  #  .5.  IN THIS CASE, EACH COMPONENT MUST BE
045670,001946: 00,2543           56001                           XCH      L                                     #  SHIFTED RIGHT ONE TO PRODUCE A HALF-UNIT
045671,001947: 00,2544           60021                           AD       SR                                    #  VECTOR.
045672,001948: 00,2545           56001                           XCH      L                                     
045673,001949: 00,2546           12571                           TCF      GENDDV     +1                         #  WITH DP DIVIDEND IN A,L.
045674,001950: 
045675,001951: 00,2547           20001                           DDOUBL                                         #  PROLOGUE WHICH NORMALIZES THE DIVIDEND
045676,001952: 00,2550           20001                           DDOUBL                                         #  WHEN IT IS KNOWN THAT NO DIVISION
045677,001953: 00,2551           20001                           DDOUBL                                         #  OVERFLOW WILL OCCUR.
045678,001954: 00,2552           20001                           DDOUBL                                         
045679,001955: 00,2553           20001                           DDOUBL                                         
045680,001956: 00,2554           20001                           DDOUBL                                         
045681,001957: 00,2555           20001                           DDOUBL                                         
045682,001958: 00,2556           20001                           DDOUBL                                         
045683,001959: 00,2557           20001                           DDOUBL                                         
045684,001960: 00,2560           20001                           DDOUBL                                         
045685,001961: 00,2561           20001                           DDOUBL                                         
045686,001962: 00,2562           20001                           DDOUBL                                         
045687,001963: 00,2563           20001                           DDOUBL                                         
045688,001964: 00,2564           52155                           DXCH     MPAC                                  
045689,001965: 
045690,001966: 00,2565           10140        MAXTEST            CCS      MAXDVSW                               #  0 IF MAJORS MIGHT BE =, -1 OTHERWISE.
045691,001967: 00,2566           06552        BIASHI             DEC      .4192      B-1                        #  SQRT CONSTANTS
045692,001968: 
045693,001969: 00,2567           12642                           TCF      MAXDV                                 #  CHECK TO SEE IF THEY ARE NOW EQUAL.
045694,001970: 

Page 1062

045696,001972:                                                                                                  #  THE FOLLOWING IS A GENERAL PURPOSE DOUBLE PRECISION DIVISION ROUTINE.  IT DIVIDES MPAC BY BUF AND LEAVES
045697,001973:                                                                                                  #  THE RESULT IN MPAC.  THE FOLLOWING CONDITIONS MUST BE SATISFIED:
045698,001974: 
045699,001975:                                                                                                  #        1.      THE DIVISOR (BUF) MUST BE POSITIVE AND NOT LESS THAN .5.
045700,001976: 
045701,001977:                                                                                                  #        2.      THE DIVIDEND (MPAC) MUST BE POSITIVE WITH THE MAJOR PART OF MPAC STRICTLY LESS THAN THAT OF BUF
045702,001978:                                                                                                  #                (A SPECIAL APPROXIMATION, MAXDV, IS USED WHEN THE MAJOR PARTS ARE EQUAL).
045703,001979: 
045704,001980:                                                                                                  #  UNDERSTANDING THAT A/B = Q + S(R/B) WHERE S = 2(-14) AND Q AND R ARE QUOTIENT AND REMAINDER, RESPEC-
045705,001981:                                                                                                  #  TIVELY, THE FOLLOWING APPROXIMATION IS OBTAINED BY MULTIPLYING ABOVE AND BELOW BY C - SD AND NEGLECTING TERMS OF
045706,001982:                                                                                                  #  ORDER S-SQUARED (POSSIBLY INTRODUCING ERROR INTO THE LOW TWO BITS OF THE RESULT).  SIGN AGREEMENT IS UNNECESSARY.
045707,001983: 
045708,001984:                                                                                                  #        A + SB .      (R - QD)                                             A + SB
045709,001985:                                                                                                  #        ------ = Q + S(------) WHERE Q AND R ARE QUOTIENT AND REMAINDER OF ------ RESPECTIVELY.
045710,001986:                                                                                                  #        C + SD        (  C   )                                                C
045711,001987: 
045712,001988: 00,2570           52155        GENDDV             DXCH     MPAC                                  #  WE NEED A AND B ONLY FOR FIRST DV.
045713,001989: 00,2571           00006                 +1        EXTEND                                         #  (SPECIAL UNIT PROLOGUE ENTERS HERE).
045714,001990: 00,2572           10130                           DV       BUF                                   #  A NOW CONTAINS Q AND L, R.
045715,001991: 00,2573           52155                           DXCH     MPAC                                  
045716,001992: 
045717,001993: 00,2574           40154                           CS       MPAC                                  #  FORM DIVIDEND FOR MINOR PART OF RESULT.
045718,001994: 00,2575           00006                           EXTEND                                         
045719,001995: 00,2576           70131                           MP       BUF        +1                         
045720,001996: 00,2577           60155                           AD       MPAC       +1                         #  OVERFLOW AT THIS POINT IS POSITIVE SINCE
045721,001997: 00,2600           54000                           OVSK                                           #  R IS POSITIVE IN EVERY CASE.
045722,001998: 00,2601           12606                           TCF      +5                                    
045723,001999: 
045724,002000: 00,2602           00006                           EXTEND                                         #  OVERFLOW CAN BE REMOVED BY SUBTRACTING C
045725,002001: 00,2603           60130                           SU       BUF                                   #  (BUF) ONCE SINCE R IS ALWAYS LESS THAN C
045726,002002: 00,2604           24154                           INCR     MPAC                                  #  IN THIS CASE.  INCR COMPENSATES SUBTRACT.
045727,002003: 00,2605           12610                           TCF      +DOWN                                 #  (SINCE C(A) IS STILL POSITIVE).
045728,002004: 
045729,002005: 00,2606           00006                 +5        EXTEND                                         #  C(A) CAN BE MADE LESS THAN C IN MAGNI-
045730,002006: 00,2607           62620                           BZMF     -UP                                   #  TUDE BY DIMINISHING IT BY C (SINCE C IS
045731,002007:                                                                                                  #  NOT LESS THAN .5) UNLESS C(A) = 0.
045732,002008: 

Page 1063

045734,002010: 00,2610           00006        +DOWN              EXTEND                                         
045735,002011: 00,2611           60130                           SU       BUF                                   #  IF POSITIVE, REDUCE ONLY IF NECESSARY
045736,002012: 00,2612           00006                           EXTEND                                         #  SINCE THE COMPENSATING INCR MIGHT CAUSE
045737,002013: 00,2613           12616                           BZF      +3                                    #  OVERFLOW.
045738,002014: 00,2614           00006                           EXTEND                                         #  DONT SUBTRACT UNLESS RESULT IS POSITIVE
045739,002015: 00,2615           62624                           BZMF     ENDMAXDV                              #  OR ZERO.
045740,002016: 
045741,002017: 00,2616           24154                 +3        INCR     MPAC                                  #  KEEP SUBTRACT HERE AND COMPENSATE.
045742,002018: 00,2617           12625                           TCF      FINALDV                               
045743,002019: 
045744,002020: 00,2620           00006        -UP                EXTEND                                         #  IF ZERO, SET MINOR PART OF RESULT TO
045745,002021: 00,2621           12630                           BZF      FINALDV    +3                         #  ZERO.
045746,002022: 
045747,002023: 00,2622           00006                           EXTEND                                         #  IF NEGATIVE, ADD C TO A, SUBTRACTING ONE
045748,002024: 00,2623           26154                           DIM      MPAC                                  #  TO COMPENSATE.  DIM IS OK HERE SINCE THE
045749,002025: 00,2624           60130        ENDMAXDV           AD       BUF                                   #  MAJOR PART NEVER GOES NEGATIVE.
045750,002026: 

Page 1064

045752,002028: 00,2625           22007        FINALDV            ZL                                             #  DO DV TO OBTAIN MINOR PART OF RESULT.
045753,002029: 00,2626           00006                           EXTEND                                         
045754,002030: 00,2627           10130                           DV       BUF                                   
045755,002031: 00,2630           54155                 +3        TS       MPAC       +1                         
045756,002032: 
045757,002033: 00,2631           10136                           CCS      DVSIGN                                #  LEAVE RESULT POSITIVE UNLESS C(DVSIGN)=
045758,002034: 00,2632           00002                           TC       Q                                     #  -0.
045759,002035: 00,2633           00002                           TC       Q                                     
045760,002036: 00,2634           00002                           TC       Q                                     
045761,002037: 
045762,002038: 00,2635           00006                           EXTEND                                         
045763,002039: 00,2636           40155                           DCS      MPAC                                  
045764,002040: 00,2637           52155                           DXCH     MPAC                                  
045765,002041: 00,2640           34755                           CAF      ZERO                                  #  SO WE ALWAYS RETURN WITH C(A) = 0.
045766,002042: 00,2641           00002                           TC       Q                                     
045767,002043: 

Page 1065

045769,002045:                                                                                                  #  IF THE MAJOR PARTS OF THE DIVISOR AND DIVIDEND ARE EQUAL, BUT THE MINOR PARTS ARE SUCH THAT THE
045770,002046:                                                                                                  #  DIVIDEND IS STRICTLY LESS THAN THE DIVISOR IN MAGNITUDE, THE FOLLOWING APPROXIMATION IS USED.  THE ASSUMPTIONS
045771,002047:                                                                                                  #  ARE THE SAME AS THE GENERAL ROUTINE WITH THE ADDITION THAT SIGN AGREEMENT IS NECESSARY (B, C, & D POSITIVE).
045772,002048: 
045773,002049:                                                                                                  #        C + SB .          (C + B - D)
045774,002050:                                                                                                  #        ------ = 37777 + S(---------)
045775,002051:                                                                                                  #        C + SD            (    C    )
045776,002052: 
045777,002053:                                                                                                  #  THE DIVISION MAY BE PERFORMED IMMEDIATELY SINCE B IS STRICTLY LESS THAN D AND C IS NOT LESS THAN .5.
045778,002054: 
045779,002055: 00,2642           40154        MAXDV              CS       MPAC                                  #  SEE IF MAXDV CASE STILL HOLDS AFTER
045780,002056: 00,2643           60130                           AD       BUF                                   #  NORMALIZATION.
045781,002057: 00,2644           00006                           EXTEND                                         
045782,002058: 00,2645           12647                           BZF      +2                                    
045783,002059: 00,2646           12570                           TCF      GENDDV                                #  MPAC NOW LESS THAN BUF - DIVIDE AS USUAL
045784,002060: 
045785,002061: 00,2647           34733                 +2        CAF      POSMAX                                #  SET MAJOR PART OF RESULT.
045786,002062: 00,2650           54154                           TS       MPAC                                  
045787,002063: 
045788,002064: 00,2651           40131                           CS       BUF        +1                         #  FORM DIVIDEND OF MINOR PART OF RESULT.
045789,002065: 00,2652           60155                           AD       MPAC       +1                         
045790,002066: 00,2653           12624                           TCF      ENDMAXDV                              #  GO ADD C AND DO DIVIDE, ATTACHING SIGN
045791,002067:                                                                                                  #  BEFORE EXITING.
045792,002068: 

Page 1066

045794,002070:                                                                                                  #  VECTOR DIVIDED BY SCALAR, V/SC, IS EXECUTED HERE.  THE VECTOR IS NOW IN MPAC WITH SCALAR IN BUF.
045795,002071: 
045796,002072: 00,2654           44753        V/SC2              CS       ONE                                   #  INITIALIZE DIVIDEND NORMALIZATION COUNT
045797,002073: 00,2655           54137                           TS       DVNORMCT                              #  AND DIVISION SIGN REGISTER.
045798,002074: 00,2656           54127                           TS       VBUF       +5                         
045799,002075: 
045800,002076: 00,2657           03010                           TC       VECAGREE                              #  FORCE SIGN AGREEMENT IN VECTOR
045801,002077: 
045802,002078: 00,2660           52131                           DXCH     BUF                                   
045803,002079: 00,2661           07544                           TC       ALSIGNAG                              #  SIGN AGREE BUF
045804,002080: 00,2662           52131                           DXCH     BUF                                   
045805,002081: 00,2663           10130                           CCS      BUF                                   #  FORCE DIVISOR POSITIVE WITH MAJOR PART
045806,002082: 00,2664           12721                           TCF      /BUF+                                 #  NON-ZERO (IF POSSIBLE).
045807,002083: 00,2665           12667                           TCF      +2                                    
045808,002084: 00,2666           12715                           TCF      /BUF-                                 
045809,002085: 
045810,002086: 00,2667           56131                           XCH      BUF        +1                         #  SHIFT VECTOR AND SCALAR LEFT 14.
045811,002087: 00,2670           56130                           XCH      BUF                                   
045812,002088: 00,2671           56155                           XCH      MPAC       +1                         
045813,002089: 00,2672           56154                           XCH      MPAC                                  
045814,002090: 00,2673           00006                           EXTEND                                         #  CHECK FOR OVERFLOW IN EACH CASE.
045815,002091: 00,2674           12676                           BZF      +2                                    
045816,002092: 00,2675           12405                           TCF      DVOVF                                 
045817,002093: 
045818,002094: 00,2676           56160                           XCH      MPAC       +4                         
045819,002095: 00,2677           56157                           XCH      MPAC       +3                         
045820,002096: 00,2700           00006                           EXTEND                                         
045821,002097: 00,2701           12703                           BZF      +2                                    
045822,002098: 00,2702           12405                           TCF      DVOVF                                 
045823,002099: 
045824,002100: 00,2703           56162                           XCH      MPAC       +6                         
045825,002101: 00,2704           56161                           XCH      MPAC       +5                         
045826,002102: 00,2705           00006                           EXTEND                                         
045827,002103: 00,2706           12710                           BZF      +2                                    
045828,002104: 00,2707           12405                           TCF      DVOVF                                 
045829,002105: 
045830,002106: 00,2710           10130                           CCS      BUF                                   
045831,002107: 00,2711           12721                           TCF      /BUF+                                 
045832,002108: 00,2712           12405                           TCF      DVOVF                                 #  ZERO DIVISOR - OVERFLOW.
045833,002109: 00,2713           12715                           TCF      /BUF-                                 
045834,002110: 00,2714           12405                           TCF      DVOVF                                 
045835,002111: 
045836,002112: 00,2715           00006        /BUF-              EXTEND                                         #  ON NEGATIVE, COMPLEMENT BUF AND MAINTAIN
045837,002113: 00,2716           40131                           DCS      BUF                                   #  DVSIGN IN VBUF +5.
045838,002114: 00,2717           52131                           DXCH     BUF                                   
045839,002115: 00,2720           24127                           INCR     VBUF       +5                         
045840,002116: 

Page 1067

045842,002118: 00,2721           00006        /BUF+              EXTEND                                         
045843,002119: 00,2722           30131                           DCA      BUF                                   #  LEAVE ABS(ORIG DIVISOR) IN BUF2
045844,002120: 00,2723           52134                           DXCH     BUF2                                  #  FOR OVERFLOW TESTING
045845,002121: 00,2724           12732                           TCF      /NORM                                 #  NORMALIZE DIVISOR IN BUF.
045846,002122: 
045847,002123: 00,2725           00006        /NORM2             EXTEND                                         #  IF LESS THAN .5, AUGMENT DVNORMCT AND
045848,002124: 00,2726           24137                           AUG      DVNORMCT                              #  DOUBLE DIVISOR.
045849,002125: 00,2727           00006                           EXTEND                                         
045850,002126: 00,2730           30131                           DCA      BUF                                   
045851,002127: 00,2731           20131                           DAS      BUF                                   
045852,002128: 
045853,002129: 00,2732           30130        /NORM              CA       BUF                                   #  SEE IF DIVISOR NORMALIZED.
045854,002130: 00,2733           60000                           DOUBLE                                         
045855,002131: 00,2734           54000                           OVSK                                           
045856,002132: 00,2735           12725                           TCF      /NORM2                                #  DOUBLE AND TRY AGAIN IF NOT.
045857,002133: 
045858,002134: 00,2736           02750                           TC       V/SCDV                                #  DO X COMPONENT DIVIDE.
045859,002135: 00,2737           52160                           DXCH     MPAC       +3                         #  SUPPLY ARGUMENTS IN USUAL SEQUENCE.
045860,002136: 00,2740           52155                           DXCH     MPAC                                  
045861,002137: 00,2741           52160                           DXCH     MPAC       +3                         
045862,002138: 
045863,002139: 00,2742           02750                           TC       V/SCDV                                #  Y COMPONENT.
045864,002140: 00,2743           52162                           DXCH     MPAC       +5                         
045865,002141: 00,2744           52155                           DXCH     MPAC                                  
045866,002142: 00,2745           52162                           DXCH     MPAC       +5                         
045867,002143: 
045868,002144: 00,2746           02750                           TC       V/SCDV                                #  Z COMPONENT.
045869,002145: 00,2747           17420                           TCF      VROTATEX                              #  GO RE-ARRANGE COMPONENTS BEFORE EXIT.
045870,002146: 

Page 1068

045872,002148:                                                                                                  #  SUBROUTINE USED BY V/SC TO DIVIDE VECTOR COMPONENT IN MPAC,+1 BY THE SCALAR GIVEN IN BUF.
045873,002149: 
045874,002150: 00,2750           30127        V/SCDV             CA       VBUF       +5                         #  REFLECTS SIGN OF SCALAR.
045875,002151: 00,2751           54136                           TS       DVSIGN                                
045876,002152: 
045877,002153: 00,2752           10154                           CCS      MPAC                                  #  FORCE MPAC POSITIVE, EXITING ON ZERO.
045878,002154: 00,2753           12767                           TCF      /MPAC+                                
045879,002155: 00,2754           12756                           TCF      +2                                    
045880,002156: 00,2755           12763                           TCF      /MPAC-                                
045881,002157: 
045882,002158: 00,2756           10155                           CCS      MPAC       +1                         
045883,002159: 00,2757           12767                           TCF      /MPAC+                                
045884,002160: 00,2760           00002                           TC       Q                                     
045885,002161: 00,2761           12763                           TCF      /MPAC-                                
045886,002162: 00,2762           00002                           TC       Q                                     
045887,002163: 
045888,002164: 00,2763           00006        /MPAC-             EXTEND                                         #  USUAL COMPLEMENTING AND SETTING OF SIGN.
045889,002165: 00,2764           40155                           DCS      MPAC                                  
045890,002166: 00,2765           52155                           DXCH     MPAC                                  
045891,002167: 00,2766           24136                           INCR     DVSIGN                                
045892,002168: 
045893,002169: 00,2767           44753        /MPAC+             CS       ONE                                   #  INITIALIZE NEAR-ONE SWITCH.
045894,002170: 00,2770           54140                           TS       MAXDVSW                               
045895,002171: 
045896,002172: 00,2771           40154                           CS       MPAC                                  #  CHECK POSSIBLE OVERFLOW.
045897,002173: 00,2772           60133                           AD       BUF2                                  #  UNNORMALIZED INPUT DIVISOR.
045898,002174: 00,2773           10000                           CCS      A                                     
045899,002175: 00,2774           13004                           TCF      DDVCALL                               #  NOT NEAR-ONE
045900,002176: 00,2775           12777                           TCF      +2                                    #  +0 IS JUST POSSIBLE
045901,002177: 00,2776           12405                           TCF      DVOVF                                 #  NO HOPE
045902,002178: 00,2777           54140                           TS       MAXDVSW                               #  SIGNAL POSSIBLE NEAR-ONE CASE
045903,002179: 00,3000           40155                           CS       MPAC       +1                         #  SEE IF DIVISION CAN BE DONE
045904,002180: 00,3001           60134                           AD       BUF2       +1                         
045905,002181: 00,3002           00006                           EXTEND                                         
045906,002182: 00,3003           62405                           BZMF     DVOVF                                 
045907,002183: 
045908,002184: 00,3004           52155        DDVCALL            DXCH     MPAC                                  #  CALL PRE-DIVIDE NORMALIZATION.
045909,002185: 00,3005           50137                           INDEX    DVNORMCT                              
045910,002186: 00,3006           12565                           TCF      MAXTEST                               
045911,002187: 

Page 1069

045913,002189: 00,3007           32506        SLOPELO            DEC      .8324                                 
045914,002190: 
045915,002191: 00,3010           56002        VECAGREE           XCH      Q                                     #  SAVE Q IN A
045916,002192: 00,3011           52155                           DXCH     MPAC                                  
045917,002193: 00,3012           07544                           TC       ALSIGNAG                              #  SIGNAGREE MPAC
045918,002194: 00,3013           52155                           DXCH     MPAC                                  
045919,002195: 00,3014           52160                           DXCH     MPAC       +3                         
045920,002196: 00,3015           07544                           TC       ALSIGNAG                              #  SIGN AGREE MPAC +3
045921,002197: 00,3016           52160                           DXCH     MPAC       +3                         
045922,002198: 00,3017           52162                           DXCH     MPAC       +5                         
045923,002199: 00,3020           07544                           TC       ALSIGNAG                              #  SIGNAGREE MPAC +5
045924,002200: 00,3021           52162                           DXCH     MPAC       +5                         
045925,002201: 00,3022           00000                           TC       A                                     
045926,002202: 

Page 1070

045928,002204:                                                                                                  #  THE FOLLOWING ROUTINE EXECUTES THE UNIT INSTRUCTION, WHICH TAKES THE UNIT OF THE VECTOR IN MPAC.
045929,002205: 
045930,002206: 00,3023           03010        UNIT               TC       VECAGREE                              #  FORCE SIGN AGREEMENT IN VECTOR
045931,002207: 00,3024           07532                           TC       MPACVBUF                              #  SAVE ARGUMENT IN VBUF
045932,002208: 00,3025           34755                           CAF      ZERO                                  #  MUST SENSE OVERFLOW IN FOLLOWING DOT.
045933,002209: 00,3026           56121                           XCH      OVFIND                                
045934,002210: 00,3027           54141                           TS       TEM1                                  
045935,002211: 00,3030           03317                           TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
045936,002212: 00,3031           30141                           CA       TEM1                                  
045937,002213: 00,3032           56121                           XCH      OVFIND                                
045938,002214: 00,3033           00006                           EXTEND                                         
045939,002215: 00,3034           13036                           BZF      +2                                    
045940,002216: 00,3035           12405                           TCF      DVOVF                                 
045941,002217: 00,3036           00006                           EXTEND                                         
045942,002218: 00,3037           30155                           DCA      MPAC                                  #  LEAVE THE SQUARE OF THE LENGTH OF THE
045943,002219: 00,3040           50120                           INDEX    FIXLOC                                #  ARGUMENT IN LVSQUARE.
045944,002220: 00,3041           52043                           DXCH     LVSQUARE                              
045945,002221: 
045946,002222: 00,3042           03343                           TC       SQRTSUB                               #  GO TAKE THE NORMALIZED SQUARE ROOT.
045947,002223: 
045948,002224: 00,3043           10154                           CCS      MPAC                                  #  CHECK FOR UNIT OVERFLOW.
045949,002225: 00,3044           13051                           TCF      +5                                    #  MPAC IS NOT LESS THAN .5 UNLESS
045950,002226: 00,3045           54001                           TS       L                                     
045951,002227: 00,3046           50120                           INDEX    FIXLOC                                
045952,002228: 00,3047           52045                           DXCH     LV                                    
045953,002229: 00,3050           12405                           TCF      DVOVF                                 #  INPUT TO SQRTSUB WAS 0.
045954,002230: 
045955,002231: 00,3051           44317                           CS       FOURTEEN                              #  SEE IF THE INPUT WAS SO SMALL THE THE
045956,002232: 00,3052           60135                           AD       MPTEMP                                #  FIRST TWO REGISTERS OF THE SQUARE WERE 0
045957,002233: 00,3053           10000                           CCS      A                                     
045958,002234: 00,3054           40000                           COM                                            #  IF SO, SAVE THE NEGATIVE OF THE SHIFT
045959,002235: 00,3055           13133                           TCF      SMALL                                 #  COUNT -15D.
045960,002236: 
045961,002237: 00,3056           13065                           TCF      LARGE                                 #  (THIS IS USUALLY THE CASE.)
045962,002238: 
045963,002239: 00,3057           44761                           CS       THIRTEEN                              #  IF THE SHIFT COUNT WAS EXACTLY 14, SET
045964,002240: 00,3060           54135                           TS       MPTEMP                                #  THE PRE-DIVIDE NORM COUNT TO -13D.
045965,002241: 
045966,002242: 00,3061           30154                           CA       MPAC                                  #  SHIFT THE LENGTH RIGHT 14 BEFORE STORING
045967,002243: 00,3062           54001        SMALL2             TS       L                                     #  (SMALL EXITS TO THIS POINT).
045968,002244: 00,3063           34755                           CAF      ZERO                                  
045969,002245: 00,3064           13112                           TCF      LARGE2                                #  GO TO STORE LENGTH AND PROCEED.
045970,002246: 
045971,002247: 00,3065           10135        LARGE              CCS      MPTEMP                                #  MOST ALL CASES COME HERE.
045972,002248: 00,3066           13074                           TCF      LARGE3                                #  SEE IF NO NORMALIZATION WAS REQUIRED BY
045973,002249: 
045974,002250: 00,3067           42024                           CS       SRDDV                                 #  SQRT, AND IF SO, SET UP FOR A SHIFT
045975,002251: 00,3070           54135                           TS       MPTEMP                                #  RIGHT 1 BEFORE DIVIDING TO PRODUCE
045976,002252: 00,3071           00006                           EXTEND                                         #  THE DESIRED HALF UNIT VECTOR.
045977,002253: 00,3072           30155                           DCA      MPAC                                  

Page 1071

045979,002255: 00,3073           13112                           TCF      LARGE2                                
045980,002256: 

Page 1072

045982,002258: 00,3074           40000        LARGE3             COM                                            #  LEAVE NEGATIVE OF SHIFT COUNT-1 FOR
045983,002259: 00,3075           54135                           TS       MPTEMP                                #  PREDIVIDE LEFT SHIFT.
045984,002260: 
045985,002261: 00,3076           40000                           COM                                            #  PICK UP REQUIRED SHIFTING BIT TO UNNORM-
045986,002262: 00,3077           50000                           INDEX    A                                     #  ALIZE THE SQRT RESULT.
045987,002263: 00,3100           34736                           CAF      BIT14                                 
045988,002264: 00,3101           54130                           TS       BUF                                   
045989,002265: 00,3102           00006                           EXTEND                                         
045990,002266: 00,3103           70155                           MP       MPAC       +1                         
045991,002267: 00,3104           56130                           XCH      BUF                                   
045992,002268: 00,3105           00006                           EXTEND                                         #  (UNNORMALIZE THE SQRT FOR LV).
045993,002269: 00,3106           70154                           MP       MPAC                                  
045994,002270: 00,3107           56001                           XCH      L                                     
045995,002271: 00,3110           60130                           AD       BUF                                   
045996,002272: 00,3111           56001                           XCH      L                                     
045997,002273: 
045998,002274: 00,3112           50120        LARGE2             INDEX    FIXLOC                                
045999,002275: 00,3113           52045                           DXCH     LV                                    #  LENGTH NOW STORED IN WORK AREA.
046000,002276: 
046001,002277: 00,3114           44753                           CS       ONE                                   
046002,002278: 00,3115           54140                           TS       MAXDVSW                               #  NO MAXDV CASES IN UNIT.
046003,002279: 
046004,002280: 00,3116           52123                           DXCH     VBUF                                  #  PREPARE X COMPONENT FOR DIVIDE, SETTING
046005,002281: 00,3117           52155                           DXCH     MPAC                                  #  LENGTH OF VECTOR AS DIVISOR IN BUF.
046006,002282: 00,3120           52131                           DXCH     BUF                                   
046007,002283: 00,3121           03151                           TC       UNITDV                                
046008,002284: 
046009,002285: 00,3122           52125                           DXCH     VBUF       +2                         #  DO Y AND Z IN USUAL FASHION SO WE CAN
046010,002286: 00,3123           52155                           DXCH     MPAC                                  #  EXIT THROUGH VROTATEX.
046011,002287: 00,3124           52160                           DXCH     MPAC       +3                         
046012,002288: 00,3125           03151                           TC       UNITDV                                
046013,002289: 
046014,002290: 00,3126           52127                           DXCH     VBUF       +4                         
046015,002291: 00,3127           52155                           DXCH     MPAC                                  
046016,002292: 00,3130           52162                           DXCH     MPAC       +5                         
046017,002293: 00,3131           03151                           TC       UNITDV                                
046018,002294: 00,3132           17420                           TCF      VROTATEX                              #  AND EXIT.
046019,002295: 

Page 1073

046021,002297:                                                                                                  #  IF THE LENGTH OF THE ARGUMENT VECTOR WAS LESS THAN 2(-28), EACH COMPONENT MUST BE SHIFTED LEFT AT LEAST
046022,002298:                                                                                                  #  14 PLACES BEFORE THE DIVIDE. NOTE THAT IN THIS CASE, THE MAJOR PART OF EACH COMPONENT IS ZERO.
046023,002299: 
046024,002300: 00,3133           54135        SMALL              TS       MPTEMP                                #  NEGATIVE OF PRE-DIVIDE SHIFT COUNT.
046025,002301: 
046026,002302: 00,3134           34755                           CAF      ZERO                                  #  SHIFT EACH COMPONENT LEFT 14.
046027,002303: 00,3135           56123                           XCH      VBUF       +1                         
046028,002304: 00,3136           56122                           XCH      VBUF                                  
046029,002305: 00,3137           56125                           XCH      VBUF       +3                         
046030,002306: 00,3140           56124                           XCH      VBUF       +2                         
046031,002307: 00,3141           56127                           XCH      VBUF       +5                         
046032,002308: 00,3142           56126                           XCH      VBUF       +4                         
046033,002309: 
046034,002310: 00,3143           40135                           CS       MPTEMP                                
046035,002311: 00,3144           50000                           INDEX    A                                     
046036,002312: 00,3145           34736                           CAF      BIT14                                 
046037,002313: 00,3146           00006                           EXTEND                                         
046038,002314: 00,3147           70154                           MP       MPAC                                  
046039,002315: 00,3150           13062                           TCF      SMALL2                                
046040,002316: 
046041,002317: 00,3151     4761               THIRTEEN           =        OCT15                                 
046042,002318: 00,3151     4317               FOURTEEN           =        OCT16                                 
046043,002319: 00,3151     4317               OCT16              =        R1D1                                  
046044,002320: 

Page 1074

046046,002322:                                                                                                  #  THE FOLLOWING ROUTINE SETS UP THE CALL TO THE DIVIDE ROUTINES.
046047,002323: 
046048,002324: 00,3151           10154        UNITDV             CCS      MPAC                                  #  FORCE MPAC POSITIVE IF POSSIBLE, SETTING
046049,002325: 00,3152           13170                           TCF      UMPAC+                                #  DVSIGN ACCORDING TO THE SIGN OF MPAC
046050,002326: 00,3153           13155                           TCF      +2                                    #  SINCE THE DIVISOR IS ALWAYS POSITIVE
046051,002327: 00,3154           13162                           TCF      UMPAC-                                #  HERE.
046052,002328: 
046053,002329: 00,3155           10155                           CCS      MPAC       +1                         
046054,002330: 00,3156           13170                           TCF      UMPAC+                                
046055,002331: 00,3157           00002                           TC       Q                                     #  EXIT IMMEDIATELY ON ZERO.
046056,002332: 00,3160           13162                           TCF      UMPAC-                                
046057,002333: 00,3161           00002                           TC       Q                                     
046058,002334: 
046059,002335: 00,3162           44755        UMPAC-             CS       ZERO                                  #  IF NEGATIVE, SET -0 IN DVSIGN FOR FINAL
046060,002336: 00,3163           54136                           TS       DVSIGN                                #  COMPLEMENT.
046061,002337: 00,3164           00006                           EXTEND                                         
046062,002338: 00,3165           40155                           DCS      MPAC                                  #  PICK UP ABSOLUTE VALUE OF ARG AND JUMP.
046063,002339: 00,3166           50135                           INDEX    MPTEMP                                
046064,002340: 00,3167           12564                           TCF      MAXTEST    -1                         
046065,002341: 
046066,002342: 00,3170           54136        UMPAC+             TS       DVSIGN                                #  SET DVSIGN FOR POSITIVE QUOTIENT.
046067,002343: 00,3171           52155                           DXCH     MPAC                                  
046068,002344: 00,3172           50135                           INDEX    MPTEMP                                
046069,002345: 00,3173           12564                           TCF      MAXTEST    -1                         
046070,002346: 

Page 1075

046072,002348:                                                                                                  #  MISCELLANEOUS UNARY OPERATIONS.
046073,002349: 
046074,002350: 00,3174           03300        DSQ                TC       DSQSUB                                #  SQUARE THE DP CONTENTS OF MPAC.
046075,002351: 00,3175           16061                           TCF      DANZIG                                
046076,002352: 
046077,002353: 00,3176           10163        ABVALABS           CCS      MODE                                  #  ABVAL OR ABS INSTRUCTION.
046078,002354: 00,3177           13226                           TCF      ABS                                   #  DO ABS ON SCALAR.
046079,002355: 00,3200           13226                           TCF      ABS                                   
046080,002356: 
046081,002357: 00,3201           03317        ABVAL              TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
046082,002358: 00,3202           22163                           LXCH     MODE                                  #  MODE IS NOW DP (L ZERO AFTER DAS).
046083,002359: 
046084,002360: 00,3203           00006                           EXTEND                                         #  STORE SQUARE OF LENGTH IN WORK AREA.
046085,002361: 00,3204           30155                           DCA      MPAC                                  
046086,002362: 00,3205           50120                           INDEX    FIXLOC                                
046087,002363: 00,3206           52043                           DXCH     LVSQUARE                              
046088,002364: 

Page 1076

046090,002366:                                                                                                  #  PROGRAM DESCRIPTION - SUBROUTINE SQRT
046091,002367: 
046092,002368:                                                                                                  #  FUNCTIONAL DESCRIPTION - DOUBLE PRECISION SQUARE ROOT ROUTINE
046093,002369:                                                                                                  #        THIS PROGRAM TAKES THE SQUARE ROOT OF THE 27 OR 28 MOST SIGNIFICANT BITS IN THE TRIPLE PRECISION SET OF
046094,002370:                                                                                                  #        NUMBERS - MPAC, MPAC+1, AND MPAC+2.  THE ROOT IS RETURNED DOUBLE PRECISION IN MPAC AND MPAC+1.
046095,002371: 
046096,002372:                                                                                                  #  WARNING - THIS SUBROUTINE USES A TRIPLE PRECISION INPUT.  THE PROGRAMMER MUST ASSURE THE CONTENTS OF MPAC+2
046097,002373:                                                                                                  #        ESPECIALLY IF THE CONTENTS OF MPAC IS SMALL OR ZERO.  FOR DETAILS SEE STG MEMO NO.949.
046098,002374: 
046099,002375:                                                                                                  #  CALLING SEQUENCE - IN INTERPRETIVE MODE I.E., FOLLOWING TC  INTPRET,SQRT   NO ADDRESS IS ALLOWED
046100,002376:                                                                                                  #        INPUT SCALING  THE BINARY POINT IS ASSUMED TO THE RIGHT OF BIT 15.  THE ANSWER IS RETURNED WITH THE SAME SCALING
046101,002377: 
046102,002378:                                                                                                  #  SUBROUTINES - GENSCR, MPACSHR, SQRTSUB, ABORT
046103,002379: 
046104,002380:                                                                                                  #  ABORT EXIT MODE - ABORTS ON NEGATIVE INPUT -1.2X10E-4 (77775 OCTAL) OR LESS.
046105,002381:                                                                                                  #        DISPLAYS ERROR CODE 1302
046106,002382:                                                                                                  #                TC      ABORT
046107,002383:                                                                                                  #                OCT     1302
046108,002384: 
046109,002385:                                                                                                  #  DEBRIS - LOCATIONS BUF, MPTEMP, ADDRWD ARE USED
046110,002386: 
046111,002387: 00,3207           03343        SQRT               TC       SQRTSUB                               #  TAKE THE SQUARE ROOT OF MPAC.
046112,002388: 00,3210           10135                           CCS      MPTEMP                                #  RETURNED NORMALIZED SQUARE ROOT.  SEE IF
046113,002389: 00,3211           13213                           TCF      +2                                    #  ANY UN-NORMALIZATION REQUIRED AND EXIT
046114,002390: 00,3212           16061                           TCF      DANZIG                                #  IF NOT.
046115,002391: 
046116,002392: 00,3213           63733                           AD       NEG12                                 #  A RIGHT SHIFT OF MORE THAN 13 COULD BE
046117,002393: 00,3214           00006                           EXTEND                                         #  REQUIRED IF INPUT WAS ZERO IN MPAC,+1.
046118,002394: 00,3215           63221                           BZMF     SQRTSHFT                              #  GOES HERE IN MOST CASES.
046119,002395: 00,3216           22007                           ZL                                             #  IF A LONG SHIFT IS REQUIRED, GO TO
046120,002396: 00,3217           22116                           LXCH     ADDRWD                                #  GENERAL RIGHT SHIFT ROUTINES.
046121,002397: 00,3220           12303                           TCF      GENSCR     +4                         #  ADDRWD WAS ZERO TO PREVENT ROUND.
046122,002398: 
046123,002399: 00,3221           50135        SQRTSHFT           INDEX    MPTEMP                                #  SELECT SHIFTING BIT AND EXIT THROUGH
046124,002400: 00,3222           34735                           CAF      BIT15                                 #  SHIFT ROUTINES.
046125,002401: 00,3223           54135                           TS       MPTEMP                                
046126,002402: 00,3224           34755                           CAF      ZERO                                  #  TO ZERO MPAC +2 IN THE PROCESS.
046127,002403: 00,3225           12036                           TCF      MPACSHR    +3                         
046128,002404: 
046129,002405: 00,3226           06723        ABS                TC       BRANCH                                #  TEST SIGN OF MPAC AND COMPLEMENT IF
046130,002406: 00,3227           16061                           TCF      DANZIG                                
046131,002407: 00,3230           16061                           TCF      DANZIG                                
046132,002408: 00,3231           17670                           TCF      COMP                                  
046133,002409: 

Page 1077

046135,002411: 00,3232           44751        VDEF               CS       FOUR                                  #  VECTOR DEFINE - ESSENTIALLY TREATS
046136,002412: 00,3233           26166                           ADS      PUSHLOC                               #  SCALAR IN MPAC AS X COMPONENT, PUSHES UP
046137,002413: 00,3234           00006                           EXTEND                                         #  FOR Y AND THEN AGAIN FOR Z.
046138,002414: 00,3235           50000                           INDEX    A                                     
046139,002415: 00,3236           30003                           DCA      2                                     
046140,002416: 00,3237           52160                           DXCH     MPAC       +3                         
046141,002417: 00,3240           00006                           EXTEND                                         
046142,002418: 00,3241           50166                           INDEX    PUSHLOC                               
046143,002419: 00,3242           30001                           DCA      0                                     
046144,002420: 00,3243           52162                           DXCH     MPAC       +5                         
046145,002421: 00,3244           16521                           TCF      VMODE                                 #  MODE IS NON VECTOR.
046146,002422: 
046147,002423: 00,3245           03317        VSQ                TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
046148,002424: 00,3246           17332                           TCF      DMODE                                 #  MODE IS NOW DP.
046149,002425: 
046150,002426: 00,3247           00006        PUSH               EXTEND                                         #  PUSH DOWN MPAC LEAVING IT LOADED.
046151,002427: 00,3250           30155                           DCA      MPAC                                  
046152,002428: 00,3251           50166                           INDEX    PUSHLOC                               #  PUSH DOWN FIRST TWO REGISTERS IN EACH
046153,002429: 00,3252           52001                           DXCH     0                                     
046154,002430: 
046155,002431: 00,3253           50163                           INDEX    MODE                                  #  INCREMENT PUSHDOWN POINTER.
046156,002432: 00,3254           36244                           CAF      NO.WDS                                
046157,002433: 00,3255           26166                           ADS      PUSHLOC                               
046158,002434: 
046159,002435: 00,3256           10163                           CCS      MODE                                  
046160,002436: 00,3257           13272                           TCF      TPUSH                                 #  PUSH DOWN MPAC +2.
046161,002437: 00,3260           16061                           TCF      DANZIG                                #  DONE FOR DP.
046162,002438: 
046163,002439: 00,3261           00006                           EXTEND                                         #  ON VECTOR, PUSH DOWN Y AND Z COMPONENTS.
046164,002440: 00,3262           30160                           DCA      MPAC       +3                         
046165,002441: 00,3263           50166                           INDEX    PUSHLOC                               
046166,002442: 00,3264           51775                           DXCH     0          -4                         
046167,002443: 00,3265           00006                           EXTEND                                         
046168,002444: 00,3266           30162                           DCA      MPAC       +5                         
046169,002445: 00,3267           50166                           INDEX    PUSHLOC                               
046170,002446: 00,3270           51777                           DXCH     0          -2                         
046171,002447: 00,3271           16061                           TCF      DANZIG                                
046172,002448: 
046173,002449: 00,3272           30156        TPUSH              CA       MPAC       +2                         
046174,002450: 00,3273           16554                           TCF      ENDTPUSH   +2                         
046175,002451: 
046176,002452: 00,3274           50120        RVQ                INDEX    FIXLOC                                #  RVQ - RETURN IVA QPRET.
046177,002453: 00,3275           30052                           CA       QPRET                                 
046178,002454: 00,3276           54117                           TS       POLISH                                
046179,002455: 00,3277           16652                           TCF      GOTO       +4                         #  (ASSUME QPRET POINTS TO FIXED ONLY.)
046180,002456: 

Page 1078

046182,002458:                                                                                                  #  THE FOLLOWING SUBROUTINES ARE USED IN SQUARING MPAC, IN BOTH THE SCALAR AND VECTOR SENSE.  THEY ARE
046183,002459:                                                                                                  #  SPECIAL CASES OF DMPSUB AND DOTSUB, PUT IN TO SAVE SOME TIME.
046184,002460: 
046185,002461: 00,3300           30155        DSQSUB             CA       MPAC       +1                         #  SQUARES THE SCALAR CONTENTS OF MPAC.
046186,002462: 00,3301           00006                           EXTEND                                         
046187,002463: 00,3302           70000                           SQUARE                                         
046188,002464: 00,3303           54156                           TS       MPAC       +2                         
046189,002465: 00,3304           34755                           CAF      ZERO                                  #  FORM 2(CROSS TERM).
046190,002466: 00,3305           56155                           XCH      MPAC       +1                         
046191,002467: 00,3306           00006                           EXTEND                                         
046192,002468: 00,3307           70154                           MP       MPAC                                  
046193,002469: 00,3310           20001                           DDOUBL                                         #  AND MAYBE OVERFLOW.
046194,002470: 00,3311           20156                           DAS      MPAC       +1                         #  AND SET A TO NET OVERFLOW.
046195,002471: 00,3312           56154                           XCH      MPAC                                  
046196,002472: 00,3313           00006                           EXTEND                                         
046197,002473: 00,3314           70000                           SQUARE                                         
046198,002474: 00,3315           20155                           DAS      MPAC                                  
046199,002475: 00,3316           00002                           TC       Q                                     
046200,002476: 
046201,002477: 00,3317           00006        VSQSUB             EXTEND                                         #  DOTS THE VECTOR IN MPAC WITH ITSELF.
046202,002478: 00,3320           22137                           QXCH     DOTRET                                
046203,002479: 00,3321           03300                           TC       DSQSUB                                #  SQUARE THE X COMPONENT.
046204,002480: 00,3322           52160                           DXCH     MPAC       +3                         
046205,002481: 00,3323           52155                           DXCH     MPAC                                  
046206,002482: 00,3324           52131                           DXCH     BUF                                   #  SO WE CAN END IN DOTSUB.
046207,002483: 00,3325           30156                           CA       MPAC       +2                         
046208,002484: 00,3326           54132                           TS       BUF        +2                         
046209,002485: 
046210,002486: 00,3327           03300                           TC       DSQSUB                                #  SQUARE Y COMPONENT.
046211,002487: 00,3330           52156                           DXCH     MPAC       +1                         
046212,002488: 00,3331           20132                           DAS      BUF        +1                         
046213,002489: 00,3332           60154                           AD       MPAC                                  
046214,002490: 00,3333           60130                           AD       BUF                                   
046215,002491: 00,3334           54130                           TS       BUF                                   
046216,002492: 00,3335           13337                           TCF      +2                                    
046217,002493: 00,3336           54121                           TS       OVFIND                                #  IF OVERFLOW.
046218,002494: 
046219,002495: 00,3337           52162                           DXCH     MPAC       +5                         
046220,002496: 00,3340           52155                           DXCH     MPAC                                  
046221,002497: 00,3341           03300                           TC       DSQSUB                                #  SQUARE Z COMPONENT.
046222,002498: 00,3342           17205                           TCF      ENDDOT                                #  END AS IN DOTSUB.
046223,002499: 

Page 1079

046225,002501:                                                                                                  #  DOUBLE PRECISION SQUARE ROOT ROUTINE.  TAKE THE SQUARE ROOT OF THE TRIPLE PRECISION (MPAC +2 USED ONLY
046226,002502:                                                                                                  #  IN NORMALIZATION) CONTENTS OF MPAC AND LEAVE THE NORMALIZED RESULT IN MPAC (C(MPAC) GREATER THAN OR EQUAL TO
046227,002503:                                                                                                  #  .5).  THE RIGHT SHIFT COUNT (TO UNNORMALIZE) IS LEFT IN MPTEMP.
046228,002504: 
046229,002505: 00,3343           34755        SQRTSUB            CAF      ZERO                                  #  START BY ZEROING RIGHT SHIFT COUNT.
046230,002506: 00,3344           54135                           TS       MPTEMP                                
046231,002507: 
046232,002508: 00,3345           10154                           CCS      MPAC                                  #  CHECK FOR POSITIVE ARGUMENT, SHIFTING
046233,002509: 00,3346           13405                           TCF      SMPAC+                                #  FIRST SIGNIFICANT MPAC REGISTER INTO
046234,002510: 00,3347           13351                           TCF      +2                                    #  MPAC ITSELF.
046235,002511: 00,3350           13373                           TCF      SQRTNEG                               #  SEE IF MAG OF ARGUMENT LESS THAN 10(-4).
046236,002512: 
046237,002513: 00,3351           56156                           XCH      MPAC       +2                         #  MPAC IS ZERO - SHIFT LEFT 14.
046238,002514: 00,3352           56155                           XCH      MPAC       +1                         
046239,002515: 00,3353           54154                           TS       MPAC                                  
046240,002516: 00,3354           34757                           CAF      SEVEN                                 #  AUGMENT RIGHT SHIFT COUNTER.
046241,002517: 00,3355           54135                           TS       MPTEMP                                
046242,002518: 
046243,002519: 00,3356           10154                           CCS      MPAC                                  #  SEE IF MPAC NOW PNZ.
046244,002520: 00,3357           13405                           TCF      SMPAC+                                
046245,002521: 00,3360           13362                           TCF      +2                                    
046246,002522: 00,3361           13376                           TCF      ZEROANS                               #  NEGATIVE BUT LESS THAN 10(-4) IN MAG.
046247,002523: 
046248,002524: 00,3362           56155                           XCH      MPAC       +1                         #  ZERO - SHIFT LEFT 14 AGAIN.
046249,002525: 00,3363           54154                           TS       MPAC                                  
046250,002526: 00,3364           34757                           CAF      SEVEN                                 #  AUGMENT RIGHT SHIFT COUNTER.
046251,002527: 00,3365           26135                           ADS      MPTEMP                                
046252,002528: 
046253,002529: 00,3366           10154                           CCS      MPAC                                  
046254,002530: 00,3367           13405                           TCF      SMPAC+                                
046255,002531: 00,3370           00002                           TC       Q                                     #  SQRT(0) = 0.
046256,002532: 00,3371           13376                           TCF      ZEROANS                               
046257,002533: 00,3372           13453                           TCF      FIXROOT                               #  DO NOT LEAVE SQRTSUB WITH -0 IN MPAC.
046258,002534: 
046259,002535: 00,3373           10000        SQRTNEG            CCS      A                                     #  ARGUMENT IS NEGATIVE, BUT SEE IF SIGN-
046260,002536: 00,3374           13402                           TCF      SQRTABRT                              #  CORRECTED ARGUMENT IS LESS THAN 10(-4)
046261,002537: 
046262,002538: 00,3375           10155                           CCS      MPAC       +1                         #  IN MAGNITUDE.  IF SO, CALL ANSWER ZERO.
046263,002539: 00,3376           34755        ZEROANS            CAF      ZERO                                  #  FORCE ANSWER TO ZERO HERE.
046264,002540: 00,3377           13453                           TCF      FIXROOT                               
046265,002541: 00,3400           13402                           TCF      SQRTABRT                              
046266,002542: 00,3401           13453                           TCF      FIXROOT                               
046267,002543: 
046268,002544: 00,3402           52165        SQRTABRT           DXCH     LOC                                   
046269,002545: 00,3403           05726                           TC       POODOO1                               
046270,002546: 00,3404           01302                           OCT      1302                                  
046271,002547: 

Page 1080

046273,002549: 00,3405           62444        SMPAC+             AD       -1/2+2                                #  SEE IF ARGUMENT GREATER THAN OR EQUAL TO
046274,002550: 00,3406           00006                           EXTEND                                         #  .5.
046275,002551: 00,3407           63456                           BZMF     SRTEST                                #  IF SO, SEE IF LESS THAN .25.
046276,002552: 
046277,002553: 00,3410           52155                           DXCH     MPAC                                  #  WE WILL TAKE THE SQUARE ROOT OF MPAC/2.
046278,002554: 00,3411           22021                           LXCH     SR                                    #  SHIFT RIGHT 1 AND GO TO THE SQRT ROUTINE
046279,002555: 00,3412           00006                           EXTEND                                         
046280,002556: 00,3413           74736                           MP       HALF                                  
046281,002557: 00,3414           52155                           DXCH     MPAC                                  
046282,002558: 00,3415           56021                           XCH      SR                                    
046283,002559: 00,3416           26155                           ADS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
046284,002560: 
046285,002561: 00,3417           32314        ARGHI              CAF      SLOPEHI                               #  ARGUMENT BETWEEN .25 AND .5. GET A
046286,002562: 00,3420           00006                           EXTEND                                         #  LINEAR APPROXIMATION FOR THIS RANGE.
046287,002563: 00,3421           70154                           MP       MPAC                                  
046288,002564: 00,3422           62566                           AD       BIASHI                                #  X0/2 = (MPAC/2)(SLOPEHI) + BIASHI/2.
046289,002565: 
046290,002566: 00,3423           54130                 +4        TS       BUF                                   #  X0/2 (ARGLO ENTERS HERE).
046291,002567: 00,3424           30154                           CA       MPAC                                  #  SINGLE-PRECISION THROUGHOUT.
046292,002568: 00,3425           22007                           ZL                                             
046293,002569: 00,3426           00006                           EXTEND                                         
046294,002570: 00,3427           10130                           DV       BUF                                   #  (MPAC/2)/(X0/2)
046295,002571: 00,3430           00006                           EXTEND                                         
046296,002572: 00,3431           74736                           MP       HALF                                  
046297,002573: 00,3432           26130                           ADS      BUF                                   #  X1 = X0/2 + .5(MPAC/2)/(X0/2).
046298,002574: 
046299,002575: 00,3433           00006                           EXTEND                                         
046300,002576: 00,3434           74736                           MP       HALF                                  #  FORM UP X1/2.
046301,002577: 00,3435           52155                           DXCH     MPAC                                  #  SAVE AND BRING OUT ARGUMENT.
046302,002578: 00,3436           00006                           EXTEND                                         #  TAKE DP QUOTIENT WITH X1.
046303,002579: 00,3437           10130                           DV       BUF                                   
046304,002580: 00,3440           54131                           TS       BUF        +1                         #  SAVE MAJOR PART OF QUOTIENT.
046305,002581: 00,3441           34755                           CAF      ZERO                                  #  FORM MINOR PART OF QUOTIENT USING
046306,002582: 00,3442           56001                           XCH      L                                     #  (REMAINDER,0).
046307,002583: 00,3443           00006                           EXTEND                                         
046308,002584: 00,3444           10130                           DV       BUF                                   
046309,002585: 00,3445           54001                           TS       L                                     #  IN PREPARATION FOR DAS.
046310,002586: 00,3446           30131                           CA       BUF        +1                         
046311,002587: 00,3447           20155                           DAS      MPAC                                  #  X2 = X1/2 + (MPAC/2)X1
046312,002588: 
046313,002589: 00,3450           00006                           EXTEND                                         #  OVERFLOWS IF ARG. NEAR POSMAX.
046314,002590: 00,3451           13455                           BZF      TCQBNK00                              
046315,002591: 00,3452           34733                           CAF      POSMAX                                
046316,002592: 00,3453           54154        FIXROOT            TS       MPAC                                  
046317,002593: 00,3454           54155                           TS       MPAC       +1                         
046318,002594: 00,3455           00002        TCQBNK00           TC       Q                                     #  RETURN TO CALLER TO UNNORMALIZE, ETC.
046319,002595: 

Page 1081

046321,002597: 00,3456           64737        SRTEST             AD       QUARTER                               #  ARGUMENT WAS LESS THAN .5, SEE IF LESS
046322,002598: 00,3457           00006                           EXTEND                                         #  THAN .25.
046323,002599: 00,3460           63502                           BZMF     SQRTNORM                              #  IF SO, BEGIN NORMALIZATION.
046324,002600: 
046325,002601: 00,3461           52155                           DXCH     MPAC                                  #  IF BETWEEN .5 AND .25, SHIFT RIGHT 1 AND
046326,002602: 00,3462           22021                           LXCH     SR                                    #  START AT ARGLO.
046327,002603: 00,3463           00006                           EXTEND                                         
046328,002604: 00,3464           74736                           MP       HALF                                  
046329,002605: 00,3465           52155                           DXCH     MPAC                                  
046330,002606: 00,3466           56021                           XCH      SR                                    
046331,002607: 00,3467           26155                           ADS      MPAC       +1                         #  NO OVERFLOW.
046332,002608: 
046333,002609: 00,3470           33007        ARGLO              CAF      SLOPELO                               #  (NORMALIZED) ARGUMENT BETWEEN .125 AND
046334,002610: 00,3471           00006                           EXTEND                                         #  .25
046335,002611: 00,3472           70154                           MP       MPAC                                  
046336,002612: 00,3473           62270                           AD       BIASLO                                
046337,002613: 00,3474           13423                           TCF      ARGHI      +4                         #  BEGIN SQUARE ROOT.
046338,002614: 
046339,002615: 00,3475           00006        SQRTNM2            EXTEND                                         #  SHIFT LEFT 2 AND INCREMENT RIGHT SHIFT
046340,002616: 00,3476           30156                           DCA      MPAC       +1                         #  COUNT (FOR TERMINAL UNNORMALIZATION).
046341,002617: 00,3477           20156                           DAS      MPAC       +1                         
046342,002618: 00,3500           60154                           AD       MPAC                                  
046343,002619: 00,3501           26154                           ADS      MPAC                                  #  (NO OVERFLOW).
046344,002620: 
046345,002621: 00,3502           24135        SQRTNORM           INCR     MPTEMP                                #  FIRST TIME THROUGH, JUST SHIFT LEFT 1
046346,002622: 00,3503           00006                           EXTEND                                         #  (PUTS IN EFFECTIVE RIGHT SHIFT SINCE
046347,002623: 00,3504           30156                           DCA      MPAC       +1                         #  WE WANT MPAC/2).
046348,002624: 00,3505           20156                           DAS      MPAC       +1                         
046349,002625: 00,3506           60154                           AD       MPAC                                  
046350,002626: 00,3507           26154                           ADS      MPAC                                  #  (AGAIN NO OVERFLOW).
046351,002627: 00,3510           60000                           DOUBLE                                         
046352,002628: 00,3511           54022                           TS       CYL                                   
046353,002629: 
046354,002630: 00,3512           10022        NORMTEST           CCS      CYL                                   #  SEE IF ARGUMENT NOW NORMALIZED AT
046355,002631: 00,3513           10022                           CCS      CYL                                   #  GREATER THAN .125.
046356,002632: 00,3514           13475                           TCF      SQRTNM2                               #  NO - SHIFT LEFT 2 MORE AND TRY AGAIN.
046357,002633: 00,3515           13417                           TCF      ARGHI                                 #  YES - NOW BETWEEN .5 AND .25.
046358,002634: 00,3516           13470                           TCF      ARGLO                                 #  ARGUMENT NOW BETWEEN .25 AND .125.
046359,002635: 

Page 1082

046361,002637:                                                                                                  #  TRIGONOMETRIC FUNCTION PACKAGE.
046362,002638:                                                                                                  #        THE FOLLOWING TRIGONOMETRIC FUNCTIONS ARE AVAILABLE AS INTERPRETIVE OPERATIONS:
046363,002639:                                                                                                  #        1.      SIN             COMPUTES (1/2)SINE(2 PI MPAC).
046364,002640:                                                                                                  #        2.      COS             COMPUTES (1/2)COSINE(2 PI MPAC).
046365,002641:                                                                                                  #        3.      ASIN            COMPUTES (1/2PI)ARCSINE(2 MPAC).
046366,002642:                                                                                                  #        4.      ACOS            COMPUTES (1/2PI)ARCCOSINE(2 MPAC).
046367,002643: 
046368,002644:                                                                                                  #  SIN-ASIN AND COS-ACOS ARE MUTUALLY INVERSE, IE SIN(ASIN(X)) = X.
046369,002645: 
046370,002646: 00,3517           06723        COSINE             TC       BRANCH                                #  FINDS COSINE USING THE IDENTITY
046371,002647: 00,3520           13523                           TCF      +3                                    #  COS(X) = SIN(PI/2 - ABS(X)).
046372,002648: 00,3521           13526                           TCF      PRESINE                               
046373,002649: 00,3522           13526                           TCF      PRESINE                               
046374,002650: 
046375,002651: 00,3523           00006                 +3        EXTEND                                         
046376,002652: 00,3524           40155                           DCS      MPAC                                  
046377,002653: 00,3525           52155                           DXCH     MPAC                                  
046378,002654: 
046379,002655: 00,3526           34737        PRESINE            CAF      QUARTER                               #  PI/2 SCALED.
046380,002656: 00,3527           26154                           ADS      MPAC                                  
046381,002657: 
046382,002658: 00,3530           52155        SINE               DXCH     MPAC                                  #  DOUBLE ARGUMENT.
046383,002659: 00,3531           20001                           DDOUBL                                         
046384,002660: 00,3532           54000                           OVSK                                           #  SEE IF OVERFLOW PRESENT.
046385,002661: 00,3533           13536                           TCF      +3                                    #  IF NOT, ARGUMENT OK AS IS.
046386,002662: 
046387,002663: 00,3534           00006                           EXTEND                                         #  IF SO, WE LOST (OR GAINED) PI, SO
046388,002664: 00,3535           40001                           DCOM                                           #  COMPLEMENT MPAC USING THE IDENTITY
046389,002665:                                                                                                  #  SIN(X-(+)PI) = SIN(-X).
046390,002666: 00,3536           52155                 +3        DXCH     MPAC                                  
046391,002667: 00,3537           30154                           CA       MPAC                                  #  SEE IF ARGUMENT GREATER THAN .5 IN
046392,002668: 00,3540           60000                           DOUBLE                                         #  MAGNITUDE.  IF SO, REDUCE IT TO LESS THAN
046393,002669: 00,3541           54001                           TS       L                                     #  .5 (+-PI/2 SCALED) AS FOLLOWS:
046394,002670: 00,3542           13553                           TCF      SN1                                   
046395,002671: 
046396,002672: 00,3543           50000                           INDEX    A                                     #  IF POSITIVE, FORM PI - X, IF NEGATIVE
046397,002673: 00,3544           34735                           CAF      NEG1/2     +1                         #  USE -PI -X.
046398,002674: 00,3545           60000                           DOUBLE                                         
046399,002675: 00,3546           00006                           EXTEND                                         
046400,002676: 00,3547           60154                           SU       MPAC                                  #  GUARANTEED NO OVERFLOW.
046401,002677: 00,3550           54154                           TS       MPAC                                  
046402,002678: 00,3551           40155                           CS       MPAC       +1                         
046403,002679: 00,3552           54155                           TS       MPAC       +1                         
046404,002680: 

Page 1083

046406,002682: 00,3553           00006        SN1                EXTEND                                         #  SET UP TO EVALUATE HASTINGS POLYNOMIAL
046407,002683: 00,3554           30155                           DCA      MPAC                                  
046408,002684: 00,3555           52134                           DXCH     BUF2                                  
046409,002685: 00,3556           03300                           TC       DSQSUB                                #  SQUARE MPAC.
046410,002686: 
046411,002687: 00,3557           07222                           TC       POLY                                  #  EVALUATE FOURTH ORDER POLYNOMIAL.
046412,002688: 00,3560           00003                           DEC      3          B-14                       
046413,002689: 00,3561           14441 37325                     2DEC     +.3926990796                            
046414,002690: 
046415,002691: 00,3563           53250 60764                     2DEC     -.6459637111                            
046416,002692: 
046417,002693: 00,3565           12146 21276                     2DEC     +.318758717                            
046418,002694: 
046419,002695: 00,3567           75466 71471                     2DEC     -.074780249                            
046420,002696: 
046421,002697: 00,3571           00236 32757                     2DEC     +.009694988                            
046422,002698: 
046423,002699: 00,3573           32470                           CAF      LBUF2                                 #  MULTIPLY BY ARGUMENT AND SHIFT LEFT 2.
046424,002700: 00,3574           07106                           TC       DMPSUB     -1                         
046425,002701: 
046426,002702: 00,3575           00006                           EXTEND                                         
046427,002703: 00,3576           30156                           DCA      MPAC       +1                         
046428,002704: 00,3577           20156                           DAS      MPAC       +1                         
046429,002705: 00,3600           60154                           AD       MPAC                                  
046430,002706: 00,3601           26154                           ADS      MPAC                                  #  NEITHER SHIFT OVERFLOWS.
046431,002707: 00,3602           00006                           EXTEND                                         
046432,002708: 00,3603           30156                           DCA      MPAC       +1                         
046433,002709: 00,3604           20156                           DAS      MPAC       +1                         
046434,002710: 00,3605           60154                           AD       MPAC                                  
046435,002711: 00,3606           26154                           ADS      MPAC                                  
046436,002712: 00,3607           16061                           TCF      DANZIG                                
046437,002713: 

Page 1084

046439,002715:                                                                                                  #  ARCSIN/ARCCOS ROUTINE.
046440,002716: 
046441,002717: 00,3610           33631        ARCSIN             CAF      LASINEX                               #  COMPUTE ARCSIN BY USING THE IDENTITY
046442,002718: 00,3611           13613                           TCF      +2                                    #  ARCSIN(X) = PI/2 - ARCCOS(X).
046443,002719: 
046444,002720: 00,3612           33713        ARCCOS             CAF      LDANZIG                               #  (EXITS IMMEDIATELY).
046445,002721: 00,3613           54136                           TS       ESCAPE                                
046446,002722: 00,3614           06723                           TC       BRANCH                                #  TEST SIGN OF INPUT.
046447,002723: 00,3615           13625                           TCF      ACOSST                                #  START IMMEDIATELY IF POSITIVE.
046448,002724: 00,3616           13731                           TCF      ACOSZERO                              #  ARCCOS(0) = PI/2 = .25.
046449,002725: 00,3617           00006                           EXTEND                                         #  IF NEGATIVE, USE THE IDENTITY
046450,002726: 00,3620           40155                           DCS      MPAC                                  #  ARCCOS(X) = PI - ARCCOS(-X), FORCING
046451,002727: 00,3621           52155                           DXCH     MPAC                                  #  ARGUMENT POSITIVE.
046452,002728: 00,3622           33734                           CAF      TCSUBTR                               #  SET EXIT TO DO ABOVE BEFORE
046453,002729: 00,3623           56136                           XCH      ESCAPE                                #  ARCSIN/ARCCOS CONSIDERATIONS.
046454,002730: 00,3624           54137                           TS       ESCAPE2                               
046455,002731: 
046456,002732: 00,3625           44736        ACOSST             CS       HALF                                  #  TEST MAGNITUDE OF INPUT.
046457,002733: 00,3626           60154                           AD       MPAC                                  
046458,002734: 00,3627           10000                           CCS      A                                     
046459,002735: 00,3630           13721                           TCF      ACOSOVF                               #  THIS IS PROBABLY AN OVERFLOW CASE.
046460,002736: 
046461,002737: 00,3631           13707        LASINEX            TCF      ASINEX                                
046462,002738: 
046463,002739: 00,3632           13642                           TCF      ACOSST2                               #  NO OVERFLOW - PROCEED.
046464,002740: 
046465,002741: 00,3633           10155                           CCS      MPAC       +1                         #  IF MAJOR PART IS .5, CALL ANSWER 0
046466,002742: 00,3634           34755                           CAF      ZERO                                  #  UNLESS MINOR PART NEGATIVE.
046467,002743: 00,3635           13637                           TCF      ACOS=0                                
046468,002744: 
046469,002745: 00,3636           13642                           TCF      ACOSST2                               
046470,002746: 
046471,002747: 00,3637           54155        ACOS=0             TS       MPAC       +1                         
046472,002748: 00,3640           54154                           TS       MPAC                                  
046473,002749: 00,3641           00136                           TC       ESCAPE                                
046474,002750: 
046475,002751: 00,3642           00006        ACOSST2            EXTEND                                         #  NOW THAT ARGUMENT IS IN PROPER RANGE,
046476,002752: 00,3643           40155                           DCS      MPAC                                  #  BEGIN COMPUTATION.  USE HASTINGS
046477,002753: 00,3644           64736                           AD       HALF                                  #  APPROXIMATION ARCCOS(X) = SQRT(1-X)P(X)
046478,002754: 00,3645           52155                           DXCH     MPAC                                  #  IN A SCALED VERSION WHERE P(X) IS A
046479,002755: 00,3646           52134                           DXCH     BUF2                                  #  SEVENTH ORDER POLYNOMIAL.
046480,002756: 
046481,002757: 00,3647           03343                           TC       SQRTSUB                               #  RETURNS WITH NORMALIZED SQUARE ROOT.
046482,002758: 
046483,002759: 00,3650           10135                           CCS      MPTEMP                                #  SEE IF UN-NORMALIZATION REQUIRED.
046484,002760: 00,3651           13714                           TCF      ACOSSHR                               #  IF SO.
046485,002761: 

Page 1085

046487,002763: 00,3652           52155        ACOS3              DXCH     MPAC                                  #  SET UP FOR POLYNOMIAL EVALUATION.
046488,002764: 00,3653           52134                           DXCH     BUF2                                  
046489,002765: 00,3654           52155                           DXCH     MPAC                                  
046490,002766: 
046491,002767: 00,3655           07222                           TC       POLY                                  
046492,002768: 00,3656           00006                           DEC      6          B-14                       
046493,002769: 00,3657           13240 23630                     2DEC     +.353553385                            #  COEFFICIENTS ARE C 2(+I)/PISQRT(2) WHERE
046494,002770: 
046495,002771: 00,3661           74721 47775                     2DEC*    -.0483017006 B+1*                       #  I
046496,002772: 
046497,002773: 00,3663           02440 20237                     2DEC*    +.0200273085 B+2*                       #  WHERE C STANDS FOR ORIGINAL COEFFS.
046498,002774: 
046499,002775: 00,3665           75067 70742                     2DEC*    -.0112931863 B+3*                       
046500,002776: 
046501,002777: 00,3667           03436 26756                     2DEC*    +.00695311612 B+4*                       
046502,002778: 
046503,002779: 00,3671           74037 57640                     2DEC*    -.00384617957 B+5*                       
046504,002780: 
046505,002781: 00,3673           03046 07143                     2DEC*    +.001501297736 B+6*                       
046506,002782: 
046507,002783: 00,3675           76654 42244                     2DEC*    -.000284160334 B+7*                       
046508,002784: 
046509,002785: 
046510,002786: 00,3677           32470                           CAF      LBUF2                                 #  DO FINAL MULTIPLY AND GO TO ANY
046511,002787: 00,3700           07106                           TC       DMPSUB     -1                         #  EPILOGUE SEQUENCES.
046512,002788: 00,3701           00136                           TC       ESCAPE                                
046513,002789: 
046514,002790: 00,3702           00006        SUBTR              EXTEND                                         #  EPILOGUE FOR NEGATIVE INPUTS TO ARCCOS.
046515,002791: 00,3703           40155                           DCS      MPAC                                  
046516,002792: 00,3704           64736                           AD       HALF                                  #  FORMS PI - ARCCOS(-X) = ARCCOS(X).
046517,002793: 00,3705           52155                           DXCH     MPAC                                  
046518,002794: 00,3706           00137                           TC       ESCAPE2                               #  GO TO POSSIBLE ARCSIN EPILOGUE.
046519,002795: 
046520,002796: 00,3707           00006        ASINEX             EXTEND                                         
046521,002797: 00,3710           40155                           DCS      MPAC                                  #  ARCSIN EPILOGUE - GET ARCSIN(X)
046522,002798: 00,3711           64737                           AD       QUARTER                               #  = PI/2 - ARCCOS(X).
046523,002799: 00,3712           52155                           DXCH     MPAC                                  
046524,002800: 00,3713           16061        LDANZIG            TCF      DANZIG                                
046525,002801: 

Page 1086

046527,002803: 00,3714           50000        ACOSSHR            INDEX    A                                     #  THE SHIFT RIGHT IS LESS THAN 14 SINCE
046528,002804: 00,3715           34736                           CAF      BIT14                                 #  THE INPUT WAS NON-ZERO DP.
046529,002805: 00,3716           54135                           TS       MPTEMP                                
046530,002806: 00,3717           02073                           TC       VSHRRND                               #  DP SHIFT RIGHT AND ROUND.
046531,002807: 00,3720           13652                           TCF      ACOS3                                 #  PROCEED.
046532,002808: 
046533,002809: 00,3721           00006        ACOSOVF            EXTEND                                         #  IF MAJOR PART WAS ONLY 1 MORE THAN .5,
046534,002810: 00,3722           13637                           BZF      ACOS=0                                #  CALL ANSWER ZERO.
046535,002811: 
046536,002812: 00,3723           00006        ACOSABRT           EXTEND                                         #  IF OVERFLOW, CALL ANSWER ZERO BUT
046537,002813: 00,3724           30165                           DCA      LOC                                   #  SOUND AN ALARM.
046538,002814: 00,3725           05732                           TC       ALARM1                                
046539,002815: 00,3726           01301                           OCT      1301                                  
046540,002816: 
046541,002817: 00,3727           34755                           CAF      ZERO                                  
046542,002818: 00,3730           13637                           TCF      ACOS=0                                
046543,002819: 
046544,002820: 00,3731           34737        ACOSZERO           CAF      QUARTER                               #  ACOS(0) = PI/2.
046545,002821: 00,3732           13640                           TCF      ACOS=0     +1                         #  SET MPAC AND EXIT VIA ESCAPE.
046546,002822: 
046547,002823: 00,3733           77763        NEG12              DEC      -12        B-14                       
046548,002824: 00,3734           13702        TCSUBTR            TCF      SUBTR                                 
046549,002825: 

Page 1087

046551,002827:                                                                                                  #  THE FOLLOWING INSTRUCTIONS ARE AVAILABLE FOR SETTING, MODIFYING, AND BRANCHING ON INDEX REGISTERS:
046552,002828:                                                                                                  #        1.      AXT     ADDRESS TO INDEX TRUE.
046553,002829:                                                                                                  #        1.      AXC     ADDRESS TO INDEX COMPLEMENTED.
046554,002830:                                                                                                  #        3.      LXA     LOAD INDEX FROM ERASABLE.
046555,002831:                                                                                                  #        4.      LXC     LOAD INDEX COMPLEMENTED FROM ERASABLE.
046556,002832:                                                                                                  #        5.      SXA     STORE INDEX IN ERASABLE.
046557,002833:                                                                                                  #        6.      XCHX    EXCHANGE INDEX REIGSTER WITH ERASABLE.
046558,002834: 
046559,002835:                                                                                                  #        7.      INCR    INCREMENT INDEX REGISTER.
046560,002836:                                                                                                  #        8.      XAD     ERASABLE ADD TO INDEX REGISTER.
046561,002837:                                                                                                  #        9.      XSU     ERASABLE SUBTRACT FROM INDEX REGISTER.
046562,002838:                                                                                                  #        10.     TIX     BRANCH ON INDEX REGISTER AND DECREMENT.
046563,002839: 
046564,002840: 01,2344                                           BANK     01                                    
046565,002841: 
046566,002842: 01,2344                                           COUNT*   $$/INTER                              
046567,002843: 01,2344           02441        AXT                TC       TAGSUB                                #  SELECT APPROPRIATE INDEX REGISTER.
046568,002844: 01,2345           30117                           CA       POLISH                                
046569,002845: 01,2346           50130        XSTORE             INDEX    INDEXLOC                              #  CONTAINS C(FIXLOC) OR C(FIXLOC)+1.
046570,002846: 01,2347           54046                           TS       X1                                    
046571,002847: 01,2350           16061                           TCF      DANZIG                                
046572,002848: 
046573,002849: 01,2351           02441        AXC                TC       TAGSUB                                
046574,002850: 01,2352           40117                           CS       POLISH                                
046575,002851: 01,2353           02346                           TC       XSTORE                                
046576,002852: 
046577,002853: 01,2354           02427        LXA                TC       15ADRERS                              #  LOAD INDEX REGISTER FROM ERASABLE.
046578,002854: 01,2355           50117                           INDEX    POLISH                                
046579,002855: 01,2356           30000                           CA       0                                     
046580,002856: 01,2357           12346                           TCF      XSTORE                                
046581,002857: 
046582,002858: 01,2360           02427        LXC                TC       15ADRERS                              #  LOAD NDX REG FROM ERASABLE COMPLEMENTED.
046583,002859: 01,2361           50117                           INDEX    POLISH                                
046584,002860: 01,2362           40000                           CS       0                                     
046585,002861: 01,2363           12346                           TCF      XSTORE                                
046586,002862: 
046587,002863: 01,2364           02427        SXA                TC       15ADRERS                              #  STORE INDEX REGISTER IN ERASABLE.
046588,002864: 01,2365           50130                           INDEX    INDEXLOC                              
046589,002865: 01,2366           30046                           CA       X1                                    
046590,002866: 01,2367           50117        MSTORE1            INDEX    POLISH                                
046591,002867: 01,2370           54000                           TS       0                                     
046592,002868: 01,2371           16061                           TCF      DANZIG                                
046593,002869: 

Page 1088

046595,002871: 01,2372           02427        XCHX               TC       15ADRERS                              #  EXCHANGE INDEX REGISTER WITH ERASABLE.
046596,002872: 01,2373           50117                           INDEX    POLISH                                
046597,002873: 01,2374           30000                           CA       0                                     
046598,002874: 01,2375           50130                           INDEX    INDEXLOC                              
046599,002875: 01,2376           56046                           XCH      X1                                    
046600,002876: 01,2377           12367                           TCF      MSTORE1                               
046601,002877: 
046602,002878: 01,2400           02427        XAD                TC       15ADRERS                              #  ADD ERASABLE TO INDEX REGISTER.
046603,002879: 01,2401           50117                           INDEX    POLISH                                
046604,002880: 01,2402           30000                           CA       0                                     
046605,002881: 01,2403           50130        XAD2               INDEX    INDEXLOC                              
046606,002882: 01,2404           26046                           ADS      X1                                    #  IGNORING OVERFLOWS.
046607,002883: 01,2405           16061                           TCF      DANZIG                                
046608,002884: 
046609,002885: 01,2406           02441        INCR               TC       TAGSUB                                #  INCREMENT INDEX REGISTER.
046610,002886: 01,2407           30117                           CA       POLISH                                
046611,002887: 01,2410           12403                           TCF      XAD2                                  
046612,002888: 
046613,002889: 01,2411           02427        XSU                TC       15ADRERS                              #  SUBTRACT ERASABLE FROM INDEX REGISTER.
046614,002890: 01,2412           50117                           INDEX    POLISH                                
046615,002891: 01,2413           40000                           CS       0                                     
046616,002892: 01,2414           12403                           TCF      XAD2                                  
046617,002893: 
046618,002894: 01,2415           02441        TIX                TC       TAGSUB                                #  BRANCH AND DECREMENT ON INDEX.
046619,002895: 01,2416           50130                           INDEX    INDEXLOC                              
046620,002896: 01,2417           40050                           CS       S1                                    
046621,002897: 01,2420           50130                           INDEX    INDEXLOC                              
046622,002898: 01,2421           60046                           AD       X1                                    
046623,002899: 01,2422           00006                           EXTEND                                         #  NO OPERATION IF DECREMENTED INDEX IS
046624,002900: 01,2423           66061                           BZMF     DANZIG                                #  NEGATIVE OR ZERO.
046625,002901: 
046626,002902: 01,2424           50130        DOTIXBR            INDEX    INDEXLOC                              
046627,002903: 01,2425           56046                           XCH      X1                                    #  IGNORING OVERFLOWS.
046628,002904: 
046629,002905: 01,2426           16646                           TCF      GOTO                                  #  DO THE BRANCH USING THE CADR IN POLISH.
046630,002906: 

Page 1089

046632,002908:                                                                                                  #  SUBROUTINE TO CONVERT AN ERASABLE ADDRESS (11 BITS) TO AN EBANK SETTING AND SUBADDRESS.
046633,002909: 
046634,002910: 01,2427           40117        15ADRERS           CS       POLISH                                
046635,002911: 01,2430           64772                           AD       DEC45                                 
046636,002912: 01,2431           10000                           CCS      A                                     #  DOES THE ADDRESS POINT TO THE WORK AREA?
046637,002913: 01,2432           30120                           CA       FIXLOC                                #  YES.  ADD FIXLOC.  EBANK OK AS IS.
046638,002914: 01,2433           12440                           TCF      +5                                    
046639,002915: 
046640,002916: 01,2434           35007                           CA       OCT1400                               #  NO. SET EBANK & MAKE UP SUBADDRESS.
046641,002917: 01,2435           56117                           XCH      POLISH                                
046642,002918: 01,2436           54003                           TS       EBANK                                 
046643,002919: 01,2437           74357                           MASK     LOW8                                  
046644,002920: 01,2440           26117                 +5        ADS      POLISH                                #  FALL INTO TAGSUB, AND RETURN VIA Q.
046645,002921: 
046646,002922:                                                                                                  #  SUBROUTINE WHICH SETS THE ADDRESS OF THE SPECIFIED INDEX IN INDEXLOC.  (ACTUALLY, THE ADDRESS -38D.)
046647,002923: 
046648,002924: 01,2441           30120        TAGSUB             CA       FIXLOC                                
046649,002925: 01,2442           54130                           TS       INDEXLOC                              
046650,002926: 
046651,002927: 01,2443           10020                           CCS      CYR                                   #  BIT 15 SPECIFIES INDEX.
046652,002928: 01,2444           24130                           INCR     INDEXLOC                              #  0 MEANS USE X2.
046653,002929: 01,2445           00002                           TC       Q                                     
046654,002930: 01,2446           00002                           TC       Q                                     #  1 FOR X1.
046655,002931: 

Page 1090

046657,002933:                                                                                                  #  MISCELLANEOUS OPERATION CODES WITH DIRECT ADDRESSES.  INCLUDED HERE ARE:
046658,002934:                                                                                                  #        1.      ITA     STORE QPRET (RETURN ADDRESS) IN ERASABLE.
046659,002935:                                                                                                  #        2.      CALL    CALL A SUBROUTINE, LEAVING RETURN IN QPRET.
046660,002936:                                                                                                  #        3.      RTB     RETURN TO BASIC LANGUAGE AT THE GIVEN ADDRESS.
046661,002937:                                                                                                  #        4.      BHIZ    BRANCH IF THE HIGH ORDER OF MPAC IS ZERO (SINGLE PRECISION).
046662,002938:                                                                                                  #        5.      BOV     BRANCH ON OVERFLOW.
046663,002939:                                                                                                  #        6.      GOTO    SIMPLE SEQUENCE CHANGE.
046664,002940: 
046665,002941: 01,2447           10020        RTB/BHIZ           CCS      CYR                                   
046666,002942: 01,2450           30117        RTB                CA       POLISH                                
046667,002943: 01,2451           04621                           TC       SWCALL     -1                         #  SO A "TC Q" FROM ROUTINE LEADS TO DANZIG
046668,002944: 
046669,002945: 01,2452           10154        BHIZ               CCS      MPAC                                  
046670,002946: 01,2453           16061                           TCF      DANZIG                                
046671,002947: 01,2454           16646                           TCF      GOTO                                  
046672,002948: 01,2455           16061                           TCF      DANZIG                                
046673,002949: 01,2456           16646                           TCF      GOTO                                  
046674,002950: 
046675,002951: 01,2457           10121        BOV(B)             CCS      OVFIND                                #  BRANCH ON OVERFLOW TO BASIC OR INTERP.
046676,002952: 01,2460           12462                           TCF      +2                                    
046677,002953: 01,2461           16061                           TCF      DANZIG                                
046678,002954: 01,2462           54121                           TS       OVFIND                                
046679,002955: 01,2463           10020                           CCS      CYR                                   
046680,002956: 01,2464           12450                           TCF      RTB                                   #  IF BASIC.
046681,002957: 01,2465           00360        B5TOB8             OCT      360                                   
046682,002958: 01,2466           16646                           TCF      GOTO                                  
046683,002959: 

Page 1091

046685,002961: 01,2467           10020        BZE/GOTO           CCS      CYR                                   #  SEE WHICH OP-CODE IS DESIRED.
046686,002962: 01,2470           06723                           TC       BRANCH                                #  DO BZE.
046687,002963: 01,2471           16061                           TCF      DANZIG                                
046688,002964: 01,2472           16646                           TCF      GOTO                                  #  DO GOTO.
046689,002965: 01,2473           16061                           TCF      DANZIG                                
046690,002966: 
046691,002967: 01,2474           10020        BPL/BMN            CCS      CYR                                   
046692,002968: 01,2475           12503                           TCF      BPL                                   
046693,002969: 01,2476           12000        5B10               DEC      5          B+10                       #  SHIFTS OP CODE IN SWITCH INSTRUCTION ADR
046694,002970: 
046695,002971: 01,2477           06723                           TC       BRANCH                                #  DO BMN.
046696,002972: 01,2500           16061                           TCF      DANZIG                                
046697,002973: 01,2501           16061                           TCF      DANZIG                                
046698,002974: 01,2502           16646                           TCF      GOTO                                  #  ONLY IF NNZ.
046699,002975: 
046700,002976: 01,2503           06723        BPL                TC       BRANCH                                
046701,002977: 01,2504           16646                           TCF      GOTO                                  #  IF POSITIVE OR ZERO.
046702,002978: 01,2505           16646                           TCF      GOTO                                  
046703,002979: 01,2506           16061                           TCF      DANZIG                                
046704,002980: 
046705,002981: 01,2507           10020        CALL/ITA           CCS      CYR                                   
046706,002982: 01,2510           16640                           TCF      CALL                                  
046707,002983: 
046708,002984: 01,2511           05705                           TC       CCSHOLE                               
046709,002985: 01,2512           02427                           TC       15ADRERS                              #  STORE QPRET.  (TAGSUB AFTER 15ADRERS IS
046710,002986: 01,2513           50120                           INDEX    FIXLOC                                #  SLOW IN THIS CASE, BUT SAVES STORAGE.)
046711,002987: 01,2514           30052                           CA       QPRET                                 
046712,002988: 01,2515           12367                           TCF      MSTORE1                               
046713,002989: 

Page 1092

046715,002991:                                                                                                  #  THE FOLLOWING OPERATIONS ARE AVAILABLE FOR ALTERING AND TESTING INTERPRETIVE SWITCHES:
046716,002992: 
046717,002993:                                                                                                  #        00      BONSET          SET A SWITCH AND DO A GOTO IF IT WAS ON.
046718,002994:                                                                                                  #        01      SETGO           SET A SWITCH AND DO A GOTO.
046719,002995:                                                                                                  #        02      BOFSET          SET A SWITCH AND DOA GOTO IF IT WAS OFF
046720,002996:                                                                                                  #        03      SET             SET A SWITCH.
046721,002997: 
046722,002998:                                                                                                  #        04      BONINV          INVERT A SWITCH AND BRANCH IF IT WAS ON.
046723,002999:                                                                                                  #        05      INVGO           INVERT A SWITCH AND DO A GOTO.
046724,003000:                                                                                                  #        06      BOFINV          INVERT A SWITCH AND BRANCH IF IT WAS OFF
046725,003001:                                                                                                  #        07      INVERT          INVERT A SWITCH.
046726,003002: 
046727,003003:                                                                                                  #        10      BONCLR          CLEAR A SWITCH AND BRANCH IF IT WAS ON.
046728,003004:                                                                                                  #        11      CLRGO           CLEAR A SWITCH AND DO A GOTO.
046729,003005:                                                                                                  #        12      BOFCLR          CLEAR A SWITCH AND BRANCH IF IT WAS OFF.
046730,003006:                                                                                                  #        13      CLEAR           CLEAR A SWITCH.
046731,003007: 
046732,003008:                                                                                                  #        14      BON             BRANCH IF A SWITCH WAS ON.
046733,003009:                                                                                                  #        16      BOFF            BRANCH IF A SWITCH WAS OFF.
046734,003010: 
046735,003011:                                                                                                  #  THE ADDRESS SUPPLIED WITH THE SWITCH INSTRUCTION IS INTERPRETED AS FOLLOWS:
046736,003012: 
046737,003013:                                                                                                  #        BITS 1-4        SWITCH BIT NUMBER (1-15).
046738,003014:                                                                                                  #        BITS 5-8        SWITCH OPERATION NUMBER.
046739,003015:                                                                                                  #        BITS 9-         SWITCH WORD NUMBER (UP TO 64 SWITCH WORDS).
046740,003016: 
046741,003017:                                                                                                  #  THE ADDRESS ITSELF IS MADE UP BY THE YUL SYSTEM ASSEMBLER.  THE BRANCH INSTRUCTIONS REQUIRE TWO
046742,003018:                                                                                                  #  ADDRESSES, THE SECOND TAKEN AS THE DIRECT (OR INDIRECT IF IN ERASABLE) ADDRESS OF THE BRANCH.
046743,003019: 
046744,003020: 01,2516           34762        SWITCHES           CAF      LOW4                                  #  LEAVE THE SWITCH BIT IN SWBIT.
046745,003021: 01,2517           70117                           MASK     POLISH                                
046746,003022: 01,2520           50000                           INDEX    A                                     
046747,003023: 01,2521           34735                           CAF      BIT15                                 #  (NUMBER FROM LEFT TO RIGHT.)
046748,003024: 01,2522           54131                           TS       SWBIT                                 
046749,003025: 
046750,003026: 01,2523           34745                           CAF      BIT7                                  #  LEAVE THE SWITCH NUMBER IN SWWORD.
046751,003027: 01,2524           00006                           EXTEND                                         
046752,003028: 01,2525           70117                           MP       POLISH                                
046753,003029: 01,2526           54130                           TS       SWWORD                                
046754,003030: 
046755,003031: 01,2527           00004                           INHINT                                         #  DURING SWITCH CHANGE SO RUPT CAN USE TOO
046756,003032: 01,2530           50000                           INDEX    A                                     #  LEAVE THE SWITCH WORD ITSELF IN L.
046757,003033: 01,2531           30074                           CA       STATE                                 
046758,003034: 01,2532           54002                           TS       Q                                     #  Q WILL BE USED AS A CHANNEL.

Page 1093

046760,003036: 01,2533           34741                           CAF      BIT11                                 
046761,003037: 01,2534           00006                           EXTEND                                         #  DISPATCH SWITCH BIT OPERATION AS IN BITS
046762,003038: 01,2535           70117                           MP       POLISH                                #  7-8 OF POLISH.
046763,003039: 01,2536           72576                           MASK     B3TOB4                                #  GETS 4X2-BIT CODE.
046764,003040: 01,2537           50000                           INDEX    A                                     
046765,003041: 01,2540           12541                           TCF      +1                                    
046766,003042: 
046767,003043: 01,2541           30131                 +1        CA       SWBIT                                 #  00 - SET SWITCH IN QUESTION.
046768,003044: 01,2542           00006                           EXTEND                                         
046769,003045: 01,2543           04002                           ROR      QCHAN                                 
046770,003046: 01,2544           12553                           TCF      SWSTORE                               
046771,003047: 
046772,003048: 01,2545           30131                 +5        CA       SWBIT                                 #  01 - INVERT SWITCH.
046773,003049: 01,2546           00006                           EXTEND                                         
046774,003050: 01,2547           06002                           RXOR     QCHAN                                 
046775,003051: 01,2550           12553                           TCF      SWSTORE                               
046776,003052: 
046777,003053: 01,2551           40131                 +9D       CS       SWBIT                                 #  10 - CLEAR.
046778,003054: 01,2552           70002                           MASK     Q                                     
046779,003055: 01,2553           50130        SWSTORE            INDEX    SWWORD                                
046780,003056: 01,2554           54074                           TS       STATE                                 #  NEW SWITCH WORD.
046781,003057: 

Page 1094

046783,003059: 01,2555           00003                 +13D      RELINT                                         #  11 - NOOP.
046784,003060: 01,2556           34737                           CAF      BIT13                                 
046785,003061: 01,2557           00006                           EXTEND                                         #  DISPATCH SEQUCE CHANGING OR BRANCHING
046786,003062: 01,2560           70117                           MP       POLISH                                #  CODE.
046787,003063: 01,2561           72576                           MASK     B3TOB4                                
046788,003064: 01,2562           50000                           INDEX    A                                     
046789,003065: 01,2563           12564                           TCF      +1                                    #  ORIGINALLY STORED IN BITS 5-6.
046790,003066: 
046791,003067: 01,2564           40002                 +1        CS       Q                                     #  00 - BRANCH IF ON.
046792,003068: 01,2565           70131        TEST               MASK     SWBIT                                 
046793,003069: 01,2566           10000                           CCS      A                                     
046794,003070: 01,2567           12577                           TCF      SWSKIP                                
046795,003071: 
046796,003072: 01,2570           16715                 +5        TCF      SWBRANCH                              #  01 - GO TO.
046797,003073: 
046798,003074: 01,2571           12577                           TCF      SWSKIP                                #  HERE ONLY ON BIT 15.
046799,003075: 
046800,003076: 01,2572           05705                           TC       CCSHOLE                               
046801,003077: 01,2573           05705                           TC       CCSHOLE                               
046802,003078: 
046803,003079: 01,2574           30002                 +9D       CA       Q                                     #  10 - BRANCH IF OFF.
046804,003080: 01,2575           12565                           TCF      TEST                                  
046805,003081: 
046806,003082: 01,2576           00014        B3TOB4             OCT      0014                                  
046807,003083: 01,2577           24164        SWSKIP             INCR     LOC                                   
046808,003084: 
046809,003085: 01,2600  01,2516               SW/                EQUALS   SWITCHES                              
046810,003086: 
046811,003087: 01,2600           16061                 +13D      TCF      DANZIG                                #  11 - NOOP.
046812,003088: 

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