Source Code

These source-code files were transcribed from scans made from Don Eyles's personal copy of Luminary 069. They were scanned at archive.org's Boston facility, and the scanning was sponsored by Onno Hommes. The code was transcribed from these scans by a team of volunteers who are referenced in the program comments. Comments from the original source code are prefixed with a single '#' symbol, whereas comments added later are prefixed by "##" or "###". In some cases, where similar code blocks exist in previously-transcribed AGC programs (primarily Luminary 99, from Apollo 11) those code blocks were used as a starting point and then corrected to agree with the Luminary 69 scans. The full scans are available at the Virtual AGC project's collection at archive.org, while more-convenient reduced-size (but reduced-quality) images are available at the main Virtual AGC website. Report any errors noted by creating an issue report at the Virtual AGC project's GitHub repository. Notations on the program listing read, in part:

	GAP:  ASSEMBLE REVISION 069 OF AGC PROGRAM LUMINARY BY NASA 2021112-011
	19:02 NOV. 25,1968
Note that the date is the date of the printout, not the date of the program revision.

044111,000002:                                                                                                  ## Copyright:   Public domain.
044112,000003:                                                                                                  ## Filename:    INTERPRETER.agc
044113,000004:                                                                                                  ## Purpose:     The main source file for Luminary revision 069.
044114,000005:                                                                                                  ##              It is part of the source code for the original release
044115,000006:                                                                                                  ##              of the flight software for the Lunar Module's (LM) Apollo
044116,000007:                                                                                                  ##              Guidance Computer (AGC) for Apollo 10. The actual flown
044117,000008:                                                                                                  ##              version was Luminary 69 revision 2, which included a
044118,000009:                                                                                                  ##              newer lunar gravity model and only affected module 2.
044119,000010:                                                                                                  ##              This file is intended to be a faithful transcription, except
044120,000011:                                                                                                  ##              that the code format has been changed to conform to the
044121,000012:                                                                                                  ##              requirements of the yaYUL assembler rather than the
044122,000013:                                                                                                  ##              original YUL assembler.
044123,000014:                                                                                                  ## Reference:   pp. 997-1089
044124,000015:                                                                                                  ## Assembler:   yaYUL
044125,000016:                                                                                                  ## Contact:     Ron Burkey <info@sandroid.org>.
044126,000017:                                                                                                  ## Website:     www.ibiblio.org/apollo/index.html
044127,000018:                                                                                                  ## Mod history: 2016-12-13 MAS  Created from Luminary 99.
044128,000019:                                                                                                  ##              2016-12-18 MAS  Updated from comment-proofed Luminary 99 version.
044129,000020:                                                                                                  ##              2017-01-20 MAS  Updated for Luminary 69.
044130,000021:                                                                                                  ##              2017-01-28 RSB  Proofed comment text using octopus/prooferComments
044131,000022:                                                                                                  ##                              and fixed errors found.
044132,000023:                                                                                                  ##              2017-02-05 RSB  Back-ported comment corrections 
044133,000024:                                                                                                  ##                              identified while proofing Artemis 072.
044134,000025:                                                                                                  ##              2017-03-13 RSB  Comment-text fixes noted in proofing Luminary 116.
044135,000026:                                                                                                  ##              2017-03-15 RSB  Comment-text fixes identified in 5-way
044136,000027:                                                                                                  ##                              side-by-side diff of Luminary 69/99/116/131/210.
044137,000028: 

Page 997

044139,000030:                                                                                                  #  SECTION 1  DISPATCHER
044140,000031: 
044141,000032:                                                                                                  #           ENTRY TO THE INTERPRETER. INTPRET SETS LOC TO THE FIRST  INSTRUCTION, BANKSET TO THE BBANK OF THE
044142,000033:                                                                                                  #  OBJECT INTERPRETIVE PROGRAM, AND INTBIT15 TO THE BIT15 CONTENTS OF FBANK. INTERPRETIVE PROGRAMS MAY BE IN
044143,000034:                                                                                                  #  VIRTUALLY ALL BANKS PRESENT UNDER ANY SUPER-BANK SETTING, WITH THE RESTRICTION THAT PROGRAMS IN HIGH BANKS
044144,000035:                                                                                                  #  (BIT15 OF FBANK = 1) DO NOT REFER TO LOWBANKS, AND VICE-VERSA. THE INTERPRETER DOES NOT SWITCH SUPERBANKS.
044145,000036:                                                                                                  #  E-BANK SWITCHING OCCURS WHENEVER GENERAL ERASABLE (100 - 3777) IS ADDRESSED.
044146,000037: 
044147,000038:    6036                                           BLOCK    03                                    
044148,000039: 
044149,000040:    6036                                           COUNT*   $$/INTER                              
044150,000041:    6036           00003        INTPRET            RELINT                                         
044151,000042:    6037           00006                           EXTEND                                         #  SET LOC TO THE WORD FOLLOWING THE TC.
044152,000043:    6040           22164                           QXCH     LOC                                   
044153,000044: 
044154,000045:    6041           30006                 +2        CA       BBANK                                 #  INTERPRETIVE BRANCHES FINISH HERE.
044155,000046:    6042           54165                           TS       BANKSET                               
044156,000047:    6043           74735                           MASK     BIT15                                 #  GET 15TH BIT FOR INDEXABLE ADDRESSES.
044157,000048:    6044           54115                           TS       INTBIT15                              
044158,000049: 
044159,000050:    6045           54023                           TS       EDOP                                  #  MAKE SURE NO INSTRUCTIONS LEFT OVER
044160,000051: 
044161,000052:    6046           16067                           TCF      NEWOPS                                #  PICK UP OP CODE PAIR AND BEGIN.
044162,000053: 
044163,000054: 
044164,000055:    6047           22006        INTRSM             LXCH     BBANK                                 #  RESUME SUSPENDED INTERPRETIVE JOB
044165,000056:    6050           16041                           TCF      INTPRET    +3                         
044166,000057:                                                                                                  #           DLOAD LOADS MPAC, MPAC +1, LEAVING ZERO IN MPAC +2.
044167,000058: 
044168,000059:    6051           00006        DLOAD              EXTEND                                         
044169,000060:    6052           50116                           INDEX    ADDRWD                                
044170,000061:    6053           30001                           DCA      0                                     #  LOAD DP C(C(ADDRWD)) INTO MPAC,MPAX +1
044171,000062:    6054           52155        SLOAD2             DXCH     MPAC                                  
044172,000063:    6055           34755                           CAF      ZERO                                  #  ZERO MPAC +2
044173,000064: 

Page 998

044175,000066:                                                                                                  #           AT THE END OF MOST INSTRUCTIONS, CONTROL IS GIVEN TO DANZIG TO DISPATCH THE NEXT OPERATION.
044176,000067: 
044177,000068:    6056           54156                           TS       MPAC       +2                         #  AND DECLARE DP MODE
044178,000069: 
044179,000070:    6057           54163        NEWMODE            TS       MODE                                  #  PROLOGUE FOR MODE-CHANGING INSTRUCTIONS.
044180,000071: 
044181,000072:    6060           30165        DANZIG             CA       BANKSET                               #  SET BBANK BEFORE TESTING NEWJOB SO THAT
044182,000073:    6061           54006                           TS       BBANK                                 #  IT MAY BE SAVED DIRECTLY BY CHANJOB.
044183,000074: 
044184,000075:    6062           10023        NOIBNKSW           CCS      EDOP                                  #  SEE IF AN ORDER CODE IS LEFT OVER FROM
044185,000076:    6063           16076                           TCF      OPJUMP                                #  THE LAST PAIR RETRIEVED. IF SO, EXECUTE.
044186,000077:                                                                                                  #  EDOP IS SET TO ZERO ON ITS RE-EDITING.
044187,000078: 
044188,000079:    6064           10067                           CCS      NEWJOB                                #  SEE IF A JOB OF HIGHER PRIORITY IS
044189,000080:    6065           15126                           TCF      CHANG2                                #  PRESENT, AND IF SO, CHANGE JOBS.
044190,000081: 
044191,000082:    6066           24164                           INCR     LOC                                   #  ADVANCE THE LOCATION COUNTER.
044192,000083:                                                                                                  #           ITRACE (1) REFERS TO "NEWOPS".
044193,000084:    6067           50164        NEWOPS             INDEX    LOC                                   #  ENTRY TO BEGIN BY PICKING OP CODE PAIR.
044194,000085:    6070           30000                           CA       0                                     #  MAY BE AN OPCODE PAIR OR A STORE CODE.
044195,000086:    6071           10000                           CCS      A                                     #  TEST SIGN AND GET DABS(A).
044196,000087:    6072           16361                           TCF      DOSTORE                               #  PROCESS STORE CODE.
044197,000088: 
044198,000089:    6073           00177        LOW7               OCT      177                                   
044199,000090: 
044200,000091:    6074           54023                           TS       EDOP                                  #  OP CODE PAIR. LEAVE THE OTHER IN EDOP
044201,000092:    6075           76073                           MASK     LOW7                                  #  WHERE  CCS EDOP  WILL HONOR IT NEXT.
044202,000093: 
044203,000094:    6076           54020        OPJUMP             TS       CYR                                   #  LOWWD ENTERS HERE IF A RIGHT-HAND OP
044204,000095:    6077           10020                           CCS      CYR                                   #  CODE IS TO BE PROCESSED. TEST PREFICES.
044205,000096:    6100           16246                           TCF      OPJUMP2                               #  TEST SECOND PREFIX BIT.
044206,000097: 
044207,000098:    6101           16742                           TCF      EXIT                                  #  +0 OP CODE IS EXIT.
044208,000099: 

Page 999

044210,000101:                                                                                                  #           PROCESS ADDRESSES WHICH MAY BE DIRECT, INDEXED, OR REFERENCE THE PUSHDOWN LIST.
044211,000102: 
044212,000103:    6102           74753        ADDRESS            MASK     BIT1                                  #  SEE IF ADDRESS IS INDEXED. CYR CONTAINED
044213,000104:    6103           10000                           CCS      A                                     #  400XX, SO BIT 1 IS NOW AS IT WAS IN CYR.
044214,000105:    6104           16145                           TCF      INDEX                                 #  FORM INDEXED ADDRESS.
044215,000106: 
044216,000107:    6105           50164        DIRADRES           INDEX    LOC                                   #  LOOK AHEAD TO NEXT WORD TO SEE IF
044217,000108:    6106           40001        OCT40001           CS       1                                     #  ADDRESS IS GIVEN.
044218,000109:    6107           10000                           CCS      A                                     
044219,000110:    6110           16214                           TCF      PUSHUP                                #  IF NOT.
044220,000111: 
044221,000112:    6111           77773        NEG4               DEC      -4         B-14                       
044222,000113: 
044223,000114:    6112           24164                           INCR     LOC                                   #  IF SO, TO SHOW WE PICKED UP A WORD.
044224,000115:    6113           54116                           TS       ADDRWD                                
044225,000116: 

Page 1000

044227,000118:                                                                                                  #           FINAL DIGESTION OF DIRECT ADDRESSES OF OP CODES WITH 01 PREFIX IS DONE HERE. IN EACH CASE, THE
044228,000119:                                                                                                  #  REQUIRED 12-BIT SUB-ADDRESS IS LEFT IN ADDRWD, WITH ANY REQUIRED E OR F BANK SWITCHING DONE. ADDRESSES LESS
044229,000120:                                                                                                  #  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.
044230,000121: 
044231,000122: 
044232,000123:    6114           66250                           AD       -ENDVAC                               #  SEE IF ADDRESS RELATIVE TO WORK AREA.
044233,000124:    6115           10000                           CCS      A                                     
044234,000125:    6116           67742                           AD       -ENDERAS                              #  IF NOT, SEE IF IN GENERAL ERASABLE.
044235,000126:    6117           16124                           TCF      IERASTST                              
044236,000127: 
044237,000128:    6120           30120        NETZERO            CA       FIXLOC                                #  IF SO, LEAVE THE MODIFIED ADDRESS IN
044238,000129:    6121           26116                           ADS      ADDRWD                                #  ADDRWD AND DISPATCH.
044239,000130:    6122           50020        ITR15              INDEX    CYR                                   #  THIS INDEX MAKES THE NEXT INSTRUCTION
044240,000131:    6123           76272                           7        INDJUMP    -1                         #  TCF INDJUMP + OP, EDITING CYR.
044241,000132: 
044242,000133:    6124           00006        IERASTST           EXTEND                                         
044243,000134:    6125           66135                           BZMF     GEADDR                                #  GO PROCESS GENERAL-ERASABLE ADDRESS.
044244,000135: 
044245,000136:    6126           75012                           MASK     LOW10                                 #  FIXED BANK ADDRESS. RESTORE AND ADD B15.
044246,000137:    6127           65012                           AD       LOW10                                 #  SWITCH BANKS AND LEAVE SUBADDRESS IN
044247,000138:    6130           56116                           XCH      ADDRWD                                #  ADDRWD FOR OPERAND RETRIEVAL. (THIS
044248,000139:    6131           60115                           AD       INTBIT15                              #  METHOD PRECLUDES USE OF THE LAST
044249,000140:    6132           54004                           TS       FBANK                                 #  LOCATION IN EACH FBANK.)
044250,000141:    6133           50020        ITR12              INDEX    CYR                                   
044251,000142:    6134           76272                           7        INDJUMP    -1                         
044252,000143: 
044253,000144:    6135           74357        GEADDR             MASK     LOW8                                  
044254,000145:    6136           65007                           AD       OCT1400                               
044255,000146:    6137           56116                           XCH      ADDRWD                                
044256,000147:    6140           54003                           TS       EBANK                                 
044257,000148:    6141           50020        ITR10              INDEX    CYR                                   
044258,000149:    6142           76272                           7        INDJUMP    -1                         
044259,000150: 

Page 1001

044261,000152:                                                                                                  #           THE FOLLOWING ROUTINE PROCESSES INTERPRETIVE INDEXED ADDRESSES. AN INTERPRETER INDEX REGISTER MAY
044262,000153:                                                                                                  #  CONTAIN THE ADDRESS OF ANY ERASABLE REGISTER (0-42 BEING RELATIVE TO THE VAC AREA) OR ANY INTERPRETIVE PROGRAM
044263,000154:                                                                                                  #  BANK, OR ANY INTEGER IN THAT RANGE.
044264,000155: 
044265,000156:    6143           37732        DODLOAD*           CAF      DLOAD*                                #  STODL* COMES HERE TO PROCESS LOAD ADR.
044266,000157:    6144           54020                           TS       CYR                                   #  (STOVL* ENTERS HERE).
044267,000158: 
044268,000159:    6145           30120        INDEX              CA       FIXLOC                                #  SET UP INDEX LOCATION.
044269,000160:    6146           54130                           TS       INDEXLOC                              
044270,000161:    6147           24164                           INCR     LOC                                   #  (ADDRESS ALWAYS GIVEN).
044271,000162:    6150           50164                           INDEX    LOC                                   
044272,000163:    6151           40000                           CS       0                                     
044273,000164:    6152           10000                           CCS      A                                     #  INDEX 2 IF ADDRESS STORED COMPLEMENTED.
044274,000165:    6153           24130                           INCR     INDEXLOC                              
044275,000166:    6154           16155                           NOOP                                           
044276,000167: 
044277,000168:    6155           54116                           TS       ADDRWD                                #  14 BIT ADDRESS TO ADDRWD.
044278,000169:    6156           77741                           MASK     HIGH4                                 #  IF ADDRESS GREATER THAN 2K, ADD INTBIT15
044279,000170:    6157           00006                           EXTEND                                         
044280,000171:    6160           16163                           BZF      INDEX2                                
044281,000172:    6161           30115                           CA       INTBIT15                              
044282,000173:    6162           26116                           ADS      ADDRWD                                
044283,000174: 
044284,000175:    6163           50130        INDEX2             INDEX    INDEXLOC                              
044285,000176:    6164           40046                           CS       X1                                    
044286,000177:    6165           26116                           ADS      ADDRWD                                #  DO AUGMENT, IGNORING AND CORRECTING OVF.
044287,000178: 
044288,000179:    6166           77743                           MASK     HIGH9                                 #  SEE IF ADDRESS IS IN WORK AREA.
044289,000180:    6167           00006                           EXTEND                                         
044290,000181:    6170           16203                           BZF      INDWORK                               
044291,000182:    6171           77741                           MASK     HIGH4                                 #  SEE IF IN FIXED BANK.
044292,000183:    6172           00006                           EXTEND                                         
044293,000184:    6173           16205                           BZF      INDERASE                              
044294,000185: 
044295,000186:    6174           30116                           CA       ADDRWD                                #  IN FIXED - SWITCH BANKS AND CREATE
044296,000187:    6175           54004                           TS       FBANK                                 #  SUB-ADDRESS.
044297,000188:    6176           75012                           MASK     LOW10                                 
044298,000189:    6177           64741                           AD       2K                                    
044299,000190:    6200           54116                           TS       ADDRWD                                
044300,000191:    6201           50020        ITR11              INDEX    CYR                                   
044301,000192:    6202           36272                           3        INDJUMP    -1                         
044302,000193: 
044303,000194:    6203           30120        INDWORK            CA       FIXLOC                                #  MAKE ADDRWD RELATIVE TO WORK AREA.
044304,000195:    6204           16211                           TCF      ITR13      -1                         
044305,000196: 
044306,000197:    6205           35007        INDERASE           CA       OCT1400                               
044307,000198:    6206           56116                           XCH      ADDRWD                                
044308,000199:    6207           54003                           TS       EBANK                                 
044309,000200:    6210           74357                           MASK     LOW8                                  
044310,000201:    6211           26116                 -1        ADS      ADDRWD                                

Page 1002

044312,000203:    6212           50020        ITR13              INDEX    CYR                                   
044313,000204:    6213           36272                           3        INDJUMP    -1                         
044314,000205: 

Page 1003

044316,000207:                                                                                                  #           PUSH-UP ROUTINES. WHEN NO OPERAND ADDRESS IS GIVEN, THE APPROPRIATE OPERAND IS TAKEN FROM THE PUSH-DOWN
044317,000208:                                                                                                  #  LIST. IN MOST CASES THE MODE OF THE RESULT (VECTOR OR SCALAR) OF THE LAST ARITHMETIC OPERATION PERFORMED
044318,000209:                                                                                                  #  IS THE SAME AS THE TYPE OF OPERAND DESIRED (ALL ADD/SUBTRACT ETC.). EXCEPTIONS TO THIS GENERAL RULE ARE LISTED
044319,000210:                                                                                                  #  BELOW (NOTE THAT IN EVERY CASE THE MODE REGISTER IS LEFT INTACT):
044320,000211: 
044321,000212:                                                                                                  #           1.  VXSC AND V/SC WANT THE OPPOSITE TYPE OF OPERAND, E.G., IF THE LAST OPERATION YIELDED A VECTOR
044322,000213:                                                                                                  #  RESULT, VXSC WANTS A SCALAR.
044323,000214: 
044324,000215:                                                                                                  #           2.  THE LOAD CODES SHOULD LOAD THE ACCUMULATOR INDEPENDENT OF THE RESULT OF THE LAST OPERATION. THIS
044325,000216:                                                                                                  #  INCLUDES VLOAD, DLOAD, TLOAD, PDDL, AND PDVL (NO PUSHUP WITH SLOAD).
044326,000217: 
044327,000218:                                                                                                  #           3.  SOME ARITHMETIC OPERATIONS REQUIRE A STANDARD TYPE OF OPERAND REGARDLESS OF THE PREVIOUS OPERATION.
044328,000219:                                                                                                  #  THIS INCLUDES SIGN WANTING DP AND TAD REQUIRING TP.
044329,000220: 
044330,000221:    6214           34360        PUSHUP             CAF      OCT23                                 #  IF THE LOW 5 BITS OF CYR ARE LESS THAN
044331,000222:    6215           70020                           MASK     CYR                                   #  20, THIS OP REQUIRES SPECIAL ATTENTION.
044332,000223:    6216           66221                           AD       -OCT10                                #  (NO -0).
044333,000224:    6217           10000                           CCS      A                                     
044334,000225:    6220           16232                           TCF      REGUP                                 #  FOR ALL CODES GREATER THAN OCT 7.
044335,000226: 
044336,000227:    6221           77767        -OCT10             OCT      -10                                   
044337,000228: 
044338,000229:    6222           66111                           AD       NEG4                                  #  WE NOW HAVE 7 - OP CODE(MOD4). SEE IF
044339,000230:    6223           10000                           CCS      A                                     #  THE OP CODE (MOD4) IS THREE (REVERSE).
044340,000231:    6224           50000                           INDEX    A                                     #  NO - THE MODE IS DEFINITE. PICK UP THE
044341,000232:    6225           46243                           CS       NO.WDS                                
044342,000233:    6226           16234                           TCF      REGUP      +2                         
044343,000234: 
044344,000235:    6227           50163                           INDEX    MODE                                  #  FOR VXSC AND V/SC WE WANT THE REQUIRED
044345,000236:    6230           46241                           CS       REVCNT                                #  PUSHLOC DECREMENT WITHOUT CHANGING THE
044346,000237:    6231           16234                           TCF      REGUP      +2                         #  MODE AT THIS TIME.
044347,000238: 
044348,000239:    6232           50163        REGUP              INDEX    MODE                                  #  MOST ALL OP CODES PUSHUP HERE.
044349,000240:    6233           46243                           CS       NO.WDS                                
044350,000241:    6234           26166                 +2        ADS      PUSHLOC                               
044351,000242:    6235           54116                           TS       ADDRWD                                
044352,000243:    6236           50020        ITR14              INDEX    CYR                                   
044353,000244:    6237           76272                           7        INDJUMP    -1                         #  (THE INDEX MAKES THIS A TCF.)
044354,000245: 
044355,000246:    6240           00002                           OCT      2                                     #  REVERSE PUSHUP DECREMENT. VECTOR TAKES 2
044356,000247:    6241           00006        REVCNT             OCT      6                                     #  WORDS, SCALAR TAKES 6.
044357,000248:    6242           00006                           OCT      6                                     
044358,000249:    6243           00002        NO.WDS             OCT      2                                     #  CONVENTIONAL DECREMENT IS 6 WORDS VECTOR
044359,000250:    6244           00003        OCTAL3             OCT      3                                     #  2 IN DP, AND 3 IN TP.
044360,000251:    6245           00006                           OCT      6                                     
044361,000252: 

Page 1004

044363,000254:                                                                                                  #           TEST THE SECOND PREFIX BIT TO SEE IF THIS IS A MISCELLANEOUS OR A UNARY/SHORT SHIFT OPERATION.
044364,000255: 
044365,000256:    6246           10020        OPJUMP2            CCS      CYR                                   #  TEST SECOND PREFIX BIT.
044366,000257:    6247           16262                           TCF      OPJUMP3                               #  TEST THIRD BIT TO SEE IF UNARY OR SHIFT.
044367,000258: 
044368,000259:    6250           77722        -ENDVAC            DEC      -45        B-14                       
044369,000260: 
044370,000261:                                                                                                  #           THE FOLLOWING ROUTINE PROCESSES ADDRESSES OF SUFFIX CLASS 10. THEY ARE BASICALLY WORK AREA ADDRESSES
044371,000262:                                                                                                  #  IN THE RANGE 0 - 52, ERASABLE ECADR CONSTANTS FROM 100 - 3777, AND FCADRS ABOVE THAT. ALL 15 BITS ARE AVAILABLE
044372,000263:                                                                                                  #  IN CONTRAST TO SUFFIX 1, IN WHICH ONLY THE LOW ORDER 14 ARE AVAILABLE.
044373,000264: 
044374,000265:    6251           24164        15BITADR           INCR     LOC                                   #  (ENTRY HERE FROM STCALL).
044375,000266:    6252           50164                           INDEX    LOC                                   #  PICK UP ADDRESS WORD.
044376,000267:    6253           30000                           CA       0                                     
044377,000268:    6254           54117                           TS       POLISH                                #  WE MAY NEED A SUBADDRESS LATER.
044378,000269: 
044379,000270:    6255           35013                           CAF      LOW7+2K                               #  THESE INSTRUCTIONS ARE IN BANK 1.
044380,000271:    6256           54004                           TS       FBANK                                 
044381,000272:    6257           70020                           MASK     CYR                                   
044382,000273:    6260           50000        ITR7               INDEX    A                                     
044383,000274:    6261           16333                           TCF      MISCJUMP                              
044384,000275: 

Page 1005

044386,000277:                                                                                                  #           COMPLETE THE DISPATCHING OF UNARY AND SHORT SHIFT OPERATIONS.
044387,000278: 
044388,000279:    6262           54004        OPJUMP3            TS       FBANK                                 #  CALL IN BANK 0 (BITS 11-15 OF A ARE 0.)
044389,000280:                                                                                                  #           ITRACE (6) REFERS TO "OPJUMP3".
044390,000281:    6263           10020                           CCS      CYR                                   #  TEST THIRD PREFIX BIT.
044391,000282:    6264           50000                           INDEX    A                                     #  THE DECREMENTED UNARY CODE IS IN BITS
044392,000283:    6265           12000                           TCF      UNAJUMP                               #  1-4 OF A (ZERO, EXIT, HAS BEEN DETECTED)
044393,000284: 
044394,000285:    6266           10163                           CCS      MODE                                  #  ITS A SHORT SHIFT CODE. SEE IF PRESENT
044395,000286:    6267           12017                           TCF      SHORTT                                #  SCALAR OR VECTOR.
044396,000287:    6270           12017                           TCF      SHORTT                                
044397,000288:    6271           12121                           TCF      SHORTV                                #  CALLS THE APPROPRIATE ROUTINE.
044398,000289: 
044399,000290: 
044400,000291:    6272     4350               FBANKMSK           EQUALS   BANKMASK                              
044401,000292:    6272           00122        LVBUF              ADRES    VBUF                                  
044402,000293: 

Page 1006

044404,000295:                                                                                                  #           THE FOLLOWING IS THE JUMP TABLE FOR OP CODES WHICH MAY HAVE INDEXABLE ADDRESSES OR MAY PUSH UP.
044405,000296: 
044406,000297:    6273           16504        INDJUMP            TCF      VLOAD                                 #  00 - LOAD MPAC WITH A VECTOR.
044407,000298:    6274           17070                           TCF      TAD                                   #  01 - TRIPLE PRECISION ADD TO MPAC.
044408,000299:    6275           17654                           TCF      SIGN                                  #  02 - COMPLEMENT MPAC (V OR SC) IF X NEG.
044409,000300:    6276           17400                           TCF      VXSC                                  #  03 - VECTOR TIMES SCALAR.
044410,000301:    6277           16702                           TCF      CGOTO                                 #  04 - COMPUTED GO TO.
044411,000302:    6300           16467                           TCF      TLOAD                                 #  05 - LOAD MPAC WITH TRIPLE PRECISION.
044412,000303:    6301           16051                           TCF      DLOAD                                 #  06 - LOAD MPAC WITH A DP SCALAR.
044413,000304:    6302           17623                           TCF      V/SC                                  #  07 - VECTOR DIVIDED BY SCALAR.
044414,000305: 
044415,000306:    6303           16500                           TCF      SLOAD                                 #  10 - LOAD MPACIN SINGLE PRECISION.
044416,000307:    6304           16617                           TCF      SSP                                   #  11 - SET SINGLE PRECISION INTO X.
044417,000308:    6305           16522                           TCF      PDDL                                  #  12 - PUSH DOWN MPAC AND RE-LOAD IN DP.
044418,000309:    6306           17333                           TCF      MXV                                   #  13 - MATRIX POST-MULTIPLIED BY VECTOR.
044419,000310:    6307           16556                           TCF      PDVL                                  #  14 - PUSH DOWN AND VECTOR LOAD.
044420,000311:    6310           16625                           TCF      CCALL                                 #  15 - COMPUTED CALL.
044421,000312:    6311           17336                           TCF      VXM                                   #  16 - MATRIX PRE-MULTIPLIED BY VECTOR.
044422,000313:    6312           17615                           TCF      TSLC                                  #  17 - NORMALIZE MPAC (SCALAR ONLY).
044423,000314: 
044424,000315:    6313           17573                           TCF      DMPR                                  #  20 - DP MULTIPLY AND ROUND.
044425,000316:    6314           17576                           TCF      DDV                                   #  21 - DP DIVIDE BY.
044426,000317:    6315           17602                           TCF      BDDV                                  #  22 - DP DIVIDE INTO.
044427,000318:    6316           17620                           TCF      GSHIFT                                #  23 - GENERAL SHIFT INSTRUCTION.
044428,000319:    6317           16750                           TCF      VAD                                   #  24 - VECTOR ADD.
044429,000320:    6320           16746                           TCF      VSU                                   #  25 - VECTOR SUBTRACT.
044430,000321:    6321           17035                           TCF      BVSU                                  #  26 - VECTOR SUBTRACT FROM.
044431,000322:    6322           17330                           TCF      DOT                                   #  27 - VECTOR DOT PRODUCT.
044432,000323: 
044433,000324:    6323           17457                           TCF      VXV                                   #  30 - VECTOR CROSS PRODUCT.
044434,000325:    6324           17424                           TCF      VPROJ                                 #  31 - VECTOR PROJECTION.
044435,000326:    6325           17004                           TCF      DSU                                   #  32 - DP SUBTRACT.
044436,000327:    6326           17061                           TCF      BDSU                                  #  33 - DP SUBTRACT FROM.
044437,000328:    6327           16774                           TCF      DAD                                   #  34 - DP ADD.
044438,000329:    6330           16330                           TCF      +0                                    #  35 - AVAILABLE
044439,000330:    6331           17571                           TCF      DMP1                                  #  36 - DP MULTIPLY.
044440,000331:    6332           17612                           TCF      SETPD                                 #  37 - SET PUSH DOWN POINTER (DIRECT ONLY)
044441,000332: 
044442,000333:                                                                                                  #  CODES 10 AND 14 MUST NOT PUSH UP. CODE 04 MAY BE USED FOR VECTOR DECLARE BEFORE PUSHUP IF DESIRED.
044443,000334: 

Page 1007

044445,000336:                                                                                                  #           THE FOLLOWING JUMP TABLE APPLIES TO INDEX, BRANCH, AND MISCELLANEOUS INSTRUCTIONS.
044446,000337: 
044447,000338:    6333           12341        MISCJUMP           TCF      AXT                                   #  00 - ADDRESS TO INDEX TRUE.
044448,000339:    6334           12346                           TCF      AXC                                   #  01 - ADDRESS TO INDEX COMPLEMENTED.
044449,000340:    6335           12351                           TCF      LXA                                   #  02 - LOAD INDEX FROM ERASABLE.
044450,000341:    6336           12355                           TCF      LXC                                   #  03 - LOAD INDEX FROM COMPLEMENT OF ERAS.
044451,000342:    6337           12361                           TCF      SXA                                   #  04 - STORE INDEX IN ERASABLE.
044452,000343:    6340           12367                           TCF      XCHX                                  #  05 - EXCHANGE INDEX WITH ERASABLE.
044453,000344:    6341           12403                           TCF      INCR                                  #  06 - INCREMENT INDEX REGISTER.
044454,000345:    6342           12412                           TCF      TIX                                   #  07 - TRANSFER ON INDEX.
044455,000346: 
044456,000347:    6343           12375                           TCF      XAD                                   #  10 - INDEX REGISTER ADD FROM ERASABLE.
044457,000348:    6344           12406                           TCF      XSU                                   #  11 - INDEX SUBTRACT FROM ERASABLE.
044458,000349:    6345           12464                           TCF      BZE/GOTO                              #  12 - BRANCH ZERO AND GOTO.
044459,000350:    6346           12471                           TCF      BPL/BMN                               #  13 - BRANCH PLUS AND BRANCH MINUS.
044460,000351:    6347           12444                           TCF      RTB/BHIZ                              #  14 - RETURN TO BASIC AND BRANCH HI ZERO.
044461,000352:    6350           12504                           TCF      CALL/ITA                              #  15 - CALL AND STORE QPRET.
044462,000353:    6351           12513                           TCF      SW/                                   #  16 - SWITCH INSTRUCTIONS AND AVAILABLE.
044463,000354:    6352           12454                           TCF      BOV(B)                                #  17 - BRANCH ON OVERFLOW TO BASIC OR INT.
044464,000355: 

Page 1008

044466,000357:                                                                                                  #           THE FOLLOWING JUMP TABLE APPIES TO UNARY INSTRUCTIONS.
044467,000358: 
044468,000359:    6353                                           COUNT*   $$/INTER                              
044469,000360: 00,2000                                           BANK     0                                     #  00 - EXIT - DETECTED EARLIER.
044470,000361: 00,2000           13207        UNAJUMP            TCF      SQRT                                  #  01 - SQUARE ROOT.
044471,000362: 00,2001           13530                           TCF      SINE                                  #  02 - SIN.
044472,000363: 00,2002           13517                           TCF      COSINE                                #  03 - COS.
044473,000364: 00,2003           13610                           TCF      ARCSIN                                #  04 - ARC SIN.
044474,000365: 00,2004           13612                           TCF      ARCCOS                                #  05 - ARC COS.
044475,000366: 00,2005           13174                           TCF      DSQ                                   #  06 - DP SQUARE.
044476,000367: 00,2006           12116                           TCF      ROUND                                 #  07 - ROUND TO DP.
044477,000368: 
044478,000369: 00,2007           17667                           TCF      COMP                                  #  10 - COMPLEMENT VECTOR OR SCALAR.
044479,000370: 00,2010           13232                           TCF      VDEF                                  #  11 - VECTOR DEFINE.
044480,000371: 00,2011           13023                           TCF      UNIT                                  #  12 - UNIT VECTOR.
044481,000372: 00,2012           13176                           TCF      ABVALABS                              #  13 - LENGTH OF VECTOR OR MAG OF SCALAR.
044482,000373: 00,2013           13245                           TCF      VSQ                                   #  14 - SQUARE OF LENGTH OF VECTOR.
044483,000374: 00,2014           16353                           TCF      STADR                                 #  15 - PUSH UP ON STORE CODE.
044484,000375: 00,2015           13274                           TCF      RVQ                                   #  16 - RETURN VIA QPRET.
044485,000376: 00,2016           13247                           TCF      PUSH                                  #  17 - PUSH MPAC DOWN.
044486,000377: 

Page 1009

044488,000379:                                                                                                  #  SECTION 2  LOAD AND STORE PACKAGE.
044489,000380: 
044490,000381:                                                                                                  #           A SET OF EIGHT STORE CODES IS PROVIDED AS THE PRIMARY METHOD OF STORING THE MULTI-PURPOSE
044491,000382:                                                                                                  #  ACCUMULATOR (MPAC). IF IN THE DANZIG SECTION LOC REFERS TO AN ALGEBRAICALLY POSITIVE WORD, IT IS TAKEN AS A 
044492,000383:                                                                                                  #  STORE CODE WITH A CORRESPONDING ERASABLE ADDRESS. MOST OF THESE CODES ARE TWO ADDRESS, SPECIFYING THAT THE WORD
044493,000384:                                                                                                  #  FOLLOWING THE STORE CODE IS TO BE USED AS AN ADDRESS FROM WHICH TO RE-LOAD MPAC. FOUR OPTIONS ARE AVAILABLE:
044494,000385: 
044495,000386:                                                                                                  #           1. STORE               STORE MPAC. THE E ADDRESS MAY BE INDEXED.
044496,000387:                                                                                                  #           2. STODL               STORE MPAC AND RE-LOAD IT IN DP WITH THE NEXT ADDRESS (THE LOAD MAY BE INDEXED).
044497,000388:                                                                                                  #           3. STOVL               STORE MPAC AND RE-LOAD A VECTOR (AS ABOVE).
044498,000389:                                                                                                  #           4. STCALL              STORE AND DO A CALL (BOTH ADDRESSES MUST BE DIRECT HERE).
044499,000390: 
044500,000391:                                                                                                  #           STODL AND STOVL WILL TAKE FROM THE PUSH-DOWN LIST IF NO LOAD ADDRESS IS GIVEN.
044501,000392: 
044502,000393:    6353                                           BLOCK    3                                     
044503,000394: 
044504,000395:    6353                                           COUNT*   $$/INTER                              
044505,000396:    6353           30165        STADR              CA       BANKSET                               #  THE STADR CODE (PUSHUP UP ON STORE
044506,000397:    6354           54004                           TS       FBANK                                 #  ADDRESS) ENTERS HERE.
044507,000398:    6355           24164                           INCR     LOC                                   
044508,000399:    6356           50164        ITR1               INDEX    LOC                                   #  THE STORECODE WAS STORED COMPLEMENTED TO
044509,000400:    6357           40000                           CS       0                                     #  MAKE IT LOOK LIKE AN OPCODE PAIR.
044510,000401:    6360           67746                           AD       NEGONE                                #  (YUL CANT REMOVE 1 BECAUSE OF EARLY CCS)
044511,000402: 
044512,000403:    6361           54116        DOSTORE            TS       ADDRWD                                
044513,000404:    6362           74356                           MASK     LOW11                                 #  ENTRY FROM DISPATCHER. SAVE THE ERASABLE
044514,000405:    6363           56116                           XCH      ADDRWD                                #  ADDRESS AND JUMP ON THE STORE CODE NO.
044515,000406:    6364           77721                           MASK     B12T14                                
044516,000407:    6365           00006                           EXTEND                                         
044517,000408:    6366           74747                           MP       BIT5                                  #  EACH TRANSFER VECTOR ENTRY IS TWO WORDS.
044518,000409:    6367           50000                           INDEX    A                                     
044519,000410:    6370           16371                           TCF      STORJUMP                              
044520,000411: 

Page 1010

044522,000413:                                                                                                  #           STORE CODE JUMP TABLE. CALLS THE APPROPRIATE STORING ROUTINE AND EXITS TO DANZIG OR TO ADDRESS WITH
044523,000414:                                                                                                  #  A SUPPLIED OPERATION CODE.
044524,000415: 
044525,000416:                                                                                                  #           STORE STORE,1 AND STORE,2 RETURN TO DANZIG, THUS RESETTING THE EBANK TO ITS STATE AT INTPRET.
044526,000417: 
044527,000418:    6371           06421        STORJUMP           TC       STORE                                 #  STORE.
044528,000419:    6372           16060                           TCF      DANZIG                                #  PICK UP NEW OP CODE(S).
044529,000420:    6373           06413                           TC       STORE,1                               
044530,000421:    6374           16060                           TCF      DANZIG                                
044531,000422:    6375           06416                           TC       STORE,2                               
044532,000423:    6376           16060                           TCF      DANZIG                                
044533,000424: 
044534,000425:    6377           06421                           TC       STORE                                 #  STODL.
044535,000426:    6400           16457                           TCF      DODLOAD                               
044536,000427: 
044537,000428:    6401           06421                           TC       STORE                                 #  STODL WITH INDEXED LOAD ADDRESS.
044538,000429:    6402           16143                           TCF      DODLOAD*                              
044539,000430: 
044540,000431:    6403           06421                           TC       STORE                                 #  STOVL.
044541,000432:    6404           16462                           TCF      DOVLOAD                               
044542,000433: 
044543,000434:    6405           06421                           TC       STORE                                 #  STOVL WITH INDEXED LOAD ADDRESS.
044544,000435:    6406           16465                           TCF      DOVLOAD*                              
044545,000436:    6407           06421                           TC       STORE                                 #  STOTC.
044546,000437:    6410           34766                           CAF      CALLCODE                              
044547,000438:    6411           54020                           TS       CYR                                   
044548,000439:    6412           16251                           TCF      15BITADR                              #  GET A 15 BIT ADDRESS.
044549,000440: 

Page 1011

044551,000442:                                                                                                  #           STORE CODE ADDRESS PROCESSOR.
044552,000443: 
044553,000444:    6413           50120        STORE,1            INDEX    FIXLOC                                
044554,000445:    6414           40046                           CS       X1                                    
044555,000446:    6415           16420                           TCF      PRESTORE                              
044556,000447: 
044557,000448:    6416           50120        STORE,2            INDEX    FIXLOC                                
044558,000449:    6417           40047                           CS       X2                                    
044559,000450:    6420           26116        PRESTORE           ADS      ADDRWD                                #  RESULTANT ADDRESS IS IN ERASABLE.
044560,000451: 
044561,000452:    6421           40116        STORE              CS       ADDRWD                                
044562,000453:    6422           64772                           AD       DEC45                                 
044563,000454:    6423           10000                           CCS      A                                     #  DOES THE ADDRESS POINT TO THE WORK AREA?
044564,000455:    6424           30120                           CA       FIXLOC                                #  YES.
044565,000456:    6425           16432                           TCF      AHEAD5                                
044566,000457:    6426           35007                           CA       OCT1400                               #  NO. SET EBANK & MAKE UP SUBADDRESS.
044567,000458:    6427           56116                           XCH      ADDRWD                                
044568,000459:    6430           54003                           TS       EBANK                                 
044569,000460:    6431           74357                           MASK     LOW8                                  
044570,000461:    6432           26116        AHEAD5             ADS      ADDRWD                                
044571,000462: 

Page 1012

044573,000464:                                                                                                  #           STORING ROUTINES. STORE DP, TP, OR VECTOR AS INDICATED BY MODE.
044574,000465: 
044575,000466:    6433           00006        STARTSTO           EXTEND                                         #  MPAC,+1 MUST BE STORED IN ANY EVENT.
044576,000467:                                                                                                  #           ITRACE (5) REFERS TO "STARTSTO".
044577,000468:    6434           30155                           DCA      MPAC                                  
044578,000469:    6435           50116                           INDEX    ADDRWD                                
044579,000470:    6436           52001                           DXCH     0                                     
044580,000471: 
044581,000472:    6437           10163                           CCS      MODE                                  
044582,000473:    6440           16453                           TCF      TSTORE                                
044583,000474:    6441           00002                           TC       Q                                     
044584,000475: 
044585,000476:    6442           00006        VSTORE             EXTEND                                         
044586,000477:    6443           30160                           DCA      MPAC       +3                         
044587,000478:    6444           50116                           INDEX    ADDRWD                                
044588,000479:    6445           52003                           DXCH     2                                     
044589,000480: 
044590,000481:    6446           00006                           EXTEND                                         
044591,000482:    6447           30162                           DCA      MPAC       +5                         
044592,000483:    6450           50116                           INDEX    ADDRWD                                
044593,000484:    6451           52005                           DXCH     4                                     
044594,000485:    6452           00002                           TC       Q                                     
044595,000486: 
044596,000487:    6453           30156        TSTORE             CA       MPAC       +2                         
044597,000488:    6454           50116                           INDEX    ADDRWD                                
044598,000489:    6455           54002                           TS       2                                     
044599,000490:    6456           00002                           TC       Q                                     
044600,000491: 

Page 1013

044602,000493:                                                                                                  #           ROUTINES TO BEGIN PROCESSING OF THE SECOND ADDRESS ASSOCIATED WITH ALL STORE-TYPE CODES EXCEPT STORE
044603,000494:                                                                                                  #  ITSELF.
044604,000495: 
044605,000496:    6457           37731        DODLOAD            CAF      DLOADCOD                              
044606,000497:    6460           54020                           TS       CYR                                   
044607,000498:    6461           16105                           TCF      DIRADRES                              #  GO GET A DIRECT ADDRESS.
044608,000499: 
044609,000500:    6462           34735        DOVLOAD            CAF      VLOADCOD                              
044610,000501:    6463           54020                           TS       CYR                                   
044611,000502:    6464           16105                           TCF      DIRADRES                              
044612,000503: 
044613,000504:    6465           36106        DOVLOAD*           CAF      VLOAD*                                
044614,000505:    6466           16144                           TCF      DODLOAD*   +1                         #  PROLOGUE TO INDEX ROUTINE.
044615,000506: 

Page 1014

044617,000508:                                                                                                  #           THE FOLLOWING LOAD INSTRUCTIONS ARE PROVIDED FOR LOADING THE MULTI-PURPOSE ACCUMULATOR MPAC.
044618,000509: 
044619,000510:    6467           50116        TLOAD              INDEX    ADDRWD                                
044620,000511:    6470           30002                           CA       2                                     #  LOAD A TRIPLE PRECISION ARGUMENT INTO
044621,000512:    6471           54156                           TS       MPAC       +2                         #  THE FIRST THREE MPAC REGISTERS, WITH THE
044622,000513:    6472           00006                           EXTEND                                         #  CONTENTS OF THE OTHER FOUR IRRELEVANT.
044623,000514:    6473           50116                           INDEX    ADDRWD                                
044624,000515:    6474           30001                           DCA      0                                     
044625,000516:    6475           52155                           DXCH     MPAC                                  
044626,000517:    6476           34753        TMODE              CAF      ONE                                   
044627,000518:    6477           16057                           TCF      NEWMODE                               #  DECLARE TRIPLE PRECISION MODE.
044628,000519: 
044629,000520:    6500           22007        SLOAD              ZL                                             #  LOAD A SINGLE PRECISION NUMBER INTO
044630,000521:    6501           50116                           INDEX    ADDRWD                                #  MPAC, SETTING MPAC+1,2 TO ZERO. THE
044631,000522:    6502           30000                           CA       0                                     #  CONTENTS OF THE REMAINING MPAC REGISTERS
044632,000523:    6503           16054                           TCF      SLOAD2                                #  ARE IRRELEVANT.
044633,000524: 
044634,000525:    6504           00006        VLOAD              EXTEND                                         #  LOAD A DOUBLE PRECISION VECTOR INTO
044635,000526:    6505           50116                           INDEX    ADDRWD                                #  MPAC,+1, MPAC+3,4, AND MPAC+5,6. THE
044636,000527:    6506           30001                           DCA      0                                     #  CONTENTS OF MPAC +2 ARE IRRELEVANT.
044637,000528:    6507           52155                           DXCH     MPAC                                  
044638,000529: 
044639,000530:    6510           00006        ENDVLOAD           EXTEND                                         #  PDVL COMES HERE TO FINISH UP FOR DP, TP.
044640,000531:    6511           50116                           INDEX    ADDRWD                                
044641,000532:    6512           30003                           DCA      2                                     
044642,000533:    6513           52160                           DXCH     MPAC       +3                         
044643,000534: 
044644,000535:    6514           00006                 +4        EXTEND                                         #  TPDVL FINISHES HERE.
044645,000536:    6515           50116                           INDEX    ADDRWD                                
044646,000537:    6516           30005                           DCA      4                                     
044647,000538:    6517           52162                           DXCH     MPAC       +5                         
044648,000539: 
044649,000540:    6520           44753        VMODE              CS       ONE                                   #  DECLARE VECTOR MODE.
044650,000541:    6521           16057                           TCF      NEWMODE                               
044651,000542: 

Page 1015

044653,000544:                                                                                                  #           THE FOLLOWING INSTRUCTIONS ARE PROVIDED FOR STORING OPERANDS IN THE PUSHDOWN LIST:
044654,000545: 
044655,000546:                                                                                                  #           1.  PUSH               PUSHDOWN AND NO LOAD.
044656,000547:                                                                                                  #           2.  PDDL               PUSHDOWN AND DOUBLE PRECISION LOAD.
044657,000548:                                                                                                  #           3.  PDVL               PUSHDOWN AND VECTOR LOAD.
044658,000549: 
044659,000550:    6522           00006        PDDL               EXTEND                                         
044660,000551:    6523           50116                           INDEX    ADDRWD                                #  LOAD MPAC,+1, PUSHING THE FORMER
044661,000552:    6524           30001                           DCA      0                                     #  CONTENTS DOWN.
044662,000553:    6525           52155                           DXCH     MPAC                                  
044663,000554:    6526           50166                           INDEX    PUSHLOC                               
044664,000555:    6527           52001                           DXCH     0                                     
044665,000556: 
044666,000557:    6530           50163                           INDEX    MODE                                  #  ADVANCE THE PUSHDOWN POINTER APPRO-
044667,000558:    6531           36243                           CAF      NO.WDS                                #  PRIATELY.
044668,000559:    6532           26166                           ADS      PUSHLOC                               
044669,000560: 
044670,000561:    6533           10163                           CCS      MODE                                  
044671,000562:    6534           16551                           TCF      ENDTPUSH                              
044672,000563:    6535           16547                           TCF      ENDDPUSH                              
044673,000564: 
044674,000565:    6536           54163                           TS       MODE                                  #  NOW DP.
044675,000566:    6537           54156        ENDVPUSH           TS       MPAC       +2                         
044676,000567:    6540           52160                           DXCH     MPAC       +3                         #  PUSH DOWN THE REST OF THE VECTOR HERE.
044677,000568:    6541           50166                           INDEX    PUSHLOC                               
044678,000569:    6542           51775                           DXCH     0          -4                         
044679,000570: 
044680,000571:    6543           52162                           DXCH     MPAC       +5                         
044681,000572:    6544           50166                           INDEX    PUSHLOC                               
044682,000573:    6545           51777                           DXCH     0          -2                         
044683,000574: 
044684,000575:    6546           16060                           TCF      DANZIG                                
044685,000576: 
044686,000577:    6547           54156        ENDDPUSH           TS       MPAC       +2                         #  SET MPAC +2 TO ZERO AND EXIT ON DP.
044687,000578:    6550           16060                           TCF      DANZIG                                
044688,000579: 
044689,000580:    6551           54163        ENDTPUSH           TS       MODE                                  
044690,000581:    6552           56156                           XCH      MPAC       +2                         #  ON TRIPLE, SET MPAC +2 TO ZERO, PUSHING
044691,000582:    6553           50166                 +2        INDEX    PUSHLOC                               #  DOWN THE OLD CONTENTS
044692,000583:    6554           53777                           TS       0          -1                         
044693,000584:    6555           16060                           TCF      DANZIG                                
044694,000585: 

Page 1016

044696,000587:                                                                                                  #           PDVL - PUSHDOWN AND VECTOR LOAD.
044697,000588: 
044698,000589:    6556           00006        PDVL               EXTEND                                         #  RELOAD MPAC AND PUSH DOWN ITS CONTENTS.
044699,000590:    6557           50116                           INDEX    ADDRWD                                
044700,000591:    6560           30001                           DCA      0                                     
044701,000592:    6561           52155                           DXCH     MPAC                                  
044702,000593:    6562           50166                           INDEX    PUSHLOC                               
044703,000594:    6563           52001                           DXCH     0                                     
044704,000595: 
044705,000596:    6564           50163                           INDEX    MODE                                  #  ADVANCE THE PUSHDOWN POINTER.
044706,000597:    6565           36243                           CAF      NO.WDS                                
044707,000598:    6566           26166                           ADS      PUSHLOC                               
044708,000599: 
044709,000600:    6567           10163                           CCS      MODE                                  #  TEST PAST MODE.
044710,000601:    6570           16607                           TCF      TPDVL                                 
044711,000602:    6571           16510                           TCF      ENDVLOAD                              #  JUST LOAD LAST FOUR REGISTERS ON DP.
044712,000603: 
044713,000604:    6572           00006        VPDVL              EXTEND                                         #  PUSHDOWN AND RE-LOAD LAST TWO COMPONENTS
044714,000605:    6573           50116                           INDEX    ADDRWD                                
044715,000606:    6574           30003                           DCA      2                                     
044716,000607:    6575           52160                           DXCH     MPAC       +3                         
044717,000608:    6576           50166                           INDEX    PUSHLOC                               
044718,000609:    6577           51775                           DXCH     0          -4                         
044719,000610: 
044720,000611:    6600           00006                           EXTEND                                         
044721,000612:    6601           50116                           INDEX    ADDRWD                                
044722,000613:    6602           30005                           DCA      4                                     
044723,000614:    6603           52162                           DXCH     MPAC       +5                         
044724,000615:    6604           50166                           INDEX    PUSHLOC                               
044725,000616:    6605           51777                           DXCH     0          -2                         
044726,000617: 
044727,000618:    6606           16060                           TCF      DANZIG                                
044728,000619: 
044729,000620:    6607           00006        TPDVL              EXTEND                                         #  ON TP, WE MUST LOAD THE Y COMPONENT
044730,000621:    6610           50116                           INDEX    ADDRWD                                #  BEFORE STORING MPAC +2 IN CASE THIS IS A
044731,000622:    6611           30003                           DCA      2                                     #  PUSHUP.
044732,000623:    6612           52160                           DXCH     MPAC       +3                         
044733,000624: 
044734,000625:    6613           30156                           CA       MPAC       +2                         
044735,000626:    6614           50166                           INDEX    PUSHLOC                               #  IN DP.
044736,000627:    6615           53777                           TS       0          -1                         
044737,000628:    6616           16514                           TCF      ENDVLOAD   +4                         
044738,000629: 
044739,000630:                                                                                                  #           SSP (STORE SINGLE PRECISION) IS EXECUTED HERE.
044740,000631: 
044741,000632:    6617           24164        SSP                INCR     LOC                                   #  PICK UP THE WORD FOLLOWING THE GIVEN
044742,000633:    6620           50164                           INDEX    LOC                                   #  ADDRESS AND STORE IT AT X.
044743,000634:    6621           30000                           CA       0                                     
044744,000635:    6622           50116        STORE1             INDEX    ADDRWD                                #  SOME INDEX AND MISCELLANEOUS OPS END
044745,000636:    6623           54000                           TS       0                                     #  HERE.

Page 1017

044747,000638:    6624           16060                           TCF      DANZIG                                
044748,000639: 

Page 1018

044750,000641:                                                                                                  #  SEQUENCE CHANGING AND SUBROUTINE CALLING OPTIONS.
044751,000642: 
044752,000643:                                                                                                  #           THE FOLLOWING OPERATIONS ARE AVAILABLE FOR SEQUENCING CHANGING, BRANCHING, AND CALLING SUBROUTINES:
044753,000644: 
044754,000645:                                                                                                  #           1.  GOTO               GO TO.
044755,000646:                                                                                                  #           2.  CALL               CALL SUBROUTINE SETTING QPRET.
044756,000647:                                                                                                  #           3.  CGOTO              COMPUTED GO TO.
044757,000648:                                                                                                  #           4.  CCALL              COMPUTED CALL.
044758,000649:                                                                                                  #           7.  BPL                BRANCH IF MPAC POSITIVE OR ZERO.
044759,000650:                                                                                                  #           8.  BZE                BRANCH IF MPAC ZERO.
044760,000651:                                                                                                  #           9.  BMN                BRANCH IF MPAC NEGATIVE NON-ZERO.
044761,000652: 
044762,000653:    6625           24164        CCALL              INCR     LOC                                   #  MAINTAIN LOC FOR QPRET COMPUTATION.
044763,000654:    6626           50164                           INDEX    LOC                                   
044764,000655:    6627           30000                           CAF      0                                     #  GET BASE ADDRESS OF CADR LIST.
044765,000656:    6630           50116                           INDEX    ADDRWD                                
044766,000657:    6631           60000                           AD       0                                     #  ADD INCREMENT.
044767,000658:    6632           54004                           TS       FBANK                                 #  SELECT DESIRED CADR.
044768,000659:    6633           75012                           MASK     LOW10                                 
044769,000660:    6634           50000                           INDEX    A                                     
044770,000661:    6635           32000                           CAF      10000                                 
044771,000662:    6636           54117                           TS       POLISH                                
044772,000663: 
044773,000664:    6637           30165        CALL               CA       BANKSET                               #  FOR ANY OF THE CALL OPTIONS, MAKE UP THE
044774,000665:    6640           74350                           MASK     BANKMASK                              #  ADDRESS OF THE NEXT OP-CODE PAIR/STORE
044775,000666:    6641           64350                           AD       BANKMASK                              #  CODE AND LEAVE IT IN QPRET.  NOTE THAT
044776,000667:    6642           60164                           AD       LOC                                   #  BANKMASK = -(2000 - 1).
044777,000668:    6643           50120                           INDEX    FIXLOC                                
044778,000669:    6644           54052                           TS       QPRET                                 
044779,000670: 
044780,000671:    6645           30117        GOTO               CA       POLISH                                #  BASIC BRANCHING SEQUENCE.
044781,000672:    6646           77741                 +1        MASK     HIGH4                                 
044782,000673:    6647           00006                           EXTEND                                         
044783,000674:    6650           16661                           BZF      GOTOERS                               #  SEE IF ADDRESS POINTS TO FIXED OR ERAS.
044784,000675:    6651           30165                 +4        CA       BANKSET                               #  SET EBANK PART OF BBANK. NEXT, SET UP
044785,000676:    6652           54006                           TS       BBANK                                 #  FBANK. THE COMBINATION IS PICKED UP &
044786,000677:    6653           30117                           CA       POLISH                                #  PUT INTO BANKSET AT INTPRET +2.
044787,000678:    6654           54004                           TS       FBANK                                 
044788,000679:    6655           75012                           MASK     LOW10                                 
044789,000680:    6656           64741                           AD       2K                                    
044790,000681:    6657           54164                           TS       LOC                                   
044791,000682:    6660           16041                           TCF      INTPRET    +3                         
044792,000683: 
044793,000684:    6661  E3,1400                                  EBANK=   1400                                  #  SO YUL DOESN'T CUSS THE "CA 1400" BELOW.
044794,000685: 
044795,000686:    6661           30117        GOTOERS            CA       POLISH                                #  THE GIVEN ADDRESS IS IN ERASABLE - SEE
044796,000687:    6662           66250                           AD       -ENDVAC                               #  IF RELATIVE TO THE WORK AREA.
044797,000688:    6663           10000                           CCS      A                                     
044798,000689:    6664           30117                           CA       POLISH                                #  GENERAL ERASABLE.
044799,000690:    6665           16674                           TCF      GOTOGE                                
044800,000691: 

Page 1019

044802,000693:    6666           30120                           CA       FIXLOC                                #  WORK AREA.
044803,000694:    6667           60117                           AD       POLISH                                
044804,000695:    6670           50000                           INDEX    A                                     #  USE THE GIVEN ADDRESS AS THE ADDRESS OF
044805,000696:    6671           30000                           CA       0                                     #  THE BRANCH ADDRESS.
044806,000697:    6672           54117                           TS       POLISH                                
044807,000698:    6673           16646                           TCF      GOTO       +1                         #  ALLOWS ARBITRARY INDIRECTNESS LEVELS.
044808,000699: 
044809,000700:    6674           54003        GOTOGE             TS       EBANK                                 
044810,000701:    6675           74357                           MASK     LOW8                                  
044811,000702:    6676           50000                           INDEX    A                                     #  USE THE GIVEN ADDRESS AS THE ADDRESS OF
044812,000703:    6677           31400                           CA       1400                                  #  THE BRANCH ADDRESS.
044813,000704:    6700           54117                           TS       POLISH                                
044814,000705:    6701           16646                           TCF      GOTO       +1                         
044815,000706: 
044816,000707:    6702           50164        CGOTO              INDEX    LOC                                   #  COMPUTED GO TO. PICK UP ADDRESS OF CADR
044817,000708:    6703           30001                           CA       1                                     #  LIST.
044818,000709:    6704           50116                           INDEX    ADDRWD                                #  ADD MODIFIER.
044819,000710:    6705           60000                           AD       0                                     
044820,000711:    6706           54004                           TS       FBANK                                 #  SELECT GOTO ADDRESS.
044821,000712:    6707           75012                           MASK     LOW10                                 
044822,000713:    6710           50000                           INDEX    A                                     
044823,000714:    6711           32000                           CA       10000                                 
044824,000715:    6712           54117                           TS       POLISH                                
044825,000716:    6713           16646                           TCF      GOTO       +1                         #  WITH ADDRESS IN A.
044826,000717: 
044827,000718:    6714           30165        SWBRANCH           CA       BANKSET                               #  SWITCH INSTRUCTIONS WHICH ELECT TO
044828,000719:    6715           54004                           TS       FBANK                                 #  BRANCH COME HERE TO DO SO.
044829,000720:    6716           50164                           INDEX    LOC                                   
044830,000721:    6717           30001                           CA       1                                     
044831,000722:    6720           54117                           TS       POLISH                                
044832,000723:    6721           16646                           TCF      GOTO       +1                         
044833,000724: 

Page 1020

044835,000726:                                                                                                  #           TRIPLE PRECISION BRANCHING ROUTINE. IF CALLING TC IS AT L, RETURN IS AS FOLLOWS:
044836,000727: 
044837,000728:                                                                                                  #           L+1  IF MPAC IS GREATER THAN ZERO.
044838,000729:                                                                                                  #           L+2  IF MPAC IS EQUAL TO +0 OR -0.
044839,000730:                                                                                                  #           L+3  IF MPAC IS LESS THAN ZERO.
044840,000731: 
044841,000732: 
044842,000733:    6722           10154        BRANCH             CCS      MPAC                                  
044843,000734:    6723           00002                           TC       Q                                     
044844,000735:    6724           16726                           TCF      +2                                    #  ON ZERO.
044845,000736:    6725           16740                           TCF      NEG                                   
044846,000737: 
044847,000738:    6726           10155                           CCS      MPAC       +1                         
044848,000739:    6727           00002                           TC       Q                                     
044849,000740:    6730           16732                           TCF      +2                                    
044850,000741:    6731           16740                           TCF      NEG                                   
044851,000742: 
044852,000743:    6732           10156                           CCS      MPAC       +2                         
044853,000744:    6733           00002                           TC       Q                                     
044854,000745:    6734           16736                           TCF      +2                                    
044855,000746:    6735           16740                           TCF      NEG                                   
044856,000747: 
044857,000748:    6736           50002        Q+1                INDEX    Q                                     
044858,000749:    6737           00001                           TC       1                                     
044859,000750: 
044860,000751:    6740           50002        NEG                INDEX    Q                                     #  IF FIRST NON-ZERO REGISTER WAS NEGATIVE.
044861,000752:    6741           00002                           TC       2                                     
044862,000753: 
044863,000754: 
044864,000755:    6742     6740               Q+2                =        NEG                                   
044865,000756: 
044866,000757:                                                                                                  #           ITRACE (3) REFERS TO "EXIT".
044867,000758:    6742           30165        EXIT               CA       BANKSET                               #  RESTORE USER'S BANK SETTING, AND LEAVE
044868,000759:    6743           54006                           TS       BBANK                                 #  INTERPRETIVE MODE.
044869,000760:    6744           50164                           INDEX    LOC                                   
044870,000761:    6745           00001                           TC       1                                     
044871,000762: 

Page 1021

044873,000764:                                                                                                  #  SECTION 3 - ADD/SUBTRACT PACKAGE.
044874,000765: 
044875,000766:                                                                                                  #           THE FOLLOWING OPERATIONS ARE PROVIDED FOR ADDING TO AND SUBTRACTING FROM THE MULTI-PURPOSE ACCUMULATOR
044876,000767:                                                                                                  #  MPAC:
044877,000768: 
044878,000769:                                                                                                  #           1.  DAD                DOUBLE PRECISION ADD.
044879,000770:                                                                                                  #           2.  DSU                DOUBLE PRECISION SUBTRACT.
044880,000771:                                                                                                  #           3.  BDSU               DOUBLE PRECISION SUBTRACT FROM.
044881,000772: 
044882,000773:                                                                                                  #           4.  TAD                TRIPLE PRECISION ADD.
044883,000774: 
044884,000775:                                                                                                  #           5.  VAD                VECTOR ADD.
044885,000776:                                                                                                  #           6.  VSU                VECTOR SUBTRACT.
044886,000777:                                                                                                  #           7.  BVSU               VECTOR SUBTRACT FROM.
044887,000778: 
044888,000779:                                                                                                  #  THE INTERPRETIVE OVERFLOW INDICATOR OVFIND IS SET NON-ZERO IF OVERFLOW OCCURS IN ANY OF THE ABOVE.
044889,000780: 
044890,000781:    6746           34735        VSU                CAF      BIT15                                 #  CHANGES 0 TO DCS.
044891,000782:    6747           16751                           TCF      +2                                    
044892,000783: 
044893,000784:    6750           34355        VAD                CAF      PRIO30                                #  CHANGES 0 TO DCA.
044894,000785:    6751           26116                           ADS      ADDRWD                                
044895,000786:    6752           00006                           EXTEND                                         
044896,000787:    6753           50116                           INDEX    ADDRWD                                
044897,000788:    6754           00003                           READ     HISCALAR                              #  DCA  2   OR   DCS  2
044898,000789:    6755           20160                           DAS      MPAC       +3                         
044899,000790:    6756           00006                           EXTEND                                         #  CHECK OVERFLOW.
044900,000791:    6757           16761                           BZF      +2                                    
044901,000792:    6760           07013                           TC       OVERFLWY                              
044902,000793: 
044903,000794:    6761           00006                           EXTEND                                         
044904,000795:    6762           50116                           INDEX    ADDRWD                                
044905,000796:    6763           00005                           READ     CHAN5                                 #  DCA  4  OR  DCS  4
044906,000797:    6764           20162                           DAS      MPAC       +5                         
044907,000798:    6765           00006                           EXTEND                                         
044908,000799:    6766           16770                           BZF      +2                                    
044909,000800:    6767           07010                           TC       OVERFLWZ                              
044910,000801: 
044911,000802:    6770           00006                           EXTEND                                         
044912,000803:    6771           50116                           INDEX    ADDRWD                                
044913,000804:    6772           00001                           READ     LCHAN                                 #  DCA  0  OR  DCS  0
044914,000805:    6773           16777                           TCF      ENDVXV                                
044915,000806: 
044916,000807:    6774           00006        DAD                EXTEND                                         
044917,000808:    6775           50116                           INDEX    ADDRWD                                
044918,000809:    6776           30001                           DCA      0                                     
044919,000810:    6777           20155        ENDVXV             DAS      MPAC                                  #  VXV FINISHES HERE.
044920,000811:    7000           00006                           EXTEND                                         
044921,000812:    7001           16060                           BZF      DANZIG                                
044922,000813: 

Page 1022

044924,000815:    7002           07016        SETOVF             TC       OVERFLOW                              
044925,000816:    7003           16060                           TCF      DANZIG                                
044926,000817: 

Page 1023

044928,000819:    7004           00006        DSU                EXTEND                                         
044929,000820:    7005           50116                           INDEX    ADDRWD                                
044930,000821:    7006           40001                           DCS      0                                     
044931,000822:    7007           16777                           TCF      ENDVXV                                
044932,000823: 
044933,000824:    7010           54001        OVERFLWZ           TS       L                                     #  ENTRY FOR THIRD COMPONENT.
044934,000825:    7011           34756                           CAF      FIVE                                  
044935,000826:    7012           17015                           TCF      +3                                    
044936,000827: 
044937,000828:    7013           54001        OVERFLWY           TS       L                                     #  ENTRY FOR SECOND COMPONENT.
044938,000829:    7014           36244                           CAF      THREE                                 
044939,000830:    7015           56001                           XCH      L                                     
044940,000831: 
044941,000832:    7016           50000        OVERFLOW           INDEX    A                                     #  ENTRY FOR 1ST COMP OR DP (L=0).
044942,000833:    7017           44734                           CS       LIMITS                                #  PICK UP POSMAX OR NEGMAX.
044943,000834:    7020           54130                           TS       BUF                                   
044944,000835:    7021           00006                           EXTEND                                         
044945,000836:    7022           24000                           AUG      A                                     #  FORCE OVERFLOW.
044946,000837:    7023           50001                           INDEX    L                                     
044947,000838:    7024           26155                           ADS      MPAC       +1                         
044948,000839:    7025           54007                           TS       7                                     
044949,000840:    7026           34755                           CAF      ZERO                                  
044950,000841:    7027           60130                           AD       BUF                                   
044951,000842:    7030           50001                           INDEX    L                                     
044952,000843:    7031           26154                           ADS      MPAC                                  
044953,000844:    7032           54007                           TS       7                                     
044954,000845:    7033           00002                           TC       Q                                     #  NO OVERFLOW EXIT.
044955,000846:    7034           17151                           TCF      SETOVF2                               #  SET OVFIND AND EXIT.
044956,000847: 
044957,000848:    7035           00006        BVSU               EXTEND                                         
044958,000849:    7036           50116                           INDEX    ADDRWD                                
044959,000850:    7037           30003                           DCA      2                                     
044960,000851:    7040           52160                           DXCH     MPAC       +3                         
044961,000852:    7041           00006                           EXTEND                                         
044962,000853:    7042           40001                           DCOM                                           
044963,000854:    7043           20160                           DAS      MPAC       +3                         
044964,000855:    7044           00006                           EXTEND                                         
044965,000856:    7045           17047                           BZF      +2                                    
044966,000857:    7046           07013                           TC       OVERFLWY                              
044967,000858: 
044968,000859:    7047           00006                           EXTEND                                         
044969,000860:    7050           50116                           INDEX    ADDRWD                                
044970,000861:    7051           30005                           DCA      4                                     
044971,000862:    7052           52162                           DXCH     MPAC       +5                         
044972,000863:    7053           00006                           EXTEND                                         
044973,000864:    7054           40001                           DCOM                                           
044974,000865:    7055           20162                           DAS      MPAC       +5                         
044975,000866:    7056           00006                           EXTEND                                         
044976,000867:    7057           17061                           BZF      +2                                    
044977,000868:    7060           07010                           TC       OVERFLWZ                              
044978,000869: 

Page 1024

044980,000871:    7061           00006        BDSU               EXTEND                                         
044981,000872:    7062           50116                           INDEX    ADDRWD                                
044982,000873:    7063           30001                           DCA      0                                     
044983,000874:    7064           52155                           DXCH     MPAC                                  
044984,000875:    7065           00006                           EXTEND                                         
044985,000876:    7066           40001                           DCOM                                           
044986,000877:    7067           16777                           TCF      ENDVXV                                
044987,000878: 

Page 1025

044989,000880:                                                                                                  #           TRIPLE PRECISION ADD ROUTINE.
044990,000881: 
044991,000882:    7070           00006        TAD                EXTEND                                         
044992,000883:    7071           50116                           INDEX    ADDRWD                                
044993,000884:    7072           30002                           DCA      1                                     #  ADD MINOR PARTS FIRST.
044994,000885:    7073           20156                           DAS      MPAC       +1                         
044995,000886:    7074           50116                           INDEX    ADDRWD                                
044996,000887:    7075           60000                           AD       0                                     
044997,000888:    7076           60154                           AD       MPAC                                  
044998,000889:    7077           54154                           TS       MPAC                                  
044999,000890:    7100           16060                           TCF      DANZIG                                
045000,000891: 
045001,000892:    7101           17002                           TCF      SETOVF                                #  SET OVFIND IF SUCH OCCURS.
045002,000893: 

Page 1026

045004,000895:                                                                                                  #  ARITHMETIC SUBROUTINES REQUIRED IN FIXED-FIXED.
045005,000896: 
045006,000897:                                                                                                  #           1.  DMPSUB     DOUBLE PRECISION MULTIPLY. MULTIPLY THE CONTENTS OF MPAC,+1 BY THE DP WORD WHOSE ADDRESS
045007,000898:                                                                                                  #                          IS IN ADDRWD AND LEAVE A TRIPLE PRECISION RESULT IN MPAC.
045008,000899:                                                                                                  #           2.  ROUNDSUB   ROUND THE TRIPLE PRECISON CONTENTS OF MPAC TO DOUBLE PRECISION.
045009,000900:                                                                                                  #           3.  DOTSUB     TAKE THE DOT PRODUCT OF THE VECTOR IN MPAC AND THE VECTOR WHOSE ADDRESS IS IN ADDRWD
045010,000901:                                                                                                  #                          AND LEAVE THE TRIPLE PRECISION RESULT IN MPAC.
045011,000902:                                                                                                  #           4.  POLY       USING THE CONTENTS OF MPAC AS A DP ARGUMENT, EVALUATE THE POLYNOMIAL WHOSE DEGREE AND
045012,000903:                                                                                                  #                          COEFFICIENTS IMMEDIATELY FOLLOW THE TC POLY INSTRUCTION (SEE ROUTINE FOR DETAILS.)
045013,000904: 
045014,000905: 
045015,000906:    7102           50002        DMP                INDEX    Q                                     #  BASIC SUBROUTINE FOR USE BY PINBALL, ETC
045016,000907:    7103           30000                           CAF      0                                     #  ADRES OF ARGUMENT FOLLOWS  TC DMP  .
045017,000908:    7104           24002                           INCR     Q                                     
045018,000909:    7105           54116                 -1        TS       ADDRWD                                #  (PROLOGUE FOR SETTING ADDRWD.)
045019,000910: 
045020,000911:    7106           50116        DMPSUB             INDEX    ADDRWD                                #  GET MINOR PART OF OPERAND AT C(ADDRWD).
045021,000912:    7107           30001                           CA       1                                     
045022,000913:    7110           54156                           TS       MPAC       +2                         #  THIS WORKS FOR SQUARING MPAC AS WELL.
045023,000914:    7111           34755                           CAF      ZERO                                  #  SET MPAC +1 TO ZERO SO WE CAN ACCUMULATE
045024,000915:    7112           56155                           XCH      MPAC       +1                         #  THE PARTIAL PRODUCTS WITH DAS
045025,000916:    7113           54135                           TS       MPTEMP                                #  INSTRUCTIONS.
045026,000917:    7114           00006                           EXTEND                                         
045027,000918:    7115           70156                           MP       MPAC       +2                         #  MINOR OF MPAC X MINOR OF C(ADDRWD).
045028,000919: 
045029,000920:    7116           56156                           XCH      MPAC       +2                         #  DISCARD MINOR PART OF ABOVE RESULT AND
045030,000921:    7117           00006                           EXTEND                                         #  FORM MAJOR OF MPAC X MINOR OF C(ADDRWD).
045031,000922:    7120           70154                           MP       MPAC                                  
045032,000923:    7121           20156                           DAS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
045033,000924: 
045034,000925:    7122           50116                           INDEX    ADDRWD                                #  GET MAJOR PART OF ARGUMENT AT C(ADDRWD).
045035,000926:    7123           30000                           CA       0                                     
045036,000927:    7124           56135                           XCH      MPTEMP                                #  SAVE AND BRING OUT MINOR OF MPAC.
045037,000928:    7125           00006        DMPSUB2            EXTEND                                         
045038,000929:    7126           70135                           MP       MPTEMP                                #  MAJOR OF C(ADDRWD) X MINOR OF MPAC.
045039,000930:    7127           20156                           DAS      MPAC       +1                         #  ACCUMULATE, SETTING A TO NET OVERFLOW.
045040,000931: 
045041,000932:    7130           56154                           XCH      MPAC                                  #  SETTING MPAC TO 0 OR +-1.
045042,000933:    7131           00006                           EXTEND                                         
045043,000934:    7132           70135                           MP       MPTEMP                                #  MAJOR OF MPAC X MAJOR OF C(ADDRWD).
045044,000935:    7133           20155                           DAS      MPAC                                  #  GUARANTEED NO OVERFLOW.
045045,000936:    7134           00002                           TC       Q                                     #  49 MCT = .573 MS. INCLUDING RETURN.
045046,000937: 

Page 1027

045048,000939:                                                                                                  #           ROUND MPAC TO DOUBLE PRECISION, SETTING OVFIND ON THE RARE EVENT OF OVERFLOW.
045049,000940: 
045050,000941:    7135           34755        ROUNDSUB           CAF      ZERO                                  #  SET MPAC +2 = 0 FOR SCALARS AND CHANGE
045051,000942:    7136           54163                 +1        TS       MODE                                  #  MODE TO DP.
045052,000943: 
045053,000944:    7137           56156        VROUND             XCH      MPAC       +2                         #  BUT WE NEEDNT TAKE THE TIME FOR VECTORS.
045054,000945:    7140           60000                           DOUBLE                                         
045055,000946:    7141           54001                           TS       L                                     
045056,000947:    7142           00002                           TC       Q                                     
045057,000948: 
045058,000949:    7143           60155                           AD       MPAC       +1                         #  ADD ROUNDING BIT IF MPAC +2 WAS GREATER
045059,000950:    7144           54155                           TS       MPAC       +1                         #  THAN .5 IN MAGNITUDE.
045060,000951:    7145           00002                           TC       Q                                     
045061,000952: 
045062,000953:    7146           60154                           AD       MPAC                                  #  PROPAGATE INTERFLOW.
045063,000954:    7147           54154                           TS       MPAC                                  
045064,000955:    7150           00002                           TC       Q                                     
045065,000956: 
045066,000957:    7151           54121        SETOVF2            TS       OVFIND                                #  (RARE).
045067,000958:    7152           00002                           TC       Q                                     
045068,000959: 

Page 1028

045070,000961:                                                                                                  #           THE DOT PRODUCT SUBROUTINE USUALLY FORMS THE DOT PRODUCT OF THE VECTOR IN MPAC WITH A STANDARD SIX
045071,000962:                                                                                                  #  REGISTER VECTOR WHOSE ADDRESS IS IN ADDRWD. IN THIS CASE C(DOTINC) ARE SET TO 2. VXM, HOWEVER, SETS C(DOTINC) TO
045072,000963:                                                                                                  #  6 SO THAT DOTSUB DOTS MPAC WITH A COLUMN VECTOR OF THE MATRIX IN QUESTION IN THIS CASE.
045073,000964: 
045074,000965: 
045075,000966:    7153           34752        PREDOT             CAF      TWO                                   #  PROLOGUE TO SET DOTINC TO 2.
045076,000967:    7154           54136                           TS       DOTINC                                
045077,000968: 
045078,000969:    7155           00006        DOTSUB             EXTEND                                         
045079,000970:    7156           22137                           QXCH     DOTRET                                #  SAVE RETURN.
045080,000971:    7157           07106                           TC       DMPSUB                                #  DOT X COMPONENTS.
045081,000972:    7160           52160                           DXCH     MPAC       +3                         #  POSITION Y COMPONENT OF MPAC FOR
045082,000973:    7161           52155                           DXCH     MPAC                                  #  MULTIPLICATION WHILE SAVING RESULT IN
045083,000974:    7162           52131                           DXCH     BUF                                   #  THREE WORD BUFFER, BUF.
045084,000975:    7163           30156                           CA       MPAC       +2                         
045085,000976:    7164           54132                           TS       BUF        +2                         
045086,000977: 
045087,000978:    7165           30136                           CA       DOTINC                                #  ADVANCE ADDRWD TO Y COMPONENT OF
045088,000979:    7166           26116                           ADS      ADDRWD                                #  OTHER ARGUMENT.
045089,000980:    7167           07106                           TC       DMPSUB                                
045090,000981:    7170           52156                           DXCH     MPAC       +1                         #  ACCUMULATE PARTIAL PRODUCTS.
045091,000982:    7171           20132                           DAS      BUF        +1                         
045092,000983:    7172           60154                           AD       MPAC                                  
045093,000984:    7173           60130                           AD       BUF                                   
045094,000985:    7174           54130                           TS       BUF                                   
045095,000986:    7175           17177                           TCF      +2                                    
045096,000987:    7176           54121                           TS       OVFIND                                #  IF OVERFLOW OCCURS.
045097,000988: 
045098,000989:    7177           52162                           DXCH     MPAC       +5                         #  MULTIPLY Z COMPONENTS.
045099,000990:    7200           52155                           DXCH     MPAC                                  
045100,000991:    7201           30136                           CA       DOTINC                                
045101,000992:    7202           26116                           ADS      ADDRWD                                
045102,000993:    7203           07106                           TC       DMPSUB                                
045103,000994:    7204           52132        ENDDOT             DXCH     BUF        +1                         #  LEAVE FINAL ACCUMULATION IN MPAC.
045104,000995:    7205           20156                           DAS      MPAC       +1                         
045105,000996:    7206           60154                           AD       MPAC                                  
045106,000997:    7207           60130                           AD       BUF                                   
045107,000998:    7210           54154                           TS       MPAC                                  
045108,000999:    7211           00137                           TC       DOTRET                                
045109,001000: 
045110,001001:    7212           07016                           TC       OVERFLOW                              #  ON OVERFLOW HERE.
045111,001002:    7213           00137                           TC       DOTRET                                
045112,001003: 

Page 1029

045114,001005:                                                                                                  #  DOUBLE PRECISION POLYNOMIAL EVALUATOR
045115,001006: 
045116,001007:                                                                                                  #                                     N        N-1
045117,001008:                                                                                                  #           THIS ROUTINE EVALUATES A X  + A   X    + ... + A X + A  LEAVING THE DP RESULT IN MPAC ON EXIT.
045118,001009:                                                                                                  #                                   N      N-1              1     0
045119,001010: 
045120,001011:                                                                                                  #  THE ROUTINE HAS TWO ENTRIES
045121,001012: 
045122,001013:                                                                                                  #           1. ENTRY THRU POWRSERS. THE COEFFICIENTS MAY BE EITHER IN FIXED OR ERASABLE, THE CALL IS BY
045123,001014:                                                                                                  #              TC POWRSERS, AND THE RETURN IS TO LOC(TC POWRSERS)+1. THE ENTERING DATA MUST BE AS FOLLOWS
045124,001015: 
045125,001016:                                                                                                  #                                          A        SP     LOC-3           ADDRESS FOR REFERENCING COEF TABLE
045126,001017:                                                                                                  #                                          L        SP     N-1             N IS THE DEGREE OF THE POWER SERIES
045127,001018:                                                                                                  #                                          MPAC     DP     X               ARGUMENT
045128,001019: 
045129,001020:                                                                                                  #                                          LOC-2N   DP     A(0)
045130,001021:                                                                                                  #                                                   ...
045131,001022:                                                                                                  #                                          LOC      DP     A(N)
045132,001023: 
045133,001024:                                                                                                  #           2. ENTRY THRU POLY. THE CALL TO POLY AND THE ENTERING DATA MUST BE AS FOLLOWS
045134,001025: 
045135,001026:                                                                                                  #                                          MPAC     DP     X               ARGUMENT
045136,001027:                                                                                                  #                                          LOC      TC     POLY
045137,001028:                                                                                                  #                                          LOC+1    SP     N-1
045138,001029:                                                                                                  #                                          LOC+2    DP     A(0)
045139,001030:                                                                                                  #                                                   ...
045140,001031:                                                                                                  #                                          LOC+2N+2 DP     A(N)            RETURN IS TO LOC+2N+4
045141,001032: 
045142,001033:    7214           00006        POWRSERS           EXTEND                                         
045143,001034:    7215           22141                           QXCH     POLYRET                               #  RETURN ADDRESS
045144,001035:    7216           54117                           TS       POLISH                                #  POWER SERIES ADDRESS
045145,001036:    7217           22140                           LXCH     POLYCNT                               #  N-1 TO COUNTER
045146,001037:    7220           17231                           TCF      POLYCOM                               #  SKIP SET UP BY POLY
045147,001038: 
045148,001039:    7221           50002        POLY               INDEX    Q                                     
045149,001040:    7222           30000                           CAF      0                                     
045150,001041:    7223           54140                           TS       POLYCNT                               #  N-1 TO COUNTER
045151,001042:    7224           60000                           DOUBLE                                         
045152,001043:    7225           60002                           AD       Q                                     
045153,001044:    7226           54117                           TS       POLISH                                #  L(A(N))-3 TO POLISH
045154,001045:    7227           64756                           AD       FIVE                                  
045155,001046:    7230           54141                           TS       POLYRET                               #  STORE RETURN ADDRESS
045156,001047: 
045157,001048:    7231           36272        POLYCOM            CAF      LVBUF                                 #  INCOMING X WILL BE MOVED TO VBUF, SO
045158,001049:    7232           54116                           TS       ADDRWD                                #  SET ADDRWD SO DMPSUB WILL MPY BY VBUF.
045159,001050: 
045160,001051:    7233           00006                           EXTEND                                         
045161,001052:    7234           50117                           INDEX    POLISH                                
045162,001053:    7235           30004                           DCA      3                                     

Page 1030

045164,001055:    7236           52155                           DXCH     MPAC                                  #  LOAD A(N) INTO MPAC,
045165,001056:    7237           52123                           DXCH     VBUF                                  #  SAVING X IN VBUF
045166,001057:    7240           17244                           TCF      POLY2                                 
045167,001058: 
045168,001059:    7241           54140        POLYLOOP           TS       POLYCNT                               #  SAVE DECREMENTED LOOP COUNTER
045169,001060:    7242           44752                           CS       TWO                                   
045170,001061:    7243           26117                           ADS      POLISH                                #  REGRESS COEFFICIENT POINTER
045171,001062: 
045172,001063:    7244           07106        POLY2              TC       DMPSUB                                #  MULTIPLY BY X
045173,001064:    7245           00006                           EXTEND                                         
045174,001065:    7246           50117                           INDEX    POLISH                                
045175,001066:    7247           30002                           DCA      1                                     #  ADD IN NEXT COEFFICIENT
045176,001067:    7250           20155                           DAS      MPAC                                  #  USERS RESPONSIBILITY TO ASSURE NO OVFLOW
045177,001068: 
045178,001069:    7251           10140                           CCS      POLYCNT                               
045179,001070:    7252           17241                           TCF      POLYLOOP                              
045180,001071:    7253           00141                           TC       POLYRET                               #  RETURN CALLER
045181,001072: 

Page 1031

045183,001074:                                                                                                  #           MISCELLANEOUS MULTI-PRECISION ROUTINES REQUIRED IN FIXED-FIXED BUT NOT USED BY THE INTERPRETER.
045184,001075: 
045185,001076:    7254           34755        DPAGREE            CAF      ZERO                                  #  DOUBLE PRECISION ENTRY -
045186,001077:    7255           54156                           TS       MPAC       +2                         #  ZERO LOW-ORDER WORD
045187,001078: 
045188,001079:    7256           22002        TPAGREE            LXCH     Q                                     #  FORCE SIGN AGREEMENT AMONG THE TRIPLE
045189,001080:    7257           06722                           TC       BRANCH                                #  PRECISION CONTENTS OF MPAC.  RETURNING
045190,001081:    7260           17264                           TCF      ARG+                                  #  WITH SIGNUM OF THE INPUT IN A.
045191,001082:    7261           17304                           TCF      ARGZERO                               
045192,001083: 
045193,001084:    7262           44733                           CS       POSMAX                                #  IF NEGATIVE.
045194,001085:    7263           17265                           TCF      +2                                    
045195,001086: 
045196,001087:    7264           34733        ARG+               CAF      POSMAX                                
045197,001088:    7265           54002                           TS       Q                                     
045198,001089:    7266           00006                           EXTEND                                         
045199,001090:    7267           24000                           AUG      A                                     #  FORMS +-1.0.
045200,001091:    7270           60156                           AD       MPAC       +2                         
045201,001092:    7271           54156                           TS       MPAC       +2                         
045202,001093:    7272           34755                           CAF      ZERO                                  
045203,001094:    7273           60002                           AD       Q                                     
045204,001095:    7274           60155                           AD       MPAC       +1                         
045205,001096:    7275           54155                           TS       MPAC       +1                         
045206,001097:    7276           34755                           CAF      ZERO                                  
045207,001098:    7277           60002                           AD       Q                                     #  Q STILL HAS POSMAX OR NEGMAX IN IT.
045208,001099:    7300           60154                           AD       MPAC                                  
045209,001100:    7301           54154        ARGZERO2           TS       MPAC                                  #  ALWAYS SKIPPING UNLESS ARGZERO.
045210,001101:    7302           54155                           TS       MPAC       +1                         
045211,001102:    7303           00001                           TC       L                                     #  RETURN VIA L.
045212,001103: 
045213,001104:    7304           54156        ARGZERO            TS       MPAC       +2                         #  SET ALL THREE MPAC REGISTERS TO ZERO.
045214,001105:    7305           17301                           TCF      ARGZERO2                              
045215,001106: 
045216,001107:                                                                                                  #           SHORTMP MULTIPLIES THE TP CONTENTS OF MPAC BY THE SINGLE PRECISION NUMBER ARRIVING IN A.
045217,001108: 
045218,001109:    7306           54135        SHORTMP            TS       MPTEMP                                
045219,001110:    7307           00006                           EXTEND                                         
045220,001111:    7310           70156                           MP       MPAC       +2                         
045221,001112:    7311           54156                           TS       MPAC       +2                         
045222,001113:    7312           34755        SHORTMP2           CAF      ZERO                                  #  SO SUBSEQUENT DAS WILL WORK.
045223,001114:    7313           56155                           XCH      MPAC       +1                         
045224,001115:    7314           17125                           TCF      DMPSUB2                               
045225,001116: 

Page 1032

045227,001118:                                                                                                  #         DMPNSUB MULTIPLIES THE DP FRACTION ARRIVING IN MPAC BY THE SP
045228,001119:                                                                                                  #  INTEGER ARRIVING IN A.  THE DP PRODUCT DEPARTS BOTH IN MPAC AND IN
045229,001120:                                                                                                  #  A AND L.  NOTE THAT DMPNSUB NORMALLY INCREASES THE MAGNITUDE OF THE
045230,001121:                                                                                                  #  CONTENTS OF MPAC.  THE CUSTOMER MUST INSURE THAT B(A) X B(MPAC,MPAC+1)
045231,001122:                                                                                                  #  AND B(A) X B(MPAC) ARE LESS THAN 1 IN MAGNITUDE, WHERE B, AS IS OBVIOUS,
045232,001123:                                                                                                  #  INDICATES THE ARRIVING CONTENTS.
045233,001124: 
045234,001125:    7315           54135        DMPNSUB            TS       DMPNTEMP                              
045235,001126:    7316           00006                           EXTEND                                         
045236,001127:    7317           70155                           MP       MPAC       +1                         
045237,001128:    7320           52155                           DXCH     MPAC                                  #  LOW PRODUCT TO MPAC, HIGH FACTOR TO A
045238,001129:    7321           00006                           EXTEND                                         
045239,001130:    7322           70135                           MP       DMPNTEMP                              
045240,001131:    7323           30001                           CA       L                                     
045241,001132:    7324           26154                           ADS      MPAC                                  #  COMPLETING THE PRODUCT IN MPAC
045242,001133:    7325           00006                           EXTEND                                         
045243,001134:    7326           30155                           DCA      MPAC                                  #  BRINGING THE PRODUCT INTO A AND L
045244,001135:    7327           00002                           TC       Q                                     
045245,001136: 

Page 1033

045247,001138:                                                                                                  #  MISCELLANEOUS VECTOR OPERATIONS. INCLUDED HERE ARE THE FOLLOWING:
045248,001139: 
045249,001140:                                                                                                  #           1.  DOT                DP VECTOR DOT PRODUCT.
045250,001141:                                                                                                  #           2.  VXV                DP VECTOR CROSS PRODUCT.
045251,001142:                                                                                                  #           3.  VXSC               DP VECTOR TIMES SCALAR.
045252,001143:                                                                                                  #           4.  V/SC               DP VECTOR DIVIDED BY SCALAR.
045253,001144:                                                                                                  #           5.  VPROJ              DP VECTOR PROJECTION. ( (MPAC.X)MPAC ).
045254,001145:                                                                                                  #           6.  VXM                DP VECTOR POST-MULTIPLIED BY MATRIX.
045255,001146:                                                                                                  #           7.  MXV                DP VECTOR PRE-MULTIPLIED BY MATRIX.
045256,001147: 
045257,001148: 
045258,001149:    7330           07153        DOT                TC       PREDOT                                #  DO THE DOT PRODUCT AND EXIT, CHANGING
045259,001150:    7331           34755        DMODE              CAF      ZERO                                  #  THE MODE TO DP SCALAR.
045260,001151:    7332           16057                           TCF      NEWMODE                               
045261,001152: 
045262,001153: 
045263,001154:    7333           34752        MXV                CAF      TWO                                   #  SET UP MATINC AND DOTINC FOR ROW
045264,001155:    7334           54140                           TS       MATINC                                #  VECTORS.
045265,001156:    7335           17341                           TCF      VXM/MXV                               #  GO TO COMMON PORTION.
045266,001157: 
045267,001158:    7336           44363        VXM                CS       TEN                                   #  SET MATINC AND DOTINC TO REFER TO MATRIX
045268,001159:    7337           54140                           TS       MATINC                                #  AS THREE COLUMN VECTORS.
045269,001160:    7340           36241                           CAF      SIX                                   
045270,001161: 

Page 1034

045272,001163:                                                                                                  #           COMMON PORTION OF MXV AND VXM.
045273,001164: 
045274,001165:    7341           54136        VXM/MXV            TS       DOTINC                                
045275,001166:                                                                                                  #           ITRACE (2) REFERS TO "VXM/MXV".
045276,001167:    7342           07531                           TC       MPACVBUF                              #  SAVE VECTOR IN MPAC FOR FURTHER USE.
045277,001168: 
045278,001169:    7343           07155                           TC       DOTSUB                                #  GO DOT TO GET X COMPONENT OF ANSWER.
045279,001170:    7344           00006                           EXTEND                                         
045280,001171:    7345           30123                           DCA      VBUF                                  #  MOVE MPAC VECTOR BACK INTO MPAC, SAVING
045281,001172:    7346           52155                           DXCH     MPAC                                  #  NEW X COMPONENT IN BUF2.
045282,001173:    7347           52134                           DXCH     BUF2                                  
045283,001174:    7350           00006                           EXTEND                                         
045284,001175:    7351           30125                           DCA      VBUF       +2                         
045285,001176:    7352           52160                           DXCH     MPAC       +3                         
045286,001177:    7353           00006                           EXTEND                                         
045287,001178:    7354           30127                           DCA      VBUF       +4                         
045288,001179:    7355           52162                           DXCH     MPAC       +5                         
045289,001180:    7356           30140                           CA       MATINC                                #  INITIALIZE ADDRWD FOR NEXT DOT PRODUCT.
045290,001181:    7357           26116                           ADS      ADDRWD                                #  FORMS BASE ADDRESS OF NEXT COLUMN(ROW).
045291,001182: 
045292,001183:    7360           07155                           TC       DOTSUB                                
045293,001184:    7361           52123                           DXCH     VBUF                                  #  MOVE GIVEN VECTOR BACK TO MPAC, SAVING Y
045294,001185:    7362           52155                           DXCH     MPAC                                  #  COMPONENT OF ANSWER IN VBUF +2.
045295,001186:    7363           52125                           DXCH     VBUF       +2                         
045296,001187:    7364           52160                           DXCH     MPAC       +3                         
045297,001188:    7365           52127                           DXCH     VBUF       +4                         
045298,001189:    7366           52162                           DXCH     MPAC       +5                         
045299,001190:    7367           30140                           CA       MATINC                                #  FORM ADDRESS OF LAST COLUMN OR ROW.
045300,001191:    7370           26116                           ADS      ADDRWD                                
045301,001192: 
045302,001193:    7371           07155                           TC       DOTSUB                                
045303,001194:    7372           52134                           DXCH     BUF2                                  #  ANSWER NOW COMPLETE. PUT COMPONENTS INTO
045304,001195:    7373           52155                           DXCH     MPAC                                  #  PROPER MPAC REGISTERS.
045305,001196:    7374           52162                           DXCH     MPAC       +5                         
045306,001197:    7375           52125                           DXCH     VBUF       +2                         
045307,001198:    7376           52160                           DXCH     MPAC       +3                         
045308,001199:    7377           16060                           TCF      DANZIG                                #  EXIT.
045309,001200: 

Page 1035

045311,001202:                                                                                                  #           VXSC - VECTOR TIMES SCALAR.
045312,001203: 
045313,001204:    7400           10163        VXSC               CCS      MODE                                  #  TEST PRESENT MODE.
045314,001205:    7401           17427                           TCF      DVXSC                                 #  SEPARATE ROUTINE WHEN SCALAR IS IN MPAC.
045315,001206:    7402           17427                           TCF      DVXSC                                 
045316,001207: 
045317,001208:    7403           07106        VVXSC              TC       DMPSUB                                #  COMPUTE X COMPONENT
045318,001209:    7404           07137                           TC       VROUND                                #  AND ROUND IT.
045319,001210:    7405           52160                           DXCH     MPAC       +3                         #  PUT Y COMPONENT INTO MPAC SAVING MPAC IN
045320,001211:    7406           52155                           DXCH     MPAC                                  #  MPAC +3.
045321,001212:    7407           52160                           DXCH     MPAC       +3                         
045322,001213: 
045323,001214:    7410           07106                           TC       DMPSUB                                #  DO SAME FOR Y AND Z COMPONENTS.
045324,001215:    7411           07137                           TC       VROUND                                
045325,001216:    7412           52162                           DXCH     MPAC       +5                         
045326,001217:    7413           52155                           DXCH     MPAC                                  
045327,001218:    7414           52162                           DXCH     MPAC       +5                         
045328,001219: 
045329,001220:    7415           07106                           TC       DMPSUB                                
045330,001221:    7416           07137                           TC       VROUND                                
045331,001222:    7417           52155        VROTATEX           DXCH     MPAC                                  #  EXIT USED TO RESTORE MPAC AFTER THIS
045332,001223:    7420           52162                           DXCH     MPAC       +5                         #  TYPE OF ROTATION. CALLED BY VECTOR SHIFT
045333,001224:    7421           52160                           DXCH     MPAC       +3                         #  RIGHT, V/SC, ETC.
045334,001225:    7422           52155                           DXCH     MPAC                                  
045335,001226:    7423           16060                           TCF      DANZIG                                
045336,001227: 

Page 1036

045338,001229:                                                                                                  #           DP VECTOR PROJECTION ROUTINE.
045339,001230: 
045340,001231:    7424           07153        VPROJ              TC       PREDOT                                #  (MPAC.X)MPAC IS COMPUTED AND LEFT IN
045341,001232:    7425           44751                           CS       FOUR                                  #  MPAC. DO DOT AND FALL INTO DVXSC.
045342,001233:    7426           26116                           ADS      ADDRWD                                
045343,001234: 
045344,001235:                                                                                                  #           VXSC WHEN SCALAR ARRIVES IN MPAC AND VECTOR IS AT X.
045345,001236: 
045346,001237:    7427           00006        DVXSC              EXTEND                                         #  SAVE SCALAR IN MPAC +3 AND GET X
045347,001238:    7430           30155                           DCA      MPAC                                  #  COMPONENT OF ANSWER.
045348,001239:    7431           52160                           DXCH     MPAC       +3                         
045349,001240:    7432           07106                           TC       DMPSUB                                
045350,001241:    7433           07137                           TC       VROUND                                
045351,001242: 
045352,001243:    7434           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO Y COMPONENT OF X.
045353,001244:    7435           26116                           ADS      ADDRWD                                
045354,001245:    7436           00006                           EXTEND                                         
045355,001246:    7437           30160                           DCA      MPAC       +3                         #  PUT SCALAR BACK INTO MPAC AND SAVE
045356,001247:    7440           52155                           DXCH     MPAC                                  #  X RESULT IN MPAC +5.
045357,001248:    7441           52162                           DXCH     MPAC       +5                         
045358,001249:    7442           07106                           TC       DMPSUB                                
045359,001250:    7443           07137                           TC       VROUND                                
045360,001251: 
045361,001252:    7444           34752                           CAF      TWO                                   
045362,001253:    7445           26116                           ADS      ADDRWD                                #  TO Z COMPONENT.
045363,001254:    7446           52160                           DXCH     MPAC       +3                         #  BRING SCALAR BACK, PUTTING Y RESULT IN
045364,001255:    7447           52155                           DXCH     MPAC                                  #  THE PROPER PLACE.
045365,001256:    7450           52160                           DXCH     MPAC       +3                         
045366,001257:    7451           07106                           TC       DMPSUB                                
045367,001258:    7452           07137                           TC       VROUND                                
045368,001259: 
045369,001260:    7453           52155                           DXCH     MPAC                                  #  PUT Z COMPONENT IN PROPER PLACE, ALSO
045370,001261:    7454           52162                           DXCH     MPAC       +5                         #  POSITIONING X.
045371,001262:    7455           52155                           DXCH     MPAC                                  
045372,001263: 
045373,001264:    7456           16520                           TCF      VMODE                                 #  MODE HAS CHANGED TO VECTOR.
045374,001265: 

Page 1037

045376,001267:                                                                                                  #           THE VECTOR CROSS PRODUCT ROUTINE CALCULATES (X M -X M ,X M -X M ,X M -X M ) WHERE M IS THE VECTOR IN
045377,001268:                                                                                                  #                                                         3 2  2 3  1 3  3 1  2 1  1 2
045378,001269:                                                                                                  #  MPAC AND X THE VECTOR AT THE GIVEN ADDRESS.
045379,001270: 
045380,001271: 
045381,001272:    7457           00006        VXV                EXTEND                                         
045382,001273:    7460           30162                           DCA      MPAC       +5                         #  FORM UP M3X1, LEAVING M1 IN VBUF.
045383,001274:    7461           52155                           DXCH     MPAC                                  
045384,001275:    7462           52123                           DXCH     VBUF                                  
045385,001276:    7463           07106                           TC       DMPSUB                                #  BY X1.
045386,001277: 
045387,001278:    7464           00006                           EXTEND                                         
045388,001279:    7465           40160                           DCS      MPAC       +3                         #  CALCULATE -X1M2, SAVING X1M3 IN VBUF +2.
045389,001280:    7466           52155                           DXCH     MPAC                                  
045390,001281:    7467           52125                           DXCH     VBUF       +2                         
045391,001282:    7470           07106                           TC       DMPSUB                                
045392,001283: 
045393,001284:    7471           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO X2.
045394,001285:    7472           26116                           ADS      ADDRWD                                
045395,001286:    7473           00006                           EXTEND                                         
045396,001287:    7474           40162                           DCS      MPAC       +5                         #  PREPARE TO GET -X2M3, SAVING -X1M2 IN
045397,001288:    7475           52155                           DXCH     MPAC                                  #  MPAC +5.
045398,001289:    7476           52162                           DXCH     MPAC       +5                         
045399,001290:    7477           07106                           TC       DMPSUB                                
045400,001291: 
045401,001292:    7500           00006                           EXTEND                                         
045402,001293:    7501           30123                           DCA      VBUF                                  #  GET X2M1, SAVING -X2M3 IN VBUF +4.
045403,001294:    7502           52155                           DXCH     MPAC                                  
045404,001295:    7503           52127                           DXCH     VBUF       +4                         
045405,001296:    7504           07106                           TC       DMPSUB                                
045406,001297: 
045407,001298:    7505           34752                           CAF      TWO                                   #  ADVANCE ADDRWD TO X3.
045408,001299:    7506           26116                           ADS      ADDRWD                                
045409,001300:    7507           00006                           EXTEND                                         
045410,001301:    7510           40123                           DCS      VBUF                                  #  GET -X3M1, ADDING X2M1 TO MPAC +5 TO
045411,001302:    7511           52155                           DXCH     MPAC                                  #  COMPLETE THE Z COMPONENT OF THE ANSWER.
045412,001303:    7512           20162                           DAS      MPAC       +5                         
045413,001304: 
045414,001305:    7513           00006                           EXTEND                                         
045415,001306:    7514           17516                           BZF      +2                                    
045416,001307:    7515           07010                           TC       OVERFLWZ                              
045417,001308: 
045418,001309:    7516           07106                           TC       DMPSUB                                
045419,001310:    7517           52125                           DXCH     VBUF       +2                         #  MOVE X1M3 TO MPAC +3 SETTING UP FOR X3M2
045420,001311:    7520           52160                           DXCH     MPAC       +3                         #  AND ADD -X3M1 TO MPAC +3 TO COMPLETE THE
045421,001312:    7521           52155                           DXCH     MPAC                                  #  Y COMPONENT OF THE RESULT.
045422,001313:    7522           20160                           DAS      MPAC       +3                         
045423,001314: 
045424,001315:    7523           00006                           EXTEND                                         
045425,001316:    7524           17526                           BZF      +2                                    

Page 1038

045427,001318:    7525           07013                           TC       OVERFLWY                              
045428,001319: 
045429,001320:    7526           07106                           TC       DMPSUB                                
045430,001321:    7527           52127                           DXCH     VBUF       +4                         #  GO ADD -X2M3 TO X3M2 TO COMPLETE THE X
045431,001322:    7530           16777                           TCF      ENDVXV                                #  COMPONENT (TAIL END OF DAD).
045432,001323: 
045433,001324:                                                                                                  #           THE MPACVBUF SUBROUTINE SAVES THE VECTOR IN MPAC IN VBUF WITHOUT CLOBBERING MPAC.
045434,001325: 
045435,001326:    7531           00006        MPACVBUF           EXTEND                                         #  CALLED BY MXV, VXM, AND UNIT.
045436,001327:    7532           30155                           DCA      MPAC                                  
045437,001328:    7533           52123                           DXCH     VBUF                                  
045438,001329:    7534           00006                           EXTEND                                         
045439,001330:    7535           30160                           DCA      MPAC       +3                         
045440,001331:    7536           52125                           DXCH     VBUF       +2                         
045441,001332:    7537           00006                           EXTEND                                         
045442,001333:    7540           30162                           DCA      MPAC       +5                         
045443,001334:    7541           52127                           DXCH     VBUF       +4                         
045444,001335:    7542           00002                           TC       Q                                     #  RETURN TO CALLER.
045445,001336: 
045446,001337: 
045447,001338:                                                                                                  #           DOUBLE PRECISION SIGN AGREE ROUTINE. ARRIVE WITH INPUT IN A+L. OUTPUT IS IN A + L.
045448,001339: 
045449,001340:    7543           10000        ALSIGNAG           CCS      A                                     #  TEST UPPER PART.
045450,001341:    7544           17550                           TCF      UPPOS                                 #  IT IS POSITIVE
045451,001342:    7545           00002                           TC       Q                                     #  ZERO
045452,001343:    7546           17560                           TCF      UPNEG                                 #  NEGATIVE
045453,001344:    7547           00002                           TC       Q                                     #  ZERO
045454,001345: 
045455,001346:    7550           56001        UPPOS              XCH      L                                     #  SAVE DECREMENTED UPPER PART.
045456,001347:    7551           64736                           AD       HALF                                  
045457,001348:    7552           64736                           AD       HALF                                  
045458,001349:    7553           54000                           TS       A                                     #  SKIPS ON OVERFLOW
045459,001350:    7554           17556                           TCF      +2                                    
045460,001351:    7555           24001                           INCR     L                                     #  RESTORE UPPER TO ROIGINAL VALUE
045461,001352:    7556           56001                           XCH      L                                     #  SWAP A + L BACK.
045462,001353:    7557           00002                           TC       Q                                     
045463,001354: 
045464,001355:    7560           56001        UPNEG              XCH      L                                     #  SAVE COMPLEMENTED + DECREMENTED UPPER PT
045465,001356:    7561           64735                           AD       NEGMAX                                
045466,001357:    7562           67746                           AD       NEGONE                                
045467,001358:    7563           54000                           TS       A                                     
045468,001359:    7564           17566                           TCF      +2                                    #  DONT INCREMENT IF NO OVERFLOW.
045469,001360:    7565           24001                           INCR     L                                     
045470,001361:    7566           56001                           XCH      L                                     
045471,001362:    7567           40000                           COM                                            #  MAKE NEGATIVE AGAIN.
045472,001363:    7570           00002                           TC       Q                                     
045473,001364: 

Page 1039

045475,001366:                                                                                                  #           INTERPRETIVE INSTRUCTIONS WHOSE EXECUTION CONSISTS OF PRINCIPALLY CALLING SUBROUTINES.
045476,001367: 
045477,001368:    7571           07106        DMP1               TC       DMPSUB                                #  DMP INSTRUCTION.
045478,001369:    7572           16060                           TCF      DANZIG                                
045479,001370: 
045480,001371:    7573           07106        DMPR               TC       DMPSUB                                
045481,001372:    7574           07136                           TC       ROUNDSUB   +1                         #  (C(A) = +0).
045482,001373:    7575           16060                           TCF      DANZIG                                
045483,001374: 
045484,001375:    7576           00006        DDV                EXTEND                                         
045485,001376:    7577           50116                           INDEX    ADDRWD                                #  MOVE DIVIDEND INTO BUF.
045486,001377:    7600           30001                           DCA      0                                     
045487,001378:    7601           17606                           TCF      BDDV       +4                         
045488,001379: 
045489,001380:    7602           00006        BDDV               EXTEND                                         #  MOVE DIVISOR INTO MPAC SAVING MPAC, THE
045490,001381:    7603           50116                           INDEX    ADDRWD                                #  DIVIDEND, IN BUF.
045491,001382:    7604           30001                           DCA      0                                     
045492,001383:    7605           52155                           DXCH     MPAC                                  
045493,001384:    7606           52131                 +4        DXCH     BUF                                   
045494,001385:    7607           34755                           CAF      ZERO                                  #  DIVIDE ROUTINES IN BANK 0.
045495,001386:    7610           54004                           TS       FBANK                                 
045496,001387:    7611           12353                           TCF      DDV/BDDV                              
045497,001388: 
045498,001389:    7612           30116        SETPD              CA       ADDRWD                                #  MUST SET TO WORK AREA, OR EBANK TROUBLE.
045499,001390:    7613           54166                           TS       PUSHLOC                               
045500,001391:    7614           16062                           TCF      NOIBNKSW                              #  NO FBANK SWITCH REQUIRED.
045501,001392: 
045502,001393:    7615           34755        TSLC               CAF      ZERO                                  #  SHIFTING ROUTINES LOCATED IN BANK 00.
045503,001394:    7616           54004                           TS       FBANK                                 
045504,001395:    7617           12172                           TCF      TSLC2                                 
045505,001396: 
045506,001397:    7620           36073        GSHIFT             CAF      LOW7                                  #  USED AS MASK AT GENSHIFT. THIS PROCESSES
045507,001398:    7621           54004                           TS       FBANK                                 #  ANY SHIFT INSTRUCTION (EXCEPT TSLC) WITH
045508,001399:    7622           12214                           TCF      GENSHIFT                              #  AN ADDRESS (ROUTINES IN BANK 0).
045509,001400: 

Page 1040

045511,001402:                                                                                                  #           THE FOLLOWING IS THE PROLOGUE TO V/SC. IF THE PRESENT MODE IS VECTOR, IT SAVES THE SCALAR AT X IN BUF
045512,001403:                                                                                                  #  AND CALLS THE V/SC ROUTINE IN BANK 0. IF THE PRESENT MODE IS SCALAR, IT MOVES THE VECTOR AT X INTO MPAC, SAVING
045513,001404:                                                                                                  #  THE SCALAR IN MPAC IN BUF BEFORE CALLING THE V/SC ROUTINE IN BANK 0.
045514,001405: 
045515,001406:    7623           10163        V/SC               CCS      MODE                                  
045516,001407:    7624           17635                           TCF      DV/SC                                 #  MOVE VECTOR INTO MPAC.
045517,001408:    7625           17635                           TCF      DV/SC                                 
045518,001409: 
045519,001410:    7626           00006        VV/SC              EXTEND                                         
045520,001411:    7627           50116                           INDEX    ADDRWD                                
045521,001412:    7630           30001                           DCA      0                                     
045522,001413:    7631           52131        V/SC1              DXCH     BUF                                   #  IN BOTH CASES, VECTOR IS NOW IN MPAC AND
045523,001414:    7632           34755                           CAF      ZERO                                  #  SCALAR IN BUF.
045524,001415:    7633           54004                           TS       FBANK                                 
045525,001416:    7634           12654                           TCF      V/SC2                                 
045526,001417: 
045527,001418:    7635           00006        DV/SC              EXTEND                                         
045528,001419:    7636           50116                           INDEX    ADDRWD                                
045529,001420:    7637           30003                           DCA      2                                     
045530,001421:    7640           52160                           DXCH     MPAC       +3                         
045531,001422:    7641           00006                           EXTEND                                         
045532,001423:    7642           50116                           INDEX    ADDRWD                                
045533,001424:    7643           30005                           DCA      4                                     
045534,001425:    7644           52162                           DXCH     MPAC       +5                         
045535,001426: 
045536,001427:    7645           44753                           CS       ONE                                   #  CHANGE MODE TO VECTOR.
045537,001428:    7646           54163                           TS       MODE                                  
045538,001429: 
045539,001430:    7647           00006                           EXTEND                                         
045540,001431:    7650           50116                           INDEX    ADDRWD                                
045541,001432:    7651           30001                           DCA      0                                     
045542,001433:    7652           52155                           DXCH     MPAC                                  
045543,001434:    7653           17631                           TCF      V/SC1                                 #  FINISH PROLOGUE AT COMMON SECTION.
045544,001435: 

Page 1041

045546,001437:                                                                                                  #           SIGN AND COMPLEMENT INSTRUCTIONS.
045547,001438: 
045548,001439:    7654           50116        SIGN               INDEX    ADDRWD                                #  CALL COMP INSTRUCTION IF WORD AT X IS
045549,001440:    7655           10000                           CCS      0                                     #  NEGATIVE NON-ZERO.
045550,001441:    7656           16060                           TCF      DANZIG                                
045551,001442:    7657           17661                           TCF      +2                                    
045552,001443:    7660           17667                           TCF      COMP                                  #  DO THE COMPLEMENT.
045553,001444: 
045554,001445:    7661           50116                           INDEX    ADDRWD                                
045555,001446:    7662           10001        CCSL               CCS      1                                     
045556,001447:    7663           16060                           TCF      DANZIG                                
045557,001448:    7664           16060                           TCF      DANZIG                                
045558,001449:    7665           17667                           TCF      COMP                                  
045559,001450:    7666           16060                           TCF      DANZIG                                
045560,001451:    7667           00006        COMP               EXTEND                                         #  COMPLEMENT DP MPAC IN EVERY CASE.
045561,001452:    7670           40155                           DCS      MPAC                                  
045562,001453:    7671           52155                           DXCH     MPAC                                  
045563,001454: 
045564,001455:    7672           10163                           CCS      MODE                                  #  EITHER COMPLEMENT MPAC +3 OR THE REST OF
045565,001456:    7673           17704                           TCF      DCOMP                                 #  THE VECTOR ACCUMULATOR.
045566,001457:    7674           17704                           TCF      DCOMP                                 
045567,001458: 
045568,001459:    7675           00006                           EXTEND                                         #  VECTOR COMPLEMENT.
045569,001460:    7676           40160                           DCS      MPAC       +3                         
045570,001461:    7677           52160                           DXCH     MPAC       +3                         
045571,001462:    7700           00006                           EXTEND                                         
045572,001463:    7701           40162                           DCS      MPAC       +5                         
045573,001464:    7702           52162                           DXCH     MPAC       +5                         
045574,001465:    7703           16060                           TCF      DANZIG                                
045575,001466: 
045576,001467:    7704           40156        DCOMP              CS       MPAC       +2                         
045577,001468:    7705           54156                           TS       MPAC       +2                         
045578,001469:    7706           16060                           TCF      DANZIG                                
045579,001470: 

Page 1042

045581,001472:                                                                                                  #           THE FOLLOWING SHORT SHIFT CODES REQUIRE NO ADDRESS WORD:
045582,001473: 
045583,001474:                                                                                                  #           1.  SR1 TO SR4         SCALAR SHIFT RIGHT.
045584,001475:                                                                                                  #           2.  SR1R TO SR4R       SCALAR SHIFT RIGHT AND ROUND.
045585,001476:                                                                                                  #           3.  SL1 TO SL4         SCALAR SHIFT LEFT.
045586,001477:                                                                                                  #           4.  SL1R TO SL4R       SCALAR SHIFT LEFT AND ROUND.
045587,001478: 
045588,001479:                                                                                                  #           5.  VSR1 TO VSR8       VECTOR SHIFT RIGHT (ALWAYS ROUNDS).
045589,001480:                                                                                                  #           6.  VSL1 TO VSL8       VECTOR SHIFT LEFT (NEVER ROUNDS).
045590,001481: 
045591,001482:                                                                                                  #           THE FOLLOWING CODES REQUIRE AN ADDRESS WHICH MAY BE INDEXED:*
045592,001483: 
045593,001484:                                                                                                  #           1.  SR                 SCALAR SHIFT RIGHT.
045594,001485:                                                                                                  #           2.  SRR                SCALAR SHIFT RIGHT AND ROUND.
045595,001486:                                                                                                  #           3.  SL                 SCALAR SHIFT LEFT.
045596,001487:                                                                                                  #           4.  SLR                SCALAR SHIFT LEFT AND ROUND.
045597,001488: 
045598,001489:                                                                                                  #           5.  VSR                VECTOR SHIFT RIGHT.
045599,001490:                                                                                                  #           6.  VSL                VECTOR SHIFT LEFT.
045600,001491: 
045601,001492:                                                                                                  #  *  IF THE ADDRESS IS INDEXED, AND THE INDEX MODIFICATION RESULTS IN A NEGATIVE SHIFT COUNT, A SHIFT OF THE
045602,001493:                                                                                                  #  ABSOLUTE VALUE OF THE COUNT IS DONE IN THE OPPOSITE DIRECTION.
045603,001494: 
045604,001495: 
045605,001496: 00,2017                                           BANK     00                                    
045606,001497: 
045607,001498: 00,2017                                           COUNT*   $$/INTER                              
045608,001499: 00,2017           36241        SHORTT             CAF      SIX                                   #  SCALAR SHORT SHIFTS COME HERE. THE SHIFT
045609,001500: 00,2020           70020                           MASK     CYR                                   #  COUNT-1 IS NOW IN BITS 2-3 OF CYR. THE
045610,001501: 00,2021           54021                           TS       SR                                    #  ROUNDING BIT IS IN BIT1 AT THIS POINT.
045611,001502: 
045612,001503: 00,2022           10020                           CCS      CYR                                   #  SEE IF RIGHT OR LEFT SHIFT DESIRED.
045613,001504: 00,2023           12101                           TCF      TSSL                                  #  SHIFT LEFT.
045614,001505: 
045615,001506: 00,2024           00024        SRDDV              DEC      20         B-14                       #  MPTEMP SETTING FOR SR BEFORE DDV.
045616,001507: 
045617,001508: 00,2025           50021        TSSR               INDEX    SR                                    #  GET SHIFTING BIT.
045618,001509: 00,2026           34736                           CAF      BIT14                                 
045619,001510: 00,2027           54135                           TS       MPTEMP                                
045620,001511: 
045621,001512: 00,2030           10020                           CCS      CYR                                   #  SEE IF A ROUND IS DESIRED.
045622,001513: 00,2031           02050        RIGHTR             TC       MPACSRND                              #  YES - SHIFT RIGHT AND ROUND.
045623,001514: 00,2032           16057                           TCF      NEWMODE                               #  SET MODE TO DP (C(A) = 0).
045624,001515: 00,2033           30135        MPACSHR            CA       MPTEMP                                #  DO A TRIPLE PRECISION SHIFT RIGHT.
045625,001516: 00,2034           00006                           EXTEND                                         
045626,001517: 00,2035           70156                           MP       MPAC       +2                         
045627,001518: 00,2036           54156                 +3        TS       MPAC       +2                         #  (EXIT FROM SQRT AND ABVAL).
045628,001519: 00,2037           30135                           CA       MPTEMP                                
045629,001520: 00,2040           00006                           EXTEND                                         
045630,001521: 00,2041           70154                           MP       MPAC                                  #  SHIFT MAJOR PART INTO A,L AND PLACE IN

Page 1043

045632,001523: 00,2042           52155                           DXCH     MPAC                                  #  MPAC,+1.
045633,001524: 00,2043           30135                           CA       MPTEMP                                
045634,001525: 00,2044           00006                           EXTEND                                         
045635,001526: 00,2045           70001                           MP       L                                     #  ORIGINAL C(MPAC +1).
045636,001527: 00,2046           20156                           DAS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
045637,001528: 00,2047           16060                           TCF      DANZIG                                
045638,001529: 
045639,001530:                                                                                                  #           MPAC SHIFT RIGHT AND ROUND SUBROUTINES.
045640,001531: 
045641,001532: 00,2050           30156        MPACSRND           CA       MPAC       +2                         #  WE HAVE TO DO ALL THREE MULTIPLIES SINCE
045642,001533: 00,2051           00006                           EXTEND                                         #  MPAC +1 AND MPAC +2 MIGHT HAVE SIGN
045643,001534: 00,2052           70135                           MP       MPTEMP                                #  DISAGREEMENT WITH A SHIFT RIGHT OF 1.
045644,001535: 00,2053           56155                           XCH      MPAC       +1                         
045645,001536: 00,2054           00006                           EXTEND                                         
045646,001537: 00,2055           70135                           MP       MPTEMP                                
045647,001538: 00,2056           56155                           XCH      MPAC       +1                         #  TRIAL MINOR PART.
045648,001539: 00,2057           60001                           AD       L                                     
045649,001540: 
045650,001541: 00,2060           60000        VSHR2              DOUBLE                                         #  (FINISH VECTOR COMPONENT SHIFT RIGHT
045651,001542: 00,2061           54156                           TS       MPAC       +2                         #  AND ROUND.
045652,001543: 00,2062           12064                           TCF      +2                                    
045653,001544: 00,2063           26155                           ADS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
045654,001545: 
045655,001546: 00,2064           34755                           CAF      ZERO                                  
045656,001547: 00,2065           54156                           TS       MPAC       +2                         
045657,001548: 00,2066           56154                           XCH      MPAC                                  #  SETTING TO ZERO SO FOLLOWING DAS WORKS.
045658,001549: 00,2067           00006                           EXTEND                                         
045659,001550: 00,2070           70135                           MP       MPTEMP                                
045660,001551: 00,2071           20155                           DAS      MPAC                                  #  AGAIN NO OVERFLOW.
045661,001552: 00,2072           00002                           TC       Q                                     
045662,001553: 
045663,001554: 00,2073           30135        VSHRRND            CA       MPTEMP                                #  ENTRY TO SHIFT RIGHT AND ROUND MPAC WHEN
045664,001555: 00,2074           00006                           EXTEND                                         #  MPAC CONTAINS A VECTOR COMPONENT.
045665,001556: 00,2075           70155                           MP       MPAC       +1                         
045666,001557: 00,2076           54155                           TS       MPAC       +1                         
045667,001558: 00,2077           56001                           XCH      L                                     
045668,001559: 00,2100           12060                           TCF      VSHR2                                 #  GO ADD ONE IF NECESSARY AND FINISH.
045669,001560: 

Page 1044

045671,001562:                                                                                                  #           ROUTINE FOR SHORT SCALAR SHIFT LEFT (AND MAYBE ROUND).
045672,001563: 
045673,001564: 00,2101           30021        TSSL               CA       SR                                    #  GET SHIFT COUNT FOR SR.
045674,001565: 00,2102           54135                 +1        TS       MPTEMP                                
045675,001566: 
045676,001567: 00,2103           00006                 +2        EXTEND                                         #  ENTRY HERE FROM SL FOR SCALARS.
045677,001568: 00,2104           30156                           DCA      MPAC       +1                         #  SHIFTING LEFT ONE PLACE AT A TIME IS
045678,001569: 00,2105           20156                           DAS      MPAC       +1                         #  FASTER THAN DOING THE WHOLE SHIFT WITH
045679,001570: 00,2106           60154                           AD       MPAC                                  #  MULTIPLIES ASSUMING THAT FREQUENCY OF
045680,001571: 00,2107           60154                           AD       MPAC                                  #  SHIFT COUNTS GOES DOWN RAPIDLY AS A
045681,001572: 00,2110           54154                           TS       MPAC                                  #  FUNCTION OF THEIR MAGNITUDE.
045682,001573: 00,2111           12113                           TCF      +2                                    
045683,001574: 00,2112           54121                           TS       OVFIND                                #  OVERFLOW. (LEAVES OVERFLOW-CORRECTED
045684,001575:                                                                                                  #  RESULT ANYWAY).
045685,001576: 00,2113           10135                           CCS      MPTEMP                                #  LOOP ON DECREMENTED SHIFT COUNT.
045686,001577: 00,2114           12102                           TCF      TSSL       +1                         
045687,001578: 
045688,001579: 00,2115           10020                           CCS      CYR                                   #  SEE IF ROUND WANTED.
045689,001580: 00,2116           07135        ROUND              TC       ROUNDSUB                              #  YES - ROUND AND EXIT.
045690,001581: 00,2117           16060                           TCF      DANZIG                                #  SL LEAVES A ZERO IN CYR FOR NO ROUND.
045691,001582: 00,2120           16060                           TCF      DANZIG                                #  NO - EXIT IMMEDIATL
045692,001583: 

Page 1045

045694,001585:                                                                                                  #  VECTOR SHIFTING ROUTINES.
045695,001586: 
045696,001587: 00,2121           34757        SHORTV             CAF      LOW3                                  #  SAVE 3 BIT SHIFT COUNT - 1 WITHOUT
045697,001588: 00,2122           70020                           MASK     CYR                                   #  EDITING CYR.
045698,001589: 00,2123           54135                           TS       MPTEMP                                
045699,001590: 00,2124           10020                           CCS      CYR                                   #  SEE IF LEFT OR RIGHT SHIFT.
045700,001591: 00,2125           12145                           TCF      VSSL                                  #  VECTOR SHIFT LEFT.
045701,001592: 00,2126           00176        OCT176             OCT      176                                   #  USED IN PROCESSED SHIFTS WITH - COUNT.
045702,001593: 
045703,001594: 00,2127           50135        VSSR               INDEX    MPTEMP                                #  (ENTRY FROM SR). PICK UP SHIFTING BIT.
045704,001595: 00,2130           34736                           CAF      BIT14                                 #  MPTEMP CONTAINS THE SHIFT COUNT - 1.
045705,001596: 00,2131           54135                           TS       MPTEMP                                
045706,001597: 00,2132           02073                           TC       VSHRRND                               #  SHIFT X COMPONENT.
045707,001598: 
045708,001599: 00,2133           52155                           DXCH     MPAC                                  #  SWAP X AND Y COMPONENTS.
045709,001600: 00,2134           52160                           DXCH     MPAC       +3                         
045710,001601: 00,2135           52155                           DXCH     MPAC                                  
045711,001602: 00,2136           02073                           TC       VSHRRND                               #  SHIFT Y COMPONENT.
045712,001603: 
045713,001604: 00,2137           52155                           DXCH     MPAC                                  #  SWAP Y AND Z COMPONENTS.
045714,001605: 00,2140           52162                           DXCH     MPAC       +5                         
045715,001606: 00,2141           52155                           DXCH     MPAC                                  
045716,001607: 00,2142           02073                           TC       VSHRRND                               #  SHIFT Z COMPONENT.
045717,001608: 
045718,001609: 00,2143           17417                           TCF      VROTATEX                              #  RESTORE COMPONENTS TO PROPER PLACES.
045719,001610: 

Page 1046

045721,001612:                                                                                                  #  VECTOR SHIFT LEFT - DONE ONE PLACE AT A TIME.
045722,001613: 
045723,001614: 00,2144           54135                 -1        TS       MPTEMP                                #  SHIFTING LOOP.
045724,001615: 
045725,001616: 00,2145           00006        VSSL               EXTEND                                         
045726,001617: 00,2146           30155                           DCA      MPAC                                  
045727,001618: 00,2147           20155                           DAS      MPAC                                  
045728,001619: 00,2150           00006                           EXTEND                                         
045729,001620: 00,2151           12153                           BZF      +2                                    
045730,001621: 00,2152           07016                           TC       OVERFLOW                              
045731,001622: 
045732,001623: 00,2153           00006                           EXTEND                                         
045733,001624: 00,2154           30160                           DCA      MPAC       +3                         
045734,001625: 00,2155           20160                           DAS      MPAC       +3                         
045735,001626: 00,2156           00006                           EXTEND                                         
045736,001627: 00,2157           12161                           BZF      +2                                    
045737,001628: 00,2160           07013                           TC       OVERFLWY                              
045738,001629: 
045739,001630: 00,2161           00006                           EXTEND                                         
045740,001631: 00,2162           30162                           DCA      MPAC       +5                         
045741,001632: 00,2163           20162                           DAS      MPAC       +5                         
045742,001633: 00,2164           00006                           EXTEND                                         
045743,001634: 00,2165           12167                           BZF      +2                                    
045744,001635: 00,2166           07010                           TC       OVERFLWZ                              
045745,001636: 
045746,001637: 00,2167           10135                           CCS      MPTEMP                                #  LOOP ON DECREMENTED SHIFT COUNTER.
045747,001638: 00,2170           12144                           TCF      VSSL       -1                         
045748,001639: 00,2171           16060                           TCF      DANZIG                                #  EXIT.
045749,001640: 

Page 1047

045751,001642:                                                                                                  #           TSLC - TRIPLE SHIFT LEFT AND COUNT. SHIFTS MPAC LEFT UNTIL GREATER THAN .5 IN MAGNITUDE, LEAVING
045752,001643:                                                                                                  #  THE COMPLEMENT OF THE NUMBER OF SHIFTS REQUIRED IN X.
045753,001644: 
045754,001645: 00,2172           54135        TSLC2              TS       MPTEMP                                #  START BY ZEROING SHIFT COUNT (IN A NOW).
045755,001646: 00,2173           06722                           TC       BRANCH                                #  EXIT WITH NO SHIFTING IF ARGUMENT ZERO.
045756,001647: 00,2174           12176                           TCF      +2                                    
045757,001648: 00,2175           12212                           TCF      ENDTSLC                               #  STORES ZERO SHIFT COUNT IN THIS CASE.
045758,001649: 
045759,001650: 00,2176           07256                           TC       TPAGREE                               #  MAY CAUSE UPSHIFT OF ONE EXTRA PLACE.
045760,001651: 
045761,001652: 00,2177           30154                           CA       MPAC                                  #  BEGIN NORMALIZATION LOOP.
045762,001653: 00,2200           12207                           TCF      TSLCTEST                              
045763,001654: 
045764,001655: 00,2201           24135        TSLCLOOP           INCR     MPTEMP                                #  INCREMENT SHIFT COUNTER.
045765,001656: 00,2202           00006                           EXTEND                                         
045766,001657: 00,2203           30156                           DCA      MPAC       +1                         
045767,001658: 00,2204           20156                           DAS      MPAC       +1                         
045768,001659: 00,2205           60154                           AD       MPAC                                  
045769,001660: 00,2206           26154                           ADS      MPAC                                  
045770,001661: 00,2207           60000        TSLCTEST           DOUBLE                                         #  SEE IF (ANOTHER) SHIFT IS REQUIRED.
045771,001662: 00,2210           54000                           OVSK                                           
045772,001663: 00,2211           12201                           TCF      TSLCLOOP                              #  YES - INCREMENT COUNT AND SHIFT AGAIN.
045773,001664: 
045774,001665: 00,2212           40135        ENDTSLC            CS       MPTEMP                                
045775,001666: 00,2213           16622                           TCF      STORE1                                #  STORE SHIFT COUNT AND RETURN TO DANZIG.
045776,001667: 

Page 1048

045778,001669:                                                                                                  #           THE FOLLOWING ROUTINES PROCESSES THE GENERAL SHIFT INSTRUCTIONS SR, SRR, SL, AND SLR.
045779,001670:                                                                                                  #  THE GIVEN ADDRESS IS DECODED AS FOLLOWS:
045780,001671: 
045781,001672:                                                                                                  #           BITS 1-7    SHIFT COUNT (SUBADDRESS) LESS THAN 125 DECIMAL.
045782,001673:                                                                                                  #           BIT 8       PSEUDO SIGN BIT (DETECTS CHANGE IN SIGN IN INDEXED SHIFTS).
045783,001674:                                                                                                  #           BIT 9       0 FOR LEFT SHIFT, AND 1 FOR RIGHT SHIFT.
045784,001675:                                                                                                  #           BIT 10      1 FOR TERMINAL ROUND ON SCALAR SHIFTS, 0 OTHERWISE.
045785,001676:                                                                                                  #           BITS 11-13  0.
045786,001677:                                                                                                  #           BIT 14      1.
045787,001678:                                                                                                  #           BIT 15      0.
045788,001679: 
045789,001680:                                                                                                  #  THE ABOVE ENCODING IS DONE BY THE YUL SYSTEM.
045790,001681: 
045791,001682: 00,2214           70116        GENSHIFT           MASK     ADDRWD                                #  GET SHIFT COUNT, TESTING FOR ZERO.
045792,001683: 00,2215           10000                           CCS      A                                     #  (ARRIVES WITH C(A) = LOW7).
045793,001684: 00,2216           12224                           TCF      GENSHFT2                              #  IF NON-ZERO, PROCEED WITH DECREMENTED CT
045794,001685: 
045795,001686: 00,2217           34742                           CAF      BIT10                                 #  ZERO SHIFT COUNT. NO SHIFTS NEEDED BUT
045796,001687: 00,2220           70116                           MASK     ADDRWD                                #  WE MIGHT HAVE TO ROUND MPAC ON SLR AND
045797,001688: 00,2221           10000                           CCS      A                                     #  SRR (SCALAR ONLY).
045798,001689: 00,2222           07135                           TC       ROUNDSUB                              
045799,001690: 00,2223           16060                           TCF      DANZIG                                
045800,001691: 
045801,001692: 00,2224           54135        GENSHFT2           TS       MPTEMP                                #  DECREMENTED SHIFT COUNT TO MPTEMP.
045802,001693: 00,2225           34744                           CAF      BIT8                                  #  TEST MEANING OF LOW SEVEN BIT COUNT IN
045803,001694: 00,2226           00006                           EXTEND                                         #  MPTEMP NOW.
045804,001695: 00,2227           70116                           MP       ADDRWD                                
045805,001696: 00,2230           76244                           MASK     LOW2                                  #  JUMPS ON SHIFT DIRECTION (BIT8) AND
045806,001697: 00,2231           50000                           INDEX    A                                     
045807,001698: 00,2232           12233                           TCF      +1                                    #  ORIGINAL SHIFT DIRECTION (BIT 9).
045808,001699: 00,2233           12332                           TCF      RIGHT-                                #  NEGATIVE SHIFT COUNT FOR SL OR SLR.
045809,001700: 00,2234           12342                           TCF      LEFT                                  #  SL OR SLR.
045810,001701: 00,2235           12336                           TCF      LEFT-                                 #  NEGATIVE SHIFT COUNT WITH SR OR SRR.
045811,001702: 

Page 1049

045813,001704:                                                                                                  #           GENERAL SHIFT RIGHT.
045814,001705: 
045815,001706: 00,2236           10163        RIGHT              CCS      MODE                                  #  SEE IF VECTOR OR SCALAR.
045816,001707: 00,2237           12277                           TCF      GENSCR                                
045817,001708: 00,2240           12277                           TCF      GENSCR                                
045818,001709: 
045819,001710: 00,2241           30135                           CA       MPTEMP                                #  SEE IF SHIFT COUNT LESS THAN 14D.
045820,001711: 00,2242           63733        VRIGHT2            AD       NEG12                                 
045821,001712: 00,2243           00006                           EXTEND                                         
045822,001713: 00,2244           62127                           BZMF     VSSR                                  #  IF SO, BRANCH AND SHIFT IMMEDIATELY.
045823,001714: 
045824,001715: 00,2245           67746                           AD       NEGONE                                #  IF NOT, REDUCE MPTEMP BY A TOTAL OF 14,
045825,001716: 00,2246           54135                           TS       MPTEMP                                #  AND DO A SHIFT RIGHT AND ROUND BY 14.
045826,001717: 00,2247           34755                           CAF      ZERO                                  #  THE ROUND AT THIS STAGE MAY INTRODUCE A
045827,001718: 00,2250           54001                           TS       L                                     #  ONE BIT ERROR IN A SHIFT RIGHT 15D.
045828,001719: 00,2251           56154                           XCH      MPAC                                  
045829,001720: 00,2252           56155                           XCH      MPAC       +1                         
045830,001721: 00,2253           02272                           TC       SETROUND                              #  X COMPONENT NOW SHIFTED, SO MAKE UP THE
045831,001722: 00,2254           20155                           DAS      MPAC                                  #  ROUNDING QUANTITY (0 IN A AND 0 OR +-1
045832,001723:                                                                                                  #  IN L).
045833,001724: 00,2255           56157                           XCH      MPAC       +3                         #  REPEAT THE ABOVE PROCESS FOR Y AND Z.
045834,001725: 00,2256           56160                           XCH      MPAC       +4                         
045835,001726: 00,2257           02272                           TC       SETROUND                              
045836,001727: 00,2260           20160                           DAS      MPAC       +3                         #  NO OVERFLOW ON THESE ADDS.
045837,001728: 
045838,001729: 00,2261           56161                           XCH      MPAC       +5                         
045839,001730: 00,2262           56162                           XCH      MPAC       +6                         
045840,001731: 00,2263           02272                           TC       SETROUND                              
045841,001732: 00,2264           20162                           DAS      MPAC       +5                         
045842,001733: 
045843,001734: 00,2265           10135                           CCS      MPTEMP                                #  SEE IF DONE, DOING FINAL DECREMENT.
045844,001735: 00,2266           54135                           TS       MPTEMP                                
045845,001736: 00,2267           12242                           TCF      VRIGHT2                               
045846,001737: 00,2270           04604        BIASLO             DEC      .2974      B-1                        #  SQRT CONSTANT
045847,001738: 
045848,001739: 00,2271           16060                           TCF      DANZIG                                
045849,001740: 
045850,001741: 
045851,001742: 00,2272           60000        SETROUND           DOUBLE                                         #  MAKES UP ROUNDING QUANTITY FROM ARRIVING
045852,001743: 00,2273           54156                           TS       MPAC       +2                         #  C(A). L IS ZERO INITIALLY.
045853,001744: 00,2274           34755                           CAF      ZERO                                  
045854,001745: 00,2275           56001                           XCH      L                                     
045855,001746: 00,2276           00002                           TC       Q                                     #  RETURN AND DO THE DAS, RESETTING L TO 0.
045856,001747: 

Page 1050

045858,001749:                                                                                                  #           PROCESS SR AND SRR FOR SCALARS.
045859,001750: 
045860,001751: 00,2277           30135        GENSCR             CA       MPTEMP                                #  SEE IF THE ORIGINAL SHIFT COUNT WAS LESS
045861,001752: 00,2300           63733                 +1        AD       NEG12                                 #  THAN 14D.
045862,001753: 00,2301           00006                           EXTEND                                         
045863,001754: 00,2302           62322                           BZMF     DOSSHFT                               #  DO THE SHIFT IMMEDIATELY IF SO.
045864,001755: 
045865,001756: 00,2303           67746                 +4        AD       NEGONE                                #  IF NOT, DECREMENT SHIFT COUNT BY 14D AND
045866,001757: 00,2304           54135                           TS       MPTEMP                                #  SHIFT MPAC RIGHT 14 PLACES.
045867,001758: 00,2305           34755                           CAF      ZERO                                  
045868,001759: 00,2306           56154                           XCH      MPAC                                  
045869,001760: 00,2307           56155                           XCH      MPAC       +1                         
045870,001761: 00,2310           54156                           TS       MPAC       +2                         
045871,001762: 00,2311           10135                           CCS      MPTEMP                                #  SEE IF FINISHED, DO FINAL DECREMENT.
045872,001763: 00,2312           54135                           TS       MPTEMP                                
045873,001764: 00,2313           02300                           TC       GENSCR     +1                         
045874,001765: 00,2314           22650        SLOPEHI            DEC      .5884                                 #  SQRT CONSTANT.
045875,001766: 00,2315           34742                           CAF      BIT10                                 #  FINISHED WITH SHIFT.  SEE IF ROUND
045876,001767: 00,2316           70116                           MASK     ADDRWD                                #  WANTED.
045877,001768: 00,2317           10000                           CCS      A                                     
045878,001769: 00,2320           07135                           TC       ROUNDSUB                              
045879,001770: 00,2321           16060                           TCF      DANZIG                                #  DO SO AND/OR EXIT.
045880,001771: 
045881,001772: 00,2322           50135        DOSSHFT            INDEX    MPTEMP                                #  PICK UP SHIFTING BIT.
045882,001773: 00,2323           34736                           CAF      BIT14                                 
045883,001774: 00,2324           54135                           TS       MPTEMP                                
045884,001775: 00,2325           34742                           CAF      BIT10                                 #  SEE IF TERMINAL ROUND DESIRED.
045885,001776: 00,2326           70116                           MASK     ADDRWD                                
045886,001777: 00,2327           10000                           CCS      A                                     
045887,001778: 00,2330           12031                           TCF      RIGHTR                                #  YES.
045888,001779: 00,2331           12033                           TCF      MPACSHR                               #  JUST SHIFT RIGHT.
045889,001780: 

Page 1051

045891,001782:                                                                                                  #           PROCESS THE RIGHT- (SL(R) WITH A NEGATIVE COUNT), LEFT-, AND LEFT OPTIONS.
045892,001783: 
045893,001784: 00,2332           40135        RIGHT-             CS       MPTEMP                                #  GET ABSOLUTE VALUE - 1 OF SHIFT COUNT
045894,001785: 00,2333           62126                           AD       OCT176                                #  UNDERSTANDING THAT BIT8 (PSEUDO-SIGN)
045895,001786: 00,2334           54135                           TS       MPTEMP                                #  WAS 1 INITIALLY.
045896,001787: 00,2335           12236                           TCF      RIGHT                                 #  DO NORMAL SHIFT RIGHT.
045897,001788: 
045898,001789: 00,2336           42126        LEFT-              CS       OCT176                                #  SAME PROLOGUE TO LEFT FOR INDEXED RIGHT
045899,001790: 00,2337           60135                           AD       MPTEMP                                #  SHIFTS WHOSE NET SHIFT COUNT IS NEGATIVE
045900,001791: 00,2340           40000                           COM                                            
045901,001792: 00,2341           54135                           TS       MPTEMP                                
045902,001793: 
045903,001794: 00,2342           10163        LEFT               CCS      MODE                                  #  SINCE LEFT SHIFTING IS SONE ONE PLACE AT
045904,001795: 00,2343           12346                           TCF      GENSCL                                #  A TIME, NO COMPARISON WITH 14 NEED BE
045905,001796: 00,2344           12346                           TCF      GENSCL                                #  DONE. FOR SCALARS, SEE IF TERMINAL ROUND
045906,001797: 00,2345           12145                           TCF      VSSL                                  #  DESIRED. FOR VECTORS, SHIFT IMMEDIATELY.
045907,001798: 
045908,001799: 00,2346           40116        GENSCL             CS       ADDRWD                                #  PUT ROUNDING BIT (BIT 10 OF ADDRWD) INTO
045909,001800: 00,2347           00006                           EXTEND                                         #  BIT 15 OF CYR WHERE THE ROUNDING BIT OF
045910,001801: 00,2350           74746                           MP       BIT6                                  #  A SHORT SHIFT LEFT WOULD BE
045911,001802: 00,2351           54020                           TS       CYR                                   
045912,001803: 00,2352           12103                           TCF      TSSL       +2                         #  DO THE SHIFT.
045913,001804: 

Page 1052

045915,001806:                                                                                                  #           SCALAR DIVISION INSTRUCTIONS, DDV AND BDDV, ARE EXECUTED HERE. AT THIS POINT, THE DIVIDEND IS IN MPAC
045916,001807:                                                                                                  #  AND THE DIVISOR IN BUF.
045917,001808: 
045918,001809: 00,2353           44753        DDV/BDDV           CS       ONE                                   #  INITIALIZATION.
045919,001810: 00,2354           54136                           TS       DVSIGN                                #  +-1 FOR POSITIVE QUOTIENT - -0 FOR NEG.
045920,001811: 00,2355           54137                           TS       DVNORMCT                              #  DIVIDEND NORMALIZATION COUNT.
045921,001812: 00,2356           54140                           TS       MAXDVSW                               #  NEAR-ONE DIVIDE FLAG.
045922,001813: 
045923,001814: 00,2357           10130                           CCS      BUF                                   #  FORCE BUF POSITIVE WITH THE MAJOR PART
045924,001815: 00,2360           12516                           TCF      BUFPOS                                #  NON-ZERO.
045925,001816: 00,2361           12363                           TCF      +2                                    
045926,001817: 00,2362           12531                           TCF      BUFNEG                                
045927,001818: 
045928,001819: 00,2363           54156        BUFZERO            TS       MPAC       +2                         #  ZERO THIS.
045929,001820: 00,2364           07256                           TC       TPAGREE                               #  FORCE SIGN AGREEMENT BEFORE OVERFLOW
045930,001821: 
045931,001822: 00,2365           10154                           CCS      MPAC                                  #  TEST TO SEE IF MPAC NON-ZERO.  (TOO BIG)
045932,001823: 00,2366           12414                           TCF      OVF+                                  #  MAJOR PART OF DIVIDEND IS POSITIVE NON-0
045933,001824: 00,2367           12371                           TCF      +2                                    
045934,001825: 00,2370           12413                           TCF      OVF+       -1                         #  MAJOR PART OF DIVIDEND IS NEG. NON-ZERO
045935,001826: 
045936,001827: 00,2371           56131                           XCH      BUF        +1                         #  SHIFT DIVIDEND AND DIVISOR LEFT 14.
045937,001828: 00,2372           56130                           XCH      BUF                                   
045938,001829: 00,2373           56155                           XCH      MPAC       +1                         
045939,001830: 00,2374           56154                           XCH      MPAC                                  
045940,001831: 00,2375           10130                           CCS      BUF                                   #  TRY AGAIN ON FORMER MINOR PART.
045941,001832: 00,2376           12422                           TCF      BUF+                                  
045942,001833: 00,2377           12401                           TCF      +2                                    #  OVERFLOW ON ZERO DIVISOR.
045943,001834: 00,2400           12416                           TCF      BUF-                                  
045944,001835: 
045945,001836: 00,2401           40154                           CS       MPAC                                  #  SIGN OF MPAC DETERMINES SIGN OF RESULT.
045946,001837: 00,2402           00006        SGNDVOVF           EXTEND                                         
045947,001838: 00,2403           62405                           BZMF     +2                                    
045948,001839: 00,2404           24136                           INCR     DVSIGN                                #  NEGMAX IN MPAC PERHAPS.
045949,001840: 00,2405           34733        DVOVF              CAF      POSMAX                                #  ON DIVISION OVERFLOW OF ANY SORT, SET
045950,001841: 00,2406           54154                           TS       MPAC                                  #  SET DP MPAC TO +-POSMAX.
045951,001842: 00,2407           02630                           TC       FINALDV    +3                         
045952,001843: 00,2410           34753                           CAF      ONE                                   #  SET OVERFLOW INDICATOR AND EXIT.
045953,001844: 00,2411           54121                           TS       OVFIND                                
045954,001845: 00,2412           06060                           TC       DANZIG                                
045955,001846: 
045956,001847: 00,2413           24136                 -1        INCR     DVSIGN                                
045957,001848: 00,2414           40131        OVF+               CS       BUF        +1                         #  LOAD LOWER ORDER PART OF DIVISOR.
045958,001849: 00,2415           12402                           TCF      SGNDVOVF                              #  GET SIGN OF RESULT.
045959,001850: 
045960,001851: 00,2416           00006        BUF-               EXTEND                                         #  IF BUF IS NEGATIVE, COMPLEMENT IT AND
045961,001852: 00,2417           40131                           DCS      BUF                                   #  MAINTAIN DVSIGN FOR FINAL QUOTIENT SIGN.
045962,001853: 00,2420           52131                           DXCH     BUF                                   
045963,001854: 00,2421           24136                           INCR     DVSIGN                                #  NOW -0.
045964,001855: 

Page 1053

045966,001857: 00,2422           10154        BUF+               CCS      MPAC                                  #  FORCE MPAC POSITIVE, CHECKING FOR ZERO
045967,001858: 00,2423           12437                           TCF      MPAC+                                 #  DIVIDEND IN THE PROCESS.
045968,001859: 00,2424           12426                           TCF      +2                                    
045969,001860: 00,2425           12433                           TCF      MPAC-                                 
045970,001861: 00,2426           10155                           CCS      MPAC       +1                         
045971,001862: 00,2427           12437                           TCF      MPAC+                                 
045972,001863: 00,2430           16060                           TCF      DANZIG                                #  EXIT IMMEDIATELY ON ZERO DIVIDEND.
045973,001864: 00,2431           12433                           TCF      MPAC-                                 
045974,001865: 00,2432           16060                           TCF      DANZIG                                
045975,001866: 
045976,001867: 00,2433           00006        MPAC-              EXTEND                                         #  FORCE MPAC POSITIVE AS BUF IN BUF-.
045977,001868: 00,2434           40155                           DCS      MPAC                                  
045978,001869: 00,2435           52155                           DXCH     MPAC                                  
045979,001870: 00,2436           24136                           INCR     DVSIGN                                #  NOW +1 OR -0.
045980,001871: 

Page 1054

045982,001873: 00,2437           40154        MPAC+              CS       MPAC                                  #  CHECK FOR DIVISION OVERFLOW. IF THE
045983,001874: 00,2440           67746                           AD       NEGONE                                #  MAJOR PART OF THE DIVIDEND IS LESS THAN
045984,001875: 00,2441           60130                           AD       BUF                                   #  THE MAJOR PART OF THE DIVISOR BY AT
045985,001876: 00,2442           10000                           CCS      A                                     #  LEAST TWO, WE CAN PROCEED IMMEDIATELY
045986,001877: 00,2443           12505                           TCF      DVNORM                                #  WITHOUT NORMALIZATION PRODUCING A DVMAX.
045987,001878: 00,2444           60001        -1/2+2             OCT      60001                                 #  USED IN SQRTSUB.
045988,001879: 
045989,001880: 00,2445           12446                           TCF      +1                                    #  IF THE ABOVE DOES NOT HOLD, FORCE SIGN
045990,001881: 00,2446           34736                           CAF      HALF                                  #  AGREEMENT IN NUMERATOR AND DENOMINATOR
045991,001882: 00,2447           60000                           DOUBLE                                         #  TO FACILITATE OVERFLOW AND NEAR-ONE
045992,001883: 00,2450           60155                           AD       MPAC       +1                         #  CHECKING.
045993,001884: 00,2451           54155                           TS       MPAC       +1                         
045994,001885: 00,2452           34755                           CAF      ZERO                                  
045995,001886: 00,2453           64733                           AD       POSMAX                                
045996,001887: 00,2454           26154                           ADS      MPAC                                  
045997,001888: 
045998,001889: 00,2455           34736                           CAF      HALF                                  #  SAME FOR BUF.
045999,001890: 00,2456           60000                           DOUBLE                                         
046000,001891: 00,2457           60131                           AD       BUF        +1                         
046001,001892: 00,2460           54131                           TS       BUF        +1                         
046002,001893: 00,2461           34755                           CAF      ZERO                                  
046003,001894: 00,2462           64733                           AD       POSMAX                                
046004,001895: 00,2463           26130                           ADS      BUF                                   
046005,001896: 
046006,001897: 00,2464           40154                           CS       MPAC                                  #  CHECK MAGNITUDE OF SIGN-CORRECTED
046007,001898: 00,2465           60130                           AD       BUF                                   #  OPERANDS.
046008,001899: 00,2466           10000                           CCS      A                                     
046009,001900: 00,2467           12505                           TCF      DVNORM                                #  DIVIDE OK - WILL NOT BECOME MAXDV CASE.
046010,001901: 00,2470           00133        LBUF2              ADRES    BUF2                                  
046011,001902: 00,2471           12405                           TCF      DVOVF                                 #  DIVISOR NOT LESS THAN DIVIDEND - OVF.
046012,001903: 
046013,001904: 00,2472           54140                           TS       MAXDVSW                               #  IF THE MAJOR PARTS OF THE DIVIDEND AND
046014,001905: 00,2473           40155                           CS       MPAC       +1                         #  DIVISOR ARE EQUAL, A SPECIAL APPROXIMA-
046015,001906: 00,2474           60131                           AD       BUF        +1                         #  TION IS USED (PROVIDED THE DIVISION IS
046016,001907: 00,2475           00006                           EXTEND                                         #  POSSIBLE, OF COURSE).
046017,001908: 00,2476           62405                           BZMF     DVOVF                                 
046018,001909: 00,2477           12505                           TCF      DVNORM                                #  IF NO OVERFLOW.
046019,001910: 

Page 1055

046021,001912: 00,2500           00006        BUFNORM            EXTEND                                         #  ADD -1 TO AUGMENT SHIFT COUNT AND SHIFT
046022,001913: 00,2501           24137                           AUG      DVNORMCT                              #  LEFT ONE PLACE.
046023,001914: 00,2502           00006                           EXTEND                                         
046024,001915: 00,2503           30131                           DCA      BUF                                   
046025,001916: 00,2504           20131                           DAS      BUF                                   
046026,001917: 
046027,001918: 00,2505           30130        DVNORM             CA       BUF                                   #  SEE IF DIVISOR NORMALIZED YET.
046028,001919: 00,2506           60000                           DOUBLE                                         
046029,001920: 00,2507           54000                           OVSK                                           
046030,001921: 00,2510           12500                           TCF      BUFNORM                               #  NO - SHIFT LEFT ONE AND TRY AGAIN.
046031,001922: 
046032,001923: 00,2511           52155                           DXCH     MPAC                                  #  CALL DIVIDEND NORMALIZATION SEQUENCE
046033,001924: 00,2512           50137                           INDEX    DVNORMCT                              #  PRIOR TO DOING THE DIVIDE.
046034,001925: 00,2513           02565                           TC       MAXTEST                               
046035,001926: 
046036,001927: 00,2514           54156                           TS       MPAC       +2                         #  RETURNS WITH DIVISION DONE AND C(A) = 0.
046037,001928: 00,2515           16060                           TCF      DANZIG                                
046038,001929: 
046039,001930: 00,2516           10000        BUFPOS             CCS      A                                     
046040,001931: 00,2517           12422                           TCF      BUF+                                  #  TO BUF+ IF BUF IS GREATER THAN +1.
046041,001932: 
046042,001933: 00,2520           40131                           CS       BUF        +1                         #  IF BUF IS +1, FORCING SIGN AGREEMENT
046043,001934: 00,2521           00006                           EXTEND                                         #  MAY CAUSE BUF TO BECOME ZERO.
046044,001935: 00,2522           62422                           BZMF     BUF+                                  #  BRANCH IF SIGNS AGREE.
046045,001936: 
046046,001937: 00,2523           34736                           CA       HALF                                  #  SIGNS DISAGREE.  FORCE AGREEMENT.
046047,001938: 00,2524           60000                 +6        DOUBLE                                         
046048,001939: 00,2525           26131                           ADS      BUF        +1                         
046049,001940: 00,2526           34755                           CA       ZERO                                  
046050,001941: 00,2527           54130                           TS       BUF                                   
046051,001942: 00,2530           12363                           TCF      BUFZERO                               
046052,001943: 
046053,001944: 
046054,001945: 00,2531           10000        BUFNEG             CCS      A                                     
046055,001946: 00,2532           12416                           TCF      BUF-                                  #  TO BUF- IF BUF IS LESS THAN -1.
046056,001947: 
046057,001948: 00,2533           30131                           CA       BUF        +1                         #  IF BUF IS -1, FORCING SIGN AGREEMENT
046058,001949: 00,2534           00006                           EXTEND                                         #  MAY CAUSE BUF TO BECOME ZERO.
046059,001950: 00,2535           62416                           BZMF     BUF-                                  #  BRANCH IF SIGNS AGREE.
046060,001951: 
046061,001952: 00,2536           44736                           CS       HALF                                  #  SIGNS DISAGREE.  FORCE AGREEMENT.
046062,001953: 00,2537           12524                           TCF      BUFPOS     +6                         
046063,001954: 

Page 1056

046065,001956:                                                                                                  #           THE FOLLOWING ARE PROLOGUES TO SHIFT THE DIVIDEND ARRIVING IN A AND L BEFORE THE DIVIDE.
046066,001957: 
046067,001958: 00,2540           22021                 -21D      LXCH     SR                                    #  SPECIAL PROLOGUE FOR UNIT WHEN THE
046068,001959: 00,2541           00006                           EXTEND                                         #  LENGTH OF THE ARGUMENT WAS NOT LESS THAN
046069,001960: 00,2542           74736                           MP       HALF                                  #  .5. IN THIS CASE, EACH COMPONENT MUST BE
046070,001961: 00,2543           56001                           XCH      L                                     #  SHIFTED RIGHT ONE TO PRODUCE A HALF-UNIT
046071,001962: 00,2544           60021                           AD       SR                                    #  VECTOR.
046072,001963: 00,2545           56001                           XCH      L                                     
046073,001964: 00,2546           12571                           TCF      GENDDV     +1                         #  WITH DP DIVIDEND IN A,L.
046074,001965: 
046075,001966: 00,2547           20001                           DDOUBL                                         #  PROLOGUE WHICH NORMALIZES THE DIVIDEND
046076,001967: 00,2550           20001                           DDOUBL                                         #  WHEN IT IS KNOWN THAT NO DIVISION
046077,001968: 00,2551           20001                           DDOUBL                                         #  OVERFLOW WILL OCCUR.
046078,001969: 00,2552           20001                           DDOUBL                                         
046079,001970: 00,2553           20001                           DDOUBL                                         
046080,001971: 00,2554           20001                           DDOUBL                                         
046081,001972: 00,2555           20001                           DDOUBL                                         
046082,001973: 00,2556           20001                           DDOUBL                                         
046083,001974: 00,2557           20001                           DDOUBL                                         
046084,001975: 00,2560           20001                           DDOUBL                                         
046085,001976: 00,2561           20001                           DDOUBL                                         
046086,001977: 00,2562           20001                           DDOUBL                                         
046087,001978: 00,2563           20001                           DDOUBL                                         
046088,001979: 00,2564           52155                           DXCH     MPAC                                  
046089,001980: 
046090,001981: 00,2565           10140        MAXTEST            CCS      MAXDVSW                               #  0 IF MAJORS MIGHT BE =, -1 OTHERWISE.
046091,001982: 00,2566           06552        BIASHI             DEC      .4192      B-1                        #  SQRT CONSTANTS
046092,001983: 
046093,001984: 00,2567           12642                           TCF      MAXDV                                 #  CHECK TO SEE IF THEY ARE NOW EQUAL.
046094,001985: 

Page 1057

046096,001987:                                                                                                  #           THE FOLLOWING IS A GENERAL PURPOSE DOUBLE PRECISION DIVISION ROUTINE. IT DIVIDES MPAC BY BUF AND LEAVES
046097,001988:                                                                                                  #  THE RESULT IN MPAC. THE FOLLOWING CONDITIONS MUST BE SATISFIED:
046098,001989: 
046099,001990:                                                                                                  #           1.  THE DIVISOR (BUF) MUST BE POSITIVE AND NOT LESS THAN .5.
046100,001991: 
046101,001992:                                                                                                  #           2.  THE DIVIDEND (MPAC) MUST BE POSITIVE WITH THE MAJOR PART OF MPAC STRICTLY LESS THAN THAT OF BUF
046102,001993:                                                                                                  #  (A SPECIAL APPROXIMATION, MAXDV, IS USED WHEN THE MAJOR PARTS ARE EQUAL).
046103,001994: 
046104,001995:                                                                                                  #           UNDERSTANDING THAT A/B = Q + S(R/B) WHERE S = 2(-14) AND Q AND R ARE QUOTIENT AND REMAINDER, RESPEC-
046105,001996:                                                                                                  #  TIVELY, THE FOLLOWING APPROXIMATION IS OBTAINED BY MULTIPLYING ABOVE AND BELOW BY C - SD AND NEGLECTING TERMS OF
046106,001997:                                                                                                  #  ORDER S-SQUARED (POSSIBLY INTRODUCING ERROR INTO THE LOW TWO BITS OF THE RESULT). SIGN AGREEMENT IS UNNECESSARY.
046107,001998: 
046108,001999:                                                                                                  #           A + SB .      (R - QD)                                             A + SB
046109,002000:                                                                                                  #           ------ = Q + S(------) WHERE Q AND R ARE QUOTIENT AND REMAINDER OF ------ RESPECTIVELY.
046110,002001:                                                                                                  #           C + SD        (  C   )                                                C
046111,002002: 
046112,002003: 
046113,002004: 00,2570           52155        GENDDV             DXCH     MPAC                                  #  WE NEED A AND B ONLY FOR FIRST DV.
046114,002005: 00,2571           00006                 +1        EXTEND                                         #  (SPECIAL UNIT PROLOGUE ENTERS HERE).
046115,002006: 00,2572           10130                           DV       BUF                                   #  A NOW CONTAINS Q AND L, R.
046116,002007: 00,2573           52155                           DXCH     MPAC                                  
046117,002008: 
046118,002009: 00,2574           40154                           CS       MPAC                                  #  FORM DIVIDEND FOR MINOR PART OF RESULT.
046119,002010: 00,2575           00006                           EXTEND                                         
046120,002011: 00,2576           70131                           MP       BUF        +1                         
046121,002012: 00,2577           60155                           AD       MPAC       +1                         #  OVERFLOW AT THIS POINT IS POSITIVE SINCE
046122,002013: 00,2600           54000                           OVSK                                           #  R IS POSITIVE IN EVERY CASE.
046123,002014: 00,2601           12606                           TCF      +5                                    
046124,002015: 
046125,002016: 00,2602           00006                           EXTEND                                         #  OVERFLOW CAN BE REMOVED BY SUBTRACTING C
046126,002017: 00,2603           60130                           SU       BUF                                   #  (BUF) ONCE SINCE R IS ALWAYS LESS THAN C
046127,002018: 00,2604           24154                           INCR     MPAC                                  #  IN THIS CASE. INCR COMPENSATES SUBTRACT.
046128,002019: 00,2605           12610                           TCF      +DOWN                                 #  (SINCE C(A) IS STILL POSITIVE).
046129,002020: 
046130,002021: 00,2606           00006                 +5        EXTEND                                         #  C(A) CAN BE MADE LESS THAN C IN MAGNI-
046131,002022: 00,2607           62620                           BZMF     -UP                                   #  TUDE BY DIMINISHING IT BY C (SINCE C IS
046132,002023:                                                                                                  #  NOT LESS THAN .5) UNLESS C(A) = 0.
046133,002024: 

Page 1058

046135,002026: 00,2610           00006        +DOWN              EXTEND                                         
046136,002027: 00,2611           60130                           SU       BUF                                   #  IF POSITIVE, REDUCE ONLY IF NECESSARY
046137,002028: 00,2612           00006                           EXTEND                                         #  SINCE THE COMPENSATING INCR MIGHT CAUSE
046138,002029: 00,2613           12616                           BZF      +3                                    #  OVERFLOW.
046139,002030: 00,2614           00006                           EXTEND                                         #  DONT SUBTRACT UNLESS RESULT IS POSITIVE
046140,002031: 00,2615           62624                           BZMF     ENDMAXDV                              #  OR ZERO.
046141,002032: 
046142,002033: 00,2616           24154                 +3        INCR     MPAC                                  #  KEEP SUBTRACT HERE AND COMPENSATE.
046143,002034: 00,2617           12625                           TCF      FINALDV                               
046144,002035: 
046145,002036: 00,2620           00006        -UP                EXTEND                                         #  IF ZERO, SET MINOR PART OF RESULT TO
046146,002037: 00,2621           12630                           BZF      FINALDV    +3                         #  ZERO.
046147,002038: 
046148,002039: 00,2622           00006                           EXTEND                                         #  IF NEGATIVE, ADD C TO A, SUBTRACTING ONE
046149,002040: 00,2623           26154                           DIM      MPAC                                  #  TO COMPENSATE. DIM IS OK HERE SINCE THE
046150,002041: 00,2624           60130        ENDMAXDV           AD       BUF                                   #  MAJOR PART NEVER GOES NEGATIVE.
046151,002042: 

Page 1059

046153,002044: 00,2625           22007        FINALDV            ZL                                             #  DO DV TO OBTAIN MINOR PART OF RESULT.
046154,002045: 00,2626           00006                           EXTEND                                         
046155,002046: 00,2627           10130                           DV       BUF                                   
046156,002047: 00,2630           54155                 +3        TS       MPAC       +1                         
046157,002048: 
046158,002049: 00,2631           10136                           CCS      DVSIGN                                #  LEAVE RESULT POSITIVE UNLESS C(DVSIGN)=
046159,002050: 00,2632           00002                           TC       Q                                     #  -0.
046160,002051: 00,2633           00002                           TC       Q                                     
046161,002052: 00,2634           00002                           TC       Q                                     
046162,002053: 
046163,002054: 00,2635           00006                           EXTEND                                         
046164,002055: 00,2636           40155                           DCS      MPAC                                  
046165,002056: 00,2637           52155                           DXCH     MPAC                                  
046166,002057: 00,2640           34755                           CAF      ZERO                                  #  SO WE ALWAYS RETURN WITH C(A) = 0.
046167,002058: 00,2641           00002                           TC       Q                                     
046168,002059: 

Page 1060

046170,002061:                                                                                                  #           IF THE MAJOR PARTS OF THE DIVISOR AND DIVIDEND ARE EQUAL, BUT THE MINOR PARTS ARE SUCH THAT THE
046171,002062:                                                                                                  #  DIVIDEND IS STRICTLY LESS THAN THE DIVISOR IN MAGNITUDE, THE FOLLOWING APPROXIMATION IS USED. THE ASSUMPTIONS
046172,002063:                                                                                                  #  ARE THE SAME AS THE GENERAL ROUTINE WITH THE ADDITION THAT SIGN AGREEMENT IS NECESSARY (B, C, & D POSITIVE).
046173,002064: 
046174,002065:                                                                                                  #                  C + SB .          (C + B - D)
046175,002066:                                                                                                  #                  ------ = 37777 + S(---------)
046176,002067:                                                                                                  #                  C + SD            (    C    )
046177,002068: 
046178,002069:                                                                                                  #           THE DIVISION MAY BE PERFORMED IMMEDIATELY SINCE B IS STRICTLY LESS THAN D AND C IS NOT LESS THAN .5.
046179,002070: 
046180,002071: 
046181,002072: 00,2642           40154        MAXDV              CS       MPAC                                  #  SEE IF MAXDV CASE STILL HOLDS AFTER
046182,002073: 00,2643           60130                           AD       BUF                                   #  NORMALIZATION.
046183,002074: 00,2644           00006                           EXTEND                                         
046184,002075: 00,2645           12647                           BZF      +2                                    
046185,002076: 00,2646           12570                           TCF      GENDDV                                #  MPAC NOW LESS THAN BUF - DIVIDE AS USUAL
046186,002077: 
046187,002078: 00,2647           34733                 +2        CAF      POSMAX                                #  SET MAJOR PART OF RESULT.
046188,002079: 00,2650           54154                           TS       MPAC                                  
046189,002080: 
046190,002081: 00,2651           40131                           CS       BUF        +1                         #  FORM DIVIDEND OF MINOR PART OF RESULT.
046191,002082: 00,2652           60155                           AD       MPAC       +1                         
046192,002083: 00,2653           12624                           TCF      ENDMAXDV                              #  GO ADD C AND DO DIVIDE, ATTACHING SIGN
046193,002084:                                                                                                  #  BEFORE EXITING.
046194,002085: 

Page 1061

046196,002087:                                                                                                  #           VECTOR DIVIDED BY SCALAR, V/SC, IS EXECUTED HERE. THE VECTOR IS NOW IN MPAC WITH SCALAR IN BUF.
046197,002088: 
046198,002089: 00,2654           44753        V/SC2              CS       ONE                                   #  INITIALIZE DIVIDEND NORMALIZATION COUNT
046199,002090: 00,2655           54137                           TS       DVNORMCT                              #  AND DIVISION SIGN REGISTER.
046200,002091: 00,2656           54127                           TS       VBUF       +5                         
046201,002092: 
046202,002093: 00,2657           03010                           TC       VECAGREE                              #  FORCE SIGN AGREEMENT IN VECTOR
046203,002094: 
046204,002095: 00,2660           52131                           DXCH     BUF                                   
046205,002096: 00,2661           07543                           TC       ALSIGNAG                              #  SIGN AGREE BUF
046206,002097: 00,2662           52131                           DXCH     BUF                                   
046207,002098: 00,2663           10130                           CCS      BUF                                   #  FORCE DIVISOR POSITIVE WITH MAJOR PART
046208,002099: 00,2664           12721                           TCF      /BUF+                                 #  NON-ZERO (IF POSSIBLE).
046209,002100: 00,2665           12667                           TCF      +2                                    
046210,002101: 00,2666           12715                           TCF      /BUF-                                 
046211,002102: 
046212,002103: 00,2667           56131                           XCH      BUF        +1                         #  SHIFT VECTOR AND SCALAR LEFT 14.
046213,002104: 00,2670           56130                           XCH      BUF                                   
046214,002105: 00,2671           56155                           XCH      MPAC       +1                         
046215,002106: 00,2672           56154                           XCH      MPAC                                  
046216,002107: 00,2673           00006                           EXTEND                                         #  CHECK FOR OVERFLOW IN EACH CASE.
046217,002108: 00,2674           12676                           BZF      +2                                    
046218,002109: 00,2675           12405                           TCF      DVOVF                                 
046219,002110: 
046220,002111: 00,2676           56160                           XCH      MPAC       +4                         
046221,002112: 00,2677           56157                           XCH      MPAC       +3                         
046222,002113: 00,2700           00006                           EXTEND                                         
046223,002114: 00,2701           12703                           BZF      +2                                    
046224,002115: 00,2702           12405                           TCF      DVOVF                                 
046225,002116: 
046226,002117: 00,2703           56162                           XCH      MPAC       +6                         
046227,002118: 00,2704           56161                           XCH      MPAC       +5                         
046228,002119: 00,2705           00006                           EXTEND                                         
046229,002120: 00,2706           12710                           BZF      +2                                    
046230,002121: 00,2707           12405                           TCF      DVOVF                                 
046231,002122: 
046232,002123: 00,2710           10130                           CCS      BUF                                   
046233,002124: 00,2711           12721                           TCF      /BUF+                                 
046234,002125: 00,2712           12405                           TCF      DVOVF                                 #  ZERO DIVISOR - OVERFLOW.
046235,002126: 00,2713           12715                           TCF      /BUF-                                 
046236,002127: 00,2714           12405                           TCF      DVOVF                                 
046237,002128: 
046238,002129: 00,2715           00006        /BUF-              EXTEND                                         #  ON NEGATIVE, COMPLEMENT BUF AND MAINTAIN
046239,002130: 00,2716           40131                           DCS      BUF                                   #  DVSIGN IN VBUF +5.
046240,002131: 00,2717           52131                           DXCH     BUF                                   
046241,002132: 00,2720           24127                           INCR     VBUF       +5                         
046242,002133: 

Page 1062

046244,002135: 00,2721           00006        /BUF+              EXTEND                                         
046245,002136: 00,2722           30131                           DCA      BUF                                   #  LEAVE ABS(ORIG DIVISOR) IN BUF2
046246,002137: 00,2723           52134                           DXCH     BUF2                                  #  FOR OVERFLOW TESTING
046247,002138: 00,2724           12732                           TCF      /NORM                                 #  NORMALIZE DIVISOR IN BUF.
046248,002139: 
046249,002140: 00,2725           00006        /NORM2             EXTEND                                         #  IF LESS THAN .5, AUGMENT DVNORMCT AND
046250,002141: 00,2726           24137                           AUG      DVNORMCT                              #  DOUBLE DIVISOR.
046251,002142: 00,2727           00006                           EXTEND                                         
046252,002143: 00,2730           30131                           DCA      BUF                                   
046253,002144: 00,2731           20131                           DAS      BUF                                   
046254,002145: 
046255,002146: 00,2732           30130        /NORM              CA       BUF                                   #  SEE IF DIVISOR NORMALIZED.
046256,002147: 00,2733           60000                           DOUBLE                                         
046257,002148: 00,2734           54000                           OVSK                                           
046258,002149: 00,2735           12725                           TCF      /NORM2                                #  DOUBLE AND TRY AGAIN IF NOT.
046259,002150: 
046260,002151: 00,2736           02750                           TC       V/SCDV                                #  DO X COMPONENT DIVIDE.
046261,002152: 00,2737           52160                           DXCH     MPAC       +3                         #  SUPPLY ARGUMENTS IN USUAL SEQUENCE.
046262,002153: 00,2740           52155                           DXCH     MPAC                                  
046263,002154: 00,2741           52160                           DXCH     MPAC       +3                         
046264,002155: 
046265,002156: 00,2742           02750                           TC       V/SCDV                                #  Y COMPONENT.
046266,002157: 00,2743           52162                           DXCH     MPAC       +5                         
046267,002158: 00,2744           52155                           DXCH     MPAC                                  
046268,002159: 00,2745           52162                           DXCH     MPAC       +5                         
046269,002160: 
046270,002161: 00,2746           02750                           TC       V/SCDV                                #  Z COMPONENT.
046271,002162: 00,2747           17417                           TCF      VROTATEX                              #  GO RE-ARRANGE COMPONENTS BEFORE EXIT.
046272,002163: 

Page 1063

046274,002165:                                                                                                  #           SUBROUTINE USED BY V/SC TO DIVIDE VECTOR COMPONENT IN MPAC,+1 BY THE SCALAR GIVEN IN BUF.
046275,002166: 
046276,002167: 00,2750           30127        V/SCDV             CA       VBUF       +5                         #  REFLECTS SIGN OF SCALAR.
046277,002168: 00,2751           54136                           TS       DVSIGN                                
046278,002169: 
046279,002170: 00,2752           10154                           CCS      MPAC                                  #  FORCE MPAC POSITIVE, EXITING ON ZERO.
046280,002171: 00,2753           12767                           TCF      /MPAC+                                
046281,002172: 00,2754           12756                           TCF      +2                                    
046282,002173: 00,2755           12763                           TCF      /MPAC-                                
046283,002174: 
046284,002175: 00,2756           10155                           CCS      MPAC       +1                         
046285,002176: 00,2757           12767                           TCF      /MPAC+                                
046286,002177: 00,2760           00002                           TC       Q                                     
046287,002178: 00,2761           12763                           TCF      /MPAC-                                
046288,002179: 00,2762           00002                           TC       Q                                     
046289,002180: 
046290,002181: 00,2763           00006        /MPAC-             EXTEND                                         #  USUAL COMPLEMENTING AND SETTING OF SIGN.
046291,002182: 00,2764           40155                           DCS      MPAC                                  
046292,002183: 00,2765           52155                           DXCH     MPAC                                  
046293,002184: 00,2766           24136                           INCR     DVSIGN                                
046294,002185: 
046295,002186: 00,2767           44753        /MPAC+             CS       ONE                                   #  INITIALIZE NEAR-ONE SWITCH.
046296,002187: 00,2770           54140                           TS       MAXDVSW                               
046297,002188: 
046298,002189: 00,2771           40154                           CS       MPAC                                  #  CHECK POSSIBLE OVERFLOW.
046299,002190: 00,2772           60133                           AD       BUF2                                  #  UNNORMALIZED INPUT DIVISOR.
046300,002191: 00,2773           10000                           CCS      A                                     
046301,002192: 00,2774           13004                           TCF      DDVCALL                               #  NOT NEAR-ONE
046302,002193: 00,2775           12777                           TCF      +2                                    #  +0 IS JUST POSSIBLE
046303,002194: 00,2776           12405                           TCF      DVOVF                                 #  NO HOPE
046304,002195: 00,2777           54140                           TS       MAXDVSW                               #  SIGNAL POSSIBLE NEAR-ONE CASE
046305,002196: 00,3000           40155                           CS       MPAC       +1                         #  SEE IF DIVISION CAN BE DONE
046306,002197: 00,3001           60134                           AD       BUF2       +1                         
046307,002198: 00,3002           00006                           EXTEND                                         
046308,002199: 00,3003           62405                           BZMF     DVOVF                                 
046309,002200: 
046310,002201: 00,3004           52155        DDVCALL            DXCH     MPAC                                  #  CALL PRE-DIVIDE NORMALIZATION.
046311,002202: 00,3005           50137                           INDEX    DVNORMCT                              
046312,002203: 00,3006           12565                           TCF      MAXTEST                               
046313,002204: 

Page 1064

046315,002206: 00,3007           32506        SLOPELO            DEC      .8324                                 
046316,002207: 
046317,002208: 00,3010           56002        VECAGREE           XCH      Q                                     #  SAVE Q IN A
046318,002209: 00,3011           52155                           DXCH     MPAC                                  
046319,002210: 00,3012           07543                           TC       ALSIGNAG                              #  SIGNAGREE MPAC
046320,002211: 00,3013           52155                           DXCH     MPAC                                  
046321,002212: 00,3014           52160                           DXCH     MPAC       +3                         
046322,002213: 00,3015           07543                           TC       ALSIGNAG                              #  SIGN AGREE MPAC +3
046323,002214: 00,3016           52160                           DXCH     MPAC       +3                         
046324,002215: 00,3017           52162                           DXCH     MPAC       +5                         
046325,002216: 00,3020           07543                           TC       ALSIGNAG                              #  SIGNAGREE MPAC +5
046326,002217: 00,3021           52162                           DXCH     MPAC       +5                         
046327,002218: 00,3022           00000                           TC       A                                     
046328,002219: 

Page 1065

046330,002221:                                                                                                  #           THE FOLLOWING ROUTINE EXECUTES THE UNIT INSTRUCTION, WHICH TAKES THE UNIT OF THE VECTOR IN MPAC.
046331,002222: 
046332,002223: 00,3023           03010        UNIT               TC       VECAGREE                              #  FORCE SIGN AGREEMENT IN VECTOR
046333,002224: 00,3024           07531                           TC       MPACVBUF                              #  SAVE ARGUMENT IN VBUF
046334,002225: 00,3025           34755                           CAF      ZERO                                  #  MUST SENSE OVERFLOW IN FOLLOWING DOT.
046335,002226: 00,3026           56121                           XCH      OVFIND                                
046336,002227: 00,3027           54141                           TS       TEM1                                  
046337,002228: 00,3030           03317                           TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
046338,002229: 00,3031           30141                           CA       TEM1                                  
046339,002230: 00,3032           56121                           XCH      OVFIND                                
046340,002231: 00,3033           00006                           EXTEND                                         
046341,002232: 00,3034           13036                           BZF      +2                                    
046342,002233: 00,3035           12405                           TCF      DVOVF                                 
046343,002234: 00,3036           00006                           EXTEND                                         
046344,002235: 00,3037           30155                           DCA      MPAC                                  #  LEAVE THE SQUARE OF THE LENGTH OF THE
046345,002236: 00,3040           50120                           INDEX    FIXLOC                                #  ARGUMENT IN LVSQUARE.
046346,002237: 00,3041           52043                           DXCH     LVSQUARE                              
046347,002238: 
046348,002239: 00,3042           03343                           TC       SQRTSUB                               #  GO TAKE THE NORMALIZED SQUARE ROOT.
046349,002240: 
046350,002241: 00,3043           10154                           CCS      MPAC                                  #  CHECK FOR UNIT OVERFLOW.
046351,002242: 00,3044           13051                           TCF      +5                                    #  MPAC IS NOT LESS THAN .5 UNLESS
046352,002243: 00,3045           54001                           TS       L                                     
046353,002244: 00,3046           50120                           INDEX    FIXLOC                                
046354,002245: 00,3047           52045                           DXCH     LV                                    
046355,002246: 00,3050           12405                           TCF      DVOVF                                 #  INPUT TO SQRTSUB WAS 0.
046356,002247: 
046357,002248: 00,3051           44317                           CS       FOURTEEN                              #  SEE IF THE INPUT WAS SO SMALL THE THE
046358,002249: 00,3052           60135                           AD       MPTEMP                                #  FIRST TWO REGISTERS OF THE SQUARE WERE 0
046359,002250: 00,3053           10000                           CCS      A                                     
046360,002251: 00,3054           40000                           COM                                            #  IF SO, SAVE THE NEGATIVE OF THE SHIFT
046361,002252: 00,3055           13133                           TCF      SMALL                                 #  COUNT -15D.
046362,002253: 
046363,002254: 00,3056           13065                           TCF      LARGE                                 #  (THIS IS USUALLY THE CASE.)
046364,002255: 
046365,002256: 00,3057           44761                           CS       THIRTEEN                              #  IF THE SHIFT COUNT WAS EXACTLY 14, SET
046366,002257: 00,3060           54135                           TS       MPTEMP                                #  THE PRE-DIVIDE NORM COUNT TO -13D.
046367,002258: 
046368,002259: 00,3061           30154                           CA       MPAC                                  #  SHIFT THE LENGTH RIGHT 14 BEFORE STORING
046369,002260: 00,3062           54001        SMALL2             TS       L                                     #  (SMALL EXITS TO THIS POINT).
046370,002261: 00,3063           34755                           CAF      ZERO                                  
046371,002262: 00,3064           13112                           TCF      LARGE2                                #  GO TO STORE LENGTH AND PROCEED.
046372,002263: 
046373,002264: 00,3065           10135        LARGE              CCS      MPTEMP                                #  MOST ALL CASES COME HERE.
046374,002265: 00,3066           13074                           TCF      LARGE3                                #  SEE IF NO NORMALIZATION WAS REQUIRED BY
046375,002266: 
046376,002267: 00,3067           42024                           CS       SRDDV                                 #  SQRT, AND IF SO, SET UP FOR A SHIFT
046377,002268: 00,3070           54135                           TS       MPTEMP                                #  RIGHT 1 BEFORE DIVIDING TO PRODUCE
046378,002269: 00,3071           00006                           EXTEND                                         #  THE DESIRED HALF UNIT VECTOR.
046379,002270: 00,3072           30155                           DCA      MPAC                                  

Page 1066

046381,002272: 00,3073           13112                           TCF      LARGE2                                
046382,002273: 

Page 1067

046384,002275: 00,3074           40000        LARGE3             COM                                            #  LEAVE NEGATIVE OF SHIFT COUNT-1 FOR
046385,002276: 00,3075           54135                           TS       MPTEMP                                #  PREDIVIDE LEFT SHIFT.
046386,002277: 
046387,002278: 00,3076           40000                           COM                                            #  PICK UP REQUIRED SHIFTING BIT TO UNNORM-
046388,002279: 00,3077           50000                           INDEX    A                                     #  ALIZE THE SQRT RESULT.
046389,002280: 00,3100           34736                           CAF      BIT14                                 
046390,002281: 00,3101           54130                           TS       BUF                                   
046391,002282: 00,3102           00006                           EXTEND                                         
046392,002283: 00,3103           70155                           MP       MPAC       +1                         
046393,002284: 00,3104           56130                           XCH      BUF                                   
046394,002285: 00,3105           00006                           EXTEND                                         #  (UNNORMALIZE THE SQRT FOR LV).
046395,002286: 00,3106           70154                           MP       MPAC                                  
046396,002287: 00,3107           56001                           XCH      L                                     
046397,002288: 00,3110           60130                           AD       BUF                                   
046398,002289: 00,3111           56001                           XCH      L                                     
046399,002290: 
046400,002291: 00,3112           50120        LARGE2             INDEX    FIXLOC                                
046401,002292: 00,3113           52045                           DXCH     LV                                    #  LENGTH NOW STORED IN WORK AREA.
046402,002293: 
046403,002294: 00,3114           44753                           CS       ONE                                   
046404,002295: 00,3115           54140                           TS       MAXDVSW                               #  NO MAXDV CASES IN UNIT.
046405,002296: 
046406,002297: 00,3116           52123                           DXCH     VBUF                                  #  PREPARE X COMPONENT FOR DIVIDE, SETTING
046407,002298: 00,3117           52155                           DXCH     MPAC                                  #  LENGTH OF VECTOR AS DIVISOR IN BUF.
046408,002299: 00,3120           52131                           DXCH     BUF                                   
046409,002300: 00,3121           03151                           TC       UNITDV                                
046410,002301: 
046411,002302: 00,3122           52125                           DXCH     VBUF       +2                         #  DO Y AND Z IN USUAL FASHION SO WE CAN
046412,002303: 00,3123           52155                           DXCH     MPAC                                  #  EXIT THROUGH VROTATEX.
046413,002304: 00,3124           52160                           DXCH     MPAC       +3                         
046414,002305: 00,3125           03151                           TC       UNITDV                                
046415,002306: 
046416,002307: 00,3126           52127                           DXCH     VBUF       +4                         
046417,002308: 00,3127           52155                           DXCH     MPAC                                  
046418,002309: 00,3130           52162                           DXCH     MPAC       +5                         
046419,002310: 00,3131           03151                           TC       UNITDV                                
046420,002311: 00,3132           17417                           TCF      VROTATEX                              #  AND EXIT.
046421,002312: 

Page 1068

046423,002314:                                                                                                  #           IF THE LENGTH OF THE ARGUMENT VECTOR WAS LESS THAN 2(-28), EACH COMPONENT MUST BE SHIFTED LEFT AT LEAST
046424,002315:                                                                                                  #  14 PLACES BEFORE THE DIVIDE. NOTE THAT IN THIS CASE, THE MAJOR PART OF EACH COMPONENT IS ZERO.
046425,002316: 
046426,002317: 00,3133           54135        SMALL              TS       MPTEMP                                #  NEGATIVE OF PRE-DIVIDE SHIFT COUNT.
046427,002318: 
046428,002319: 00,3134           34755                           CAF      ZERO                                  #  SHIFT EACH COMPONENT LEFT 14.
046429,002320: 00,3135           56123                           XCH      VBUF       +1                         
046430,002321: 00,3136           56122                           XCH      VBUF                                  
046431,002322: 00,3137           56125                           XCH      VBUF       +3                         
046432,002323: 00,3140           56124                           XCH      VBUF       +2                         
046433,002324: 00,3141           56127                           XCH      VBUF       +5                         
046434,002325: 00,3142           56126                           XCH      VBUF       +4                         
046435,002326: 
046436,002327: 00,3143           40135                           CS       MPTEMP                                
046437,002328: 00,3144           50000                           INDEX    A                                     
046438,002329: 00,3145           34736                           CAF      BIT14                                 
046439,002330: 00,3146           00006                           EXTEND                                         
046440,002331: 00,3147           70154                           MP       MPAC                                  
046441,002332: 00,3150           13062                           TCF      SMALL2                                
046442,002333: 
046443,002334: 00,3151     4761               THIRTEEN           =        OCT15                                 
046444,002335: 00,3151     4317               FOURTEEN           =        OCT16                                 
046445,002336: 00,3151     4317               OCT16              =        R1D1                                  
046446,002337: 

Page 1069

046448,002339:                                                                                                  #           THE FOLLOWING ROUTINE SETS UP THE CALL TO THE DIVIDE ROUTINES.
046449,002340: 
046450,002341: 00,3151           10154        UNITDV             CCS      MPAC                                  #  FORCE MPAC POSITIVE IF POSSIBLE, SETTING
046451,002342: 00,3152           13170                           TCF      UMPAC+                                #  DVSIGN ACCORDING TO THE SIGN OF MPAC
046452,002343: 00,3153           13155                           TCF      +2                                    #  SINCE THE DIVISOR IS ALWAYS POSITIVE
046453,002344: 00,3154           13162                           TCF      UMPAC-                                #  HERE.
046454,002345: 
046455,002346: 00,3155           10155                           CCS      MPAC       +1                         
046456,002347: 00,3156           13170                           TCF      UMPAC+                                
046457,002348: 00,3157           00002                           TC       Q                                     #  EXIT IMMEDIATELY ON ZERO.
046458,002349: 00,3160           13162                           TCF      UMPAC-                                
046459,002350: 00,3161           00002                           TC       Q                                     
046460,002351: 
046461,002352: 00,3162           44755        UMPAC-             CS       ZERO                                  #  IF NEGATIVE, SET -0 IN DVSIGN FOR FINAL
046462,002353: 00,3163           54136                           TS       DVSIGN                                #  COMPLEMENT.
046463,002354: 00,3164           00006                           EXTEND                                         
046464,002355: 00,3165           40155                           DCS      MPAC                                  #  PICK UP ABSOLUTE VALUE OF ARG AND JUMP.
046465,002356: 00,3166           50135                           INDEX    MPTEMP                                
046466,002357: 00,3167           12564                           TCF      MAXTEST    -1                         
046467,002358: 
046468,002359: 00,3170           54136        UMPAC+             TS       DVSIGN                                #  SET DVSIGN FOR POSITIVE QUOTIENT.
046469,002360: 00,3171           52155                           DXCH     MPAC                                  
046470,002361: 00,3172           50135                           INDEX    MPTEMP                                
046471,002362: 00,3173           12564                           TCF      MAXTEST    -1                         
046472,002363: 

Page 1070

046474,002365:                                                                                                  #           MISCELLANEOUS UNARY OPERATIONS.
046475,002366: 
046476,002367: 00,3174           03300        DSQ                TC       DSQSUB                                #  SQUARE THE DP CONTENTS OF MPAC.
046477,002368: 00,3175           16060                           TCF      DANZIG                                
046478,002369: 
046479,002370: 00,3176           10163        ABVALABS           CCS      MODE                                  #  ABVAL OR ABS INSTRUCTION.
046480,002371: 00,3177           13226                           TCF      ABS                                   #  DO ABS ON SCALAR.
046481,002372: 00,3200           13226                           TCF      ABS                                   
046482,002373: 
046483,002374: 00,3201           03317        ABVAL              TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
046484,002375: 00,3202           22163                           LXCH     MODE                                  #  MODE IS NOW DP (L ZERO AFTER DAS).
046485,002376: 
046486,002377: 00,3203           00006                           EXTEND                                         #  STORE SQUARE OF LENGTH IN WORK AREA.
046487,002378: 00,3204           30155                           DCA      MPAC                                  
046488,002379: 00,3205           50120                           INDEX    FIXLOC                                
046489,002380: 00,3206           52043                           DXCH     LVSQUARE                              
046490,002381: 

Page 1071

046492,002383:                                                                                                  #  PROGRAM DESCRIPTION- SUBROUTINE SQRT
046493,002384:                                                                                                  #  FUNCTIONAL DESCRIPTION-DOUBLE PRECISION SQUARE ROOT ROUTINE
046494,002385:                                                                                                  #      THIS PROGRAM TAKES THE SQUARE ROOT OF THE 27 OR 28 MOST SIGNIFICANT BITS IN THE TRIPLE PRECISION SET OF
046495,002386:                                                                                                  #      NUMBERS-MPAC,MPAC+1,AND MPAC+2.  THE ROOT IS RETURNED DOUBLE        PRECISION IN MPAC AND MPAC+1.
046496,002387:                                                                                                  #  WARNING- THIS SUBROUTINE USES A TRIPLE PRECISION INPUT. THE PROGRAMMER  MUST ASSURE THE CONTENTS OF MPAC+2
046497,002388:                                                                                                  #      ESPECIALLY IF THE CONTENTS OF MPAC IS SMALL OR ZERO.  FOR DETAILS SEE STG MEMO NO.949.
046498,002389:                                                                                                  #  CALLING SEQUENCE- IN INTERPRETIVE MODE I.E., FOLLOWING TC  INTPRET,SQRT   NO ADDRESS IS ALLOWED
046499,002390:                                                                                                  #  INPUT SCALING  THE BINARY POINT IS ASSUMED TO THE RIGHT OF BIT 15. THE  ANSWER IS RETURNED WITH THE SAME SCALING
046500,002391:                                                                                                  #  SUBROUTINES- GENSCR,MPACSHR, SQRTSUB,ABORT
046501,002392:                                                                                                  #  ABORT EXIT MODE- ABORTS ON NEGATIVE INPUT -1.2X10E-4 (77775  OCTAL)     OR LESS.
046502,002393:                                                                                                  #      DISPLAYS ERROR CODE 1302
046503,002394:                                                                                                  #                  TC   ABORT
046504,002395:                                                                                                  #                  OCT  1302
046505,002396:                                                                                                  #  DEBRIS -  LOCATIONS BUF,MPTEMP,ADDRWD ARE USED
046506,002397: 00,3207           03343        SQRT               TC       SQRTSUB                               #  TAKE THE SQUARE ROOT OF MPAC.
046507,002398: 00,3210           10135                           CCS      MPTEMP                                #  RETURNED NORMALIZED SQUARE ROOT. SEE IF
046508,002399: 00,3211           13213                           TCF      +2                                    #  ANY UN-NORMALIZATION REQUIRED AND EXIT
046509,002400: 00,3212           16060                           TCF      DANZIG                                #  IF NOT.
046510,002401: 
046511,002402: 00,3213           63733                           AD       NEG12                                 #  A RIGHT SHIFT OF MORE THAN 13 COULD BE
046512,002403: 00,3214           00006                           EXTEND                                         #  REQUIRED IF INPUT WAS ZERO IN MPAC,+1.
046513,002404: 00,3215           63221                           BZMF     SQRTSHFT                              #  GOES HERE IN MOST CASES.
046514,002405: 00,3216           22007                           ZL                                             #  IF A LONG SHIFT IS REQUIRED, GO TO
046515,002406: 00,3217           22116                           LXCH     ADDRWD                                #  GENERAL RIGHT SHIFT ROUTINES.
046516,002407: 00,3220           12303                           TCF      GENSCR     +4                         #  ADDRWD WAS ZERO TO PREVENT ROUND.
046517,002408: 
046518,002409: 00,3221           50135        SQRTSHFT           INDEX    MPTEMP                                #  SELECT SHIFTING BIT AND EXIT THROUGH
046519,002410: 00,3222           34735                           CAF      BIT15                                 #  SHIFT ROUTINES.
046520,002411: 00,3223           54135                           TS       MPTEMP                                
046521,002412: 00,3224           34755                           CAF      ZERO                                  #  TO ZERO MPAC +2 IN THE PROCESS.
046522,002413: 00,3225           12036                           TCF      MPACSHR    +3                         
046523,002414: 
046524,002415: 00,3226           06722        ABS                TC       BRANCH                                #  TEST SIGN OF MPAC AND COMPLEMENT IF
046525,002416: 00,3227           16060                           TCF      DANZIG                                
046526,002417: 00,3230           16060                           TCF      DANZIG                                
046527,002418: 00,3231           17667                           TCF      COMP                                  
046528,002419: 

Page 1072

046530,002421: 00,3232           44751        VDEF               CS       FOUR                                  #  VECTOR DEFINE - ESSENTIALLY TREATS
046531,002422: 00,3233           26166                           ADS      PUSHLOC                               #  SCALAR IN MPAC AS X COMPONENT, PUSHES UP
046532,002423: 00,3234           00006                           EXTEND                                         #  FOR Y AND THEN AGAIN FOR Z.
046533,002424: 00,3235           50000                           INDEX    A                                     
046534,002425: 00,3236           30003                           DCA      2                                     
046535,002426: 00,3237           52160                           DXCH     MPAC       +3                         
046536,002427: 00,3240           00006                           EXTEND                                         
046537,002428: 00,3241           50166                           INDEX    PUSHLOC                               
046538,002429: 00,3242           30001                           DCA      0                                     
046539,002430: 00,3243           52162                           DXCH     MPAC       +5                         
046540,002431: 00,3244           16520                           TCF      VMODE                                 #  MODE IS NON VECTOR.
046541,002432: 
046542,002433: 00,3245           03317        VSQ                TC       VSQSUB                                #  DOT MPAC WITH ITSELF.
046543,002434: 00,3246           17331                           TCF      DMODE                                 #  MODE IS NOW DP.
046544,002435: 
046545,002436: 00,3247           00006        PUSH               EXTEND                                         #  PUSH DOWN MPAC LEAVING IT LOADED.
046546,002437: 00,3250           30155                           DCA      MPAC                                  
046547,002438: 00,3251           50166                           INDEX    PUSHLOC                               #  PUSH DOWN FIRST TWO REGISTERS IN EACH
046548,002439: 00,3252           52001                           DXCH     0                                     
046549,002440: 
046550,002441: 00,3253           50163                           INDEX    MODE                                  #  INCREMENT PUSHDOWN POINTER.
046551,002442: 00,3254           36243                           CAF      NO.WDS                                
046552,002443: 00,3255           26166                           ADS      PUSHLOC                               
046553,002444: 
046554,002445: 00,3256           10163                           CCS      MODE                                  
046555,002446: 00,3257           13272                           TCF      TPUSH                                 #  PUSH DOWN MPAC +2.
046556,002447: 00,3260           16060                           TCF      DANZIG                                #  DONE FOR DP.
046557,002448: 
046558,002449: 00,3261           00006                           EXTEND                                         #  ON VECTOR, PUSH DOWN Y AND Z COMPONENTS.
046559,002450: 00,3262           30160                           DCA      MPAC       +3                         
046560,002451: 00,3263           50166                           INDEX    PUSHLOC                               
046561,002452: 00,3264           51775                           DXCH     0          -4                         
046562,002453: 00,3265           00006                           EXTEND                                         
046563,002454: 00,3266           30162                           DCA      MPAC       +5                         
046564,002455: 00,3267           50166                           INDEX    PUSHLOC                               
046565,002456: 00,3270           51777                           DXCH     0          -2                         
046566,002457: 00,3271           16060                           TCF      DANZIG                                
046567,002458: 
046568,002459: 00,3272           30156        TPUSH              CA       MPAC       +2                         
046569,002460: 00,3273           16553                           TCF      ENDTPUSH   +2                         
046570,002461: 
046571,002462: 00,3274           50120        RVQ                INDEX    FIXLOC                                #  RVQ - RETURN IVA QPRET.
046572,002463: 00,3275           30052                           CA       QPRET                                 
046573,002464: 00,3276           54117                           TS       POLISH                                
046574,002465: 00,3277           16651                           TCF      GOTO       +4                         #  (ASSUME QPRET POINTS TO FIXED ONLY.)
046575,002466: 

Page 1073

046577,002468:                                                                                                  #           THE FOLLOWING SUBROUTINES ARE USED IN SQUARING MPAC, IN BOTH THE SCALAR AND VECTOR SENSE. THEY ARE
046578,002469:                                                                                                  #  SPECIAL CASES OF DMPSUB AND DOTSUB, PUT IN TO SAVE SOME TIME.
046579,002470: 
046580,002471: 00,3300           30155        DSQSUB             CA       MPAC       +1                         #  SQUARES THE SCALAR CONTENTS OF MPAC.
046581,002472: 00,3301           00006                           EXTEND                                         
046582,002473: 00,3302           70000                           SQUARE                                         
046583,002474: 00,3303           54156                           TS       MPAC       +2                         
046584,002475: 00,3304           34755                           CAF      ZERO                                  #  FORM 2(CROSS TERM).
046585,002476: 00,3305           56155                           XCH      MPAC       +1                         
046586,002477: 00,3306           00006                           EXTEND                                         
046587,002478: 00,3307           70154                           MP       MPAC                                  
046588,002479: 00,3310           20001                           DDOUBL                                         #  AND MAYBE OVERFLOW.
046589,002480: 00,3311           20156                           DAS      MPAC       +1                         #  AND SET A TO NET OVERFLOW.
046590,002481: 00,3312           56154                           XCH      MPAC                                  
046591,002482: 00,3313           00006                           EXTEND                                         
046592,002483: 00,3314           70000                           SQUARE                                         
046593,002484: 00,3315           20155                           DAS      MPAC                                  
046594,002485: 00,3316           00002                           TC       Q                                     
046595,002486: 
046596,002487: 00,3317           00006        VSQSUB             EXTEND                                         #  DOTS THE VECTOR IN MPAC WITH ITSELF.
046597,002488: 00,3320           22137                           QXCH     DOTRET                                
046598,002489: 00,3321           03300                           TC       DSQSUB                                #  SQUARE THE X COMPONENT.
046599,002490: 00,3322           52160                           DXCH     MPAC       +3                         
046600,002491: 00,3323           52155                           DXCH     MPAC                                  
046601,002492: 00,3324           52131                           DXCH     BUF                                   #  SO WE CAN END IN DOTSUB.
046602,002493: 00,3325           30156                           CA       MPAC       +2                         
046603,002494: 00,3326           54132                           TS       BUF        +2                         
046604,002495: 
046605,002496: 00,3327           03300                           TC       DSQSUB                                #  SQUARE Y COMPONENT.
046606,002497: 00,3330           52156                           DXCH     MPAC       +1                         
046607,002498: 00,3331           20132                           DAS      BUF        +1                         
046608,002499: 00,3332           60154                           AD       MPAC                                  
046609,002500: 00,3333           60130                           AD       BUF                                   
046610,002501: 00,3334           54130                           TS       BUF                                   
046611,002502: 00,3335           13337                           TCF      +2                                    
046612,002503: 00,3336           54121                           TS       OVFIND                                #  IF OVERFLOW.
046613,002504: 
046614,002505: 00,3337           52162                           DXCH     MPAC       +5                         
046615,002506: 00,3340           52155                           DXCH     MPAC                                  
046616,002507: 00,3341           03300                           TC       DSQSUB                                #  SQUARE Z COMPONENT.
046617,002508: 00,3342           17204                           TCF      ENDDOT                                #  END AS IN DOTSUB.
046618,002509: 

Page 1074

046620,002511:                                                                                                  #           DOUBLE PRECISION SQUARE ROOT ROUTINE. TAKE THE SQUARE ROOT OF THE TRIPLE PRECISION (MPAC +2 USED ONLY
046621,002512:                                                                                                  #  IN NORMALIZATION) CONTENTS OF MPAC AND LEAVE THE NORMALIZED RESULT IN MPAC (C(MPAC) GREATER THAN OR EQUAL TO
046622,002513:                                                                                                  #  .5). THE RIGHT SHIFT COUNT (TO UNNORMALIZE) IS LEFT IN MPTEMP.
046623,002514: 
046624,002515: 
046625,002516: 00,3343           34755        SQRTSUB            CAF      ZERO                                  #  START BY ZEROING RIGHT SHIFT COUNT.
046626,002517: 00,3344           54135                           TS       MPTEMP                                
046627,002518: 
046628,002519: 00,3345           10154                           CCS      MPAC                                  #  CHECK FOR POSITIVE ARGUMENT, SHIFTING
046629,002520: 00,3346           13405                           TCF      SMPAC+                                #  FIRST SIGNIFICANT MPAC REGISTER INTO
046630,002521: 00,3347           13351                           TCF      +2                                    #  MPAC ITSELF.
046631,002522: 00,3350           13373                           TCF      SQRTNEG                               #  SEE IF MAG OF ARGUMENT LESS THAN 10(-4).
046632,002523: 
046633,002524: 00,3351           56156                           XCH      MPAC       +2                         #  MPAC IS ZERO - SHIFT LEFT 14.
046634,002525: 00,3352           56155                           XCH      MPAC       +1                         
046635,002526: 00,3353           54154                           TS       MPAC                                  
046636,002527: 00,3354           34757                           CAF      SEVEN                                 #  AUGMENT RIGHT SHIFT COUNTER.
046637,002528: 00,3355           54135                           TS       MPTEMP                                
046638,002529: 
046639,002530: 00,3356           10154                           CCS      MPAC                                  #  SEE IF MPAC NOW PNZ.
046640,002531: 00,3357           13405                           TCF      SMPAC+                                
046641,002532: 00,3360           13362                           TCF      +2                                    
046642,002533: 00,3361           13376                           TCF      ZEROANS                               #  NEGATIVE BUT LESS THAN 10(-4) IN MAG.
046643,002534: 
046644,002535: 00,3362           56155                           XCH      MPAC       +1                         #  ZERO - SHIFT LEFT 14 AGAIN.
046645,002536: 00,3363           54154                           TS       MPAC                                  
046646,002537: 00,3364           34757                           CAF      SEVEN                                 #  AUGMENT RIGHT SHIFT COUNTER.
046647,002538: 00,3365           26135                           ADS      MPTEMP                                
046648,002539: 
046649,002540: 00,3366           10154                           CCS      MPAC                                  
046650,002541: 00,3367           13405                           TCF      SMPAC+                                
046651,002542: 00,3370           00002                           TC       Q                                     #  SQRT(0) = 0.
046652,002543: 00,3371           13376                           TCF      ZEROANS                               
046653,002544: 00,3372           13453                           TCF      FIXROOT                               #  DO NOT LEAVE SQRTSUB WITH -0 IN MPAC.
046654,002545: 
046655,002546: 
046656,002547: 00,3373           10000        SQRTNEG            CCS      A                                     #  ARGUMENT IS NEGATIVE, BUT SEE IF SIGN-
046657,002548: 00,3374           13402                           TCF      SQRTABRT                              #  CORRECTED ARGUMENT IS LESS THAN 10(-4)
046658,002549: 
046659,002550: 00,3375           10155                           CCS      MPAC       +1                         #  IN MAGNITUDE. IF SO, CALL ANSWER ZERO.
046660,002551: 00,3376           34755        ZEROANS            CAF      ZERO                                  #  FORCE ANSWER TO ZERO HERE.
046661,002552: 00,3377           13453                           TCF      FIXROOT                               
046662,002553: 00,3400           13402                           TCF      SQRTABRT                              
046663,002554: 00,3401           13453                           TCF      FIXROOT                               
046664,002555: 
046665,002556: 00,3402           52165        SQRTABRT           DXCH     LOC                                   
046666,002557: 00,3403           05720                           TC       POODOO1                               
046667,002558: 00,3404           01302                           OCT      1302                                  
046668,002559: 

Page 1075

046670,002561: 00,3405           62444        SMPAC+             AD       -1/2+2                                #  SEE IF ARGUMENT GREATER THAN OR EQUAL TO
046671,002562: 00,3406           00006                           EXTEND                                         #  .5.
046672,002563: 00,3407           63456                           BZMF     SRTEST                                #  IF SO, SEE IF LESS THAN .25.
046673,002564: 
046674,002565: 00,3410           52155                           DXCH     MPAC                                  #  WE WILL TAKE THE SQUARE ROOT OF MPAC/2.
046675,002566: 00,3411           22021                           LXCH     SR                                    #  SHIFT RIGHT 1 AND GO TO THE SQRT ROUTINE
046676,002567: 00,3412           00006                           EXTEND                                         
046677,002568: 00,3413           74736                           MP       HALF                                  
046678,002569: 00,3414           52155                           DXCH     MPAC                                  
046679,002570: 00,3415           56021                           XCH      SR                                    
046680,002571: 00,3416           26155                           ADS      MPAC       +1                         #  GUARANTEED NO OVERFLOW.
046681,002572: 
046682,002573: 00,3417           32314        ARGHI              CAF      SLOPEHI                               #  ARGUMENT BETWEEN .25 AND .5. GET A
046683,002574: 00,3420           00006                           EXTEND                                         #  LINEAR APPROXIMATION FOR THIS RANGE.
046684,002575: 00,3421           70154                           MP       MPAC                                  
046685,002576: 00,3422           62566                           AD       BIASHI                                #  X0/2 = (MPAC/2)(SLOPEHI) + BIASHI/2.
046686,002577: 
046687,002578: 00,3423           54130                 +4        TS       BUF                                   #  X0/2 (ARGLO ENTERS HERE).
046688,002579: 00,3424           30154                           CA       MPAC                                  #  SINGLE-PRECISION THROUGHOUT.
046689,002580: 00,3425           22007                           ZL                                             
046690,002581: 00,3426           00006                           EXTEND                                         
046691,002582: 00,3427           10130                           DV       BUF                                   #  (MPAC/2)/(X0/2)
046692,002583: 00,3430           00006                           EXTEND                                         
046693,002584: 00,3431           74736                           MP       HALF                                  
046694,002585: 00,3432           26130                           ADS      BUF                                   #  X1 = X0/2 + .5(MPAC/2)/(X0/2).
046695,002586: 
046696,002587: 00,3433           00006                           EXTEND                                         
046697,002588: 00,3434           74736                           MP       HALF                                  #  FORM UP X1/2.
046698,002589: 00,3435           52155                           DXCH     MPAC                                  #  SAVE AND BRING OUT ARGUMENT.
046699,002590: 00,3436           00006                           EXTEND                                         #  TAKE DP QUOTIENT WITH X1.
046700,002591: 00,3437           10130                           DV       BUF                                   
046701,002592: 00,3440           54131                           TS       BUF        +1                         #  SAVE MAJOR PART OF QUOTIENT.
046702,002593: 00,3441           34755                           CAF      ZERO                                  #  FORM MINOR PART OF QUOTIENT USING
046703,002594: 00,3442           56001                           XCH      L                                     #  (REMAINDER,0).
046704,002595: 00,3443           00006                           EXTEND                                         
046705,002596: 00,3444           10130                           DV       BUF                                   
046706,002597: 00,3445           54001                           TS       L                                     #  IN PREPARATION FOR DAS.
046707,002598: 00,3446           30131                           CA       BUF        +1                         
046708,002599: 00,3447           20155                           DAS      MPAC                                  #  X2 = X1/2 + (MPAC/2)X1
046709,002600: 
046710,002601: 00,3450           00006                           EXTEND                                         #  OVERFLOWS IF ARG. NEAR POSMAX.
046711,002602: 00,3451           13455                           BZF      TCQBNK00                              
046712,002603: 00,3452           34733                           CAF      POSMAX                                
046713,002604: 00,3453           54154        FIXROOT            TS       MPAC                                  
046714,002605: 00,3454           54155                           TS       MPAC       +1                         
046715,002606: 00,3455           00002        TCQBNK00           TC       Q                                     #  RETURN TO CALLER TO UNNORMALIZE, ETC.
046716,002607: 

Page 1076

046718,002609: 00,3456           64737        SRTEST             AD       QUARTER                               #  ARGUMENT WAS LESS THAN .5, SEE IF LESS
046719,002610: 00,3457           00006                           EXTEND                                         #  THAN .25.
046720,002611: 00,3460           63502                           BZMF     SQRTNORM                              #  IF SO, BEGIN NORMALIZATION.
046721,002612: 
046722,002613: 00,3461           52155                           DXCH     MPAC                                  #  IF BETWEEN .5 AND .25, SHIFT RIGHT 1 AND
046723,002614: 00,3462           22021                           LXCH     SR                                    #  START AT ARGLO.
046724,002615: 00,3463           00006                           EXTEND                                         
046725,002616: 00,3464           74736                           MP       HALF                                  
046726,002617: 00,3465           52155                           DXCH     MPAC                                  
046727,002618: 00,3466           56021                           XCH      SR                                    
046728,002619: 00,3467           26155                           ADS      MPAC       +1                         #  NO OVERFLOW.
046729,002620: 
046730,002621: 00,3470           33007        ARGLO              CAF      SLOPELO                               #  (NORMALIZED) ARGUMENT BETWEEN .125 AND
046731,002622: 00,3471           00006                           EXTEND                                         #  .25
046732,002623: 00,3472           70154                           MP       MPAC                                  
046733,002624: 00,3473           62270                           AD       BIASLO                                
046734,002625: 00,3474           13423                           TCF      ARGHI      +4                         #  BEGIN SQUARE ROOT.
046735,002626: 
046736,002627: 00,3475           00006        SQRTNM2            EXTEND                                         #  SHIFT LEFT 2 AND INCREMENT RIGHT SHIFT
046737,002628: 00,3476           30156                           DCA      MPAC       +1                         #  COUNT (FOR TERMINAL UNNORMALIZATION).
046738,002629: 00,3477           20156                           DAS      MPAC       +1                         
046739,002630: 00,3500           60154                           AD       MPAC                                  
046740,002631: 00,3501           26154                           ADS      MPAC                                  #  (NO OVERFLOW).
046741,002632: 
046742,002633: 00,3502           24135        SQRTNORM           INCR     MPTEMP                                #  FIRST TIME THROUGH, JUST SHIFT LEFT 1
046743,002634: 00,3503           00006                           EXTEND                                         #  (PUTS IN EFFECTIVE RIGHT SHIFT SINCE
046744,002635: 00,3504           30156                           DCA      MPAC       +1                         #  WE WANT MPAC/2).
046745,002636: 00,3505           20156                           DAS      MPAC       +1                         
046746,002637: 00,3506           60154                           AD       MPAC                                  
046747,002638: 00,3507           26154                           ADS      MPAC                                  #  (AGAIN NO OVERFLOW).
046748,002639: 00,3510           60000                           DOUBLE                                         
046749,002640: 00,3511           54022                           TS       CYL                                   
046750,002641: 
046751,002642: 00,3512           10022        NORMTEST           CCS      CYL                                   #  SEE IF ARGUMENT NOW NORMALIZED AT
046752,002643: 00,3513           10022                           CCS      CYL                                   #  GREATER THAN .125.
046753,002644: 00,3514           13475                           TCF      SQRTNM2                               #  NO - SHIFT LEFT 2 MORE AND TRY AGAIN.
046754,002645: 00,3515           13417                           TCF      ARGHI                                 #  YES - NOW BETWEEN .5 AND .25.
046755,002646: 00,3516           13470                           TCF      ARGLO                                 #  ARGUMENT NOW BETWEEN .25 AND .125.
046756,002647: 

Page 1077

046758,002649:                                                                                                  #  TRIGONOMETRIC FUNCTION PACKAGE.
046759,002650: 
046760,002651:                                                                                                  #           THE FOLLOWING TRIGONOMETRIC FUNCTIONS ARE AVAILABLE AS INTERPRETIVE OPERATIONS:
046761,002652: 
046762,002653:                                                                                                  #           1.  SIN                COMPUTES (1/2)SINE(2 PI MPAC).
046763,002654:                                                                                                  #           2.  COS                COMPUTES (1/2)COSINE(2 PI MPAC).
046764,002655: 
046765,002656:                                                                                                  #           3.  ASIN               COMPUTES (1/2PI)ARCSINE(2 MPAC).
046766,002657:                                                                                                  #           4.  ACOS               COMPUTES (1/2PI)ARCCOSINE(2 MPAC).
046767,002658: 
046768,002659:                                                                                                  #  SIN-ASIN AND COS-ACOS ARE MUTUALLY INVERSE, IE SIN(ASIN(X)) = X.
046769,002660: 
046770,002661: 
046771,002662: 00,3517           06722        COSINE             TC       BRANCH                                #  FINDS COSINE USING THE IDENTITY
046772,002663: 00,3520           13523                           TCF      +3                                    #  COS(X) = SIN(PI/2 - ABS(X)).
046773,002664: 00,3521           13526                           TCF      PRESINE                               
046774,002665: 00,3522           13526                           TCF      PRESINE                               
046775,002666: 
046776,002667: 00,3523           00006                 +3        EXTEND                                         
046777,002668: 00,3524           40155                           DCS      MPAC                                  
046778,002669: 00,3525           52155                           DXCH     MPAC                                  
046779,002670: 
046780,002671: 00,3526           34737        PRESINE            CAF      QUARTER                               #  PI/2 SCALED.
046781,002672: 00,3527           26154                           ADS      MPAC                                  
046782,002673: 
046783,002674: 
046784,002675: 00,3530           52155        SINE               DXCH     MPAC                                  #  DOUBLE ARGUMENT.
046785,002676: 00,3531           20001                           DDOUBL                                         
046786,002677: 00,3532           54000                           OVSK                                           #  SEE IF OVERFLOW PRESENT.
046787,002678: 00,3533           13536                           TCF      +3                                    #  IF NOT, ARGUMENT OK AS IS.
046788,002679: 
046789,002680: 00,3534           00006                           EXTEND                                         #  IF SO, WE LOST (OR GAINED) PI, SO
046790,002681: 00,3535           40001                           DCOM                                           #  COMPLEMENT MPAC USING THE IDENTITY
046791,002682:                                                                                                  #  SIN(X-(+)PI) = SIN(-X).
046792,002683: 00,3536           52155                 +3        DXCH     MPAC                                  
046793,002684: 00,3537           30154                           CA       MPAC                                  #  SEE IF ARGUMENT GREATER THAN .5 IN
046794,002685: 00,3540           60000                           DOUBLE                                         #  MAGNITUDE. IF SO, REDUCE IT TO LESS THAN
046795,002686: 00,3541           54001                           TS       L                                     #  .5 (+-PI/2 SCALED) AS FOLLOWS:
046796,002687: 00,3542           13553                           TCF      SN1                                   
046797,002688: 
046798,002689: 00,3543           50000                           INDEX    A                                     #  IF POSITIVE, FORM PI - X, IF NEGATIVE
046799,002690: 00,3544           34735                           CAF      NEG1/2     +1                         #  USE -PI - X.
046800,002691: 00,3545           60000                           DOUBLE                                         
046801,002692: 00,3546           00006                           EXTEND                                         
046802,002693: 00,3547           60154                           SU       MPAC                                  #  GUARANTEED NO OVERFLOW.
046803,002694: 00,3550           54154                           TS       MPAC                                  
046804,002695: 00,3551           40155                           CS       MPAC       +1                         
046805,002696: 00,3552           54155                           TS       MPAC       +1                         
046806,002697: 

Page 1078

046808,002699: 00,3553           00006        SN1                EXTEND                                         #  SET UP TO EVALUATE HASTINGS POLYNOMIAL
046809,002700: 00,3554           30155                           DCA      MPAC                                  
046810,002701: 00,3555           52134                           DXCH     BUF2                                  
046811,002702: 00,3556           03300                           TC       DSQSUB                                #  SQUARE MPAC.
046812,002703: 
046813,002704: 00,3557           07221                           TC       POLY                                  #  EVALUATE FOURTH ORDER POLYNOMIAL.
046814,002705: 00,3560           00003                           DEC      3          B-14                       
046815,002706: 00,3561           14441 37325                     2DEC     +.3926990796                            
046816,002707: 
046817,002708: 00,3563           53250 60764                     2DEC     -.6459637111                            
046818,002709: 
046819,002710: 00,3565           12146 21276                     2DEC     +.318758717                            
046820,002711: 
046821,002712: 00,3567           75466 71471                     2DEC     -.074780249                            
046822,002713: 
046823,002714: 00,3571           00236 32757                     2DEC     +.009694988                            
046824,002715: 
046825,002716: 00,3573           32470                           CAF      LBUF2                                 #  MULTIPLY BY ARGUMENT AND SHIFT LEFT 2.
046826,002717: 00,3574           07105                           TC       DMPSUB     -1                         
046827,002718: 
046828,002719: 00,3575           00006                           EXTEND                                         
046829,002720: 00,3576           30156                           DCA      MPAC       +1                         
046830,002721: 00,3577           20156                           DAS      MPAC       +1                         
046831,002722: 00,3600           60154                           AD       MPAC                                  
046832,002723: 00,3601           26154                           ADS      MPAC                                  #  NEITHER SHIFT OVERFLOWS.
046833,002724: 00,3602           00006                           EXTEND                                         
046834,002725: 00,3603           30156                           DCA      MPAC       +1                         
046835,002726: 00,3604           20156                           DAS      MPAC       +1                         
046836,002727: 00,3605           60154                           AD       MPAC                                  
046837,002728: 00,3606           26154                           ADS      MPAC                                  
046838,002729: 00,3607           16060                           TCF      DANZIG                                
046839,002730: 

Page 1079

046841,002732:                                                                                                  #           ARCSIN/ARCCOS ROUTINE.
046842,002733: 
046843,002734: 00,3610           33631        ARCSIN             CAF      LASINEX                               #  COMPUTE ARCSIN BY USING THE IDENTITY
046844,002735: 00,3611           13613                           TCF      +2                                    #  ARCSIN(X) = PI/2 - ARCCOS(X).
046845,002736: 
046846,002737: 00,3612           33713        ARCCOS             CAF      LDANZIG                               #  (EXITS IMMEDIATELY).
046847,002738: 00,3613           54136                           TS       ESCAPE                                
046848,002739: 00,3614           06722                           TC       BRANCH                                #  TEST SIGN OF INPUT.
046849,002740: 00,3615           13625                           TCF      ACOSST                                #  START IMMEDIATELY IF POSITIVE.
046850,002741: 00,3616           13731                           TCF      ACOSZERO                              #  ARCCOS(0) = PI/2 = .25.
046851,002742: 00,3617           00006                           EXTEND                                         #  IF NEGATIVE, USE THE IDENTITY
046852,002743: 00,3620           40155                           DCS      MPAC                                  #  ARCCOS(X) = PI - ARCCOS(-X), FORCING
046853,002744: 00,3621           52155                           DXCH     MPAC                                  #  ARGUMENT POSITIVE.
046854,002745: 00,3622           33734                           CAF      TCSUBTR                               #  SET EXIT  TO DO ABOVE BEFORE
046855,002746: 00,3623           56136                           XCH      ESCAPE                                #  ARCSIN/ARCCOS CONSIDERATIONS.
046856,002747: 00,3624           54137                           TS       ESCAPE2                               
046857,002748: 
046858,002749: 00,3625           44736        ACOSST             CS       HALF                                  #  TEST MAGNITUDE OF INPUT.
046859,002750: 00,3626           60154                           AD       MPAC                                  
046860,002751: 00,3627           10000                           CCS      A                                     
046861,002752: 00,3630           13721                           TCF      ACOSOVF                               #  THIS IS PROBABLY AN OVERFLOW CASE.
046862,002753: 
046863,002754: 00,3631           13707        LASINEX            TCF      ASINEX                                
046864,002755: 
046865,002756: 00,3632           13642                           TCF      ACOSST2                               #  NO OVERFLOW - PROCEED.
046866,002757: 
046867,002758: 00,3633           10155                           CCS      MPAC       +1                         #  IF MAJOR PART IS .5, CALL ANSWER 0
046868,002759: 00,3634           34755                           CAF      ZERO                                  #  UNLESS MINOR PART NEGATIVE.
046869,002760: 00,3635           13637                           TCF      ACOS=0                                
046870,002761: 
046871,002762: 00,3636           13642                           TCF      ACOSST2                               
046872,002763: 
046873,002764: 00,3637           54155        ACOS=0             TS       MPAC       +1                         
046874,002765: 00,3640           54154                           TS       MPAC                                  
046875,002766: 00,3641           00136                           TC       ESCAPE                                
046876,002767: 
046877,002768: 00,3642           00006        ACOSST2            EXTEND                                         #  NOW THAT ARGUMENT IS IN PROPER RANGE,
046878,002769: 00,3643           40155                           DCS      MPAC                                  #  BEGIN COMPUTATION. USE HASTINGS
046879,002770: 00,3644           64736                           AD       HALF                                  #  APPROXIMATION ARCCOS(X) = SQRT(1-X)P(X)
046880,002771: 00,3645           52155                           DXCH     MPAC                                  #  IN A SCALED VERSION WHERE P(X) IS A
046881,002772: 00,3646           52134                           DXCH     BUF2                                  #  SEVENTH ORDER POLYNOMIAL.
046882,002773: 
046883,002774: 00,3647           03343                           TC       SQRTSUB                               #  RETURNS WITH NORMALIZED SQUARE ROOT.
046884,002775: 
046885,002776: 00,3650           10135                           CCS      MPTEMP                                #  SEE IF UN-NORMALIZATION REQUIRED.
046886,002777: 00,3651           13714                           TCF      ACOSSHR                               #  IF SO.
046887,002778: 

Page 1080

046889,002780: 00,3652           52155        ACOS3              DXCH     MPAC                                  #  SET UP FOR POLYNOMIAL EVALUATION.
046890,002781: 00,3653           52134                           DXCH     BUF2                                  
046891,002782: 00,3654           52155                           DXCH     MPAC                                  
046892,002783: 
046893,002784: 00,3655           07221                           TC       POLY                                  
046894,002785: 00,3656           00006                           DEC      6          B-14                       
046895,002786: 00,3657           13240 23630                     2DEC     +.353553385                            #  COEFFICIENTS ARE C 2(+I)/PISQRT(2) WHERE
046896,002787: 
046897,002788: 00,3661           74721 47775                     2DEC*    -.0483017006 B+1*                       #                  I
046898,002789: 
046899,002790: 00,3663           02440 20237                     2DEC*    +.0200273085 B+2*                       #     WHERE C STANDS FOR ORIGINAL COEFFS.
046900,002791: 
046901,002792: 00,3665           75067 70742                     2DEC*    -.0112931863 B+3*                       
046902,002793: 
046903,002794: 00,3667           03436 26756                     2DEC*    +.00695311612 B+4*                       
046904,002795: 
046905,002796: 00,3671           74037 57640                     2DEC*    -.00384617957 B+5*                       
046906,002797: 
046907,002798: 00,3673           03046 07143                     2DEC*    +.001501297736 B+6*                       
046908,002799: 
046909,002800: 00,3675           76654 42244                     2DEC*    -.000284160334 B+7*                       
046910,002801: 
046911,002802: 
046912,002803: 00,3677           32470                           CAF      LBUF2                                 #  DO FINAL MULTIPLY AND GO TO ANY
046913,002804: 00,3700           07105                           TC       DMPSUB     -1                         #  EPILOGUE SEQUENCES.
046914,002805: 00,3701           00136                           TC       ESCAPE                                
046915,002806: 
046916,002807: 00,3702           00006        SUBTR              EXTEND                                         #  EPILOGUE FOR NEGATIVE INPUTS TO ARCCOS.
046917,002808: 00,3703           40155                           DCS      MPAC                                  
046918,002809: 00,3704           64736                           AD       HALF                                  #  FORMS PI - ARCCOS(-X) = ARCCOS(X).
046919,002810: 00,3705           52155                           DXCH     MPAC                                  
046920,002811: 00,3706           00137                           TC       ESCAPE2                               #  GO TO POSSIBLE ARCSIN EPILOGUE.
046921,002812: 
046922,002813: 00,3707           00006        ASINEX             EXTEND                                         
046923,002814: 00,3710           40155                           DCS      MPAC                                  #  ARCSIN EPILOGUE - GET ARCSIN(X)
046924,002815: 00,3711           64737                           AD       QUARTER                               #  = PI/2 - ARCCOS(X).
046925,002816: 00,3712           52155                           DXCH     MPAC                                  
046926,002817: 00,3713           16060        LDANZIG            TCF      DANZIG                                
046927,002818: 

Page 1081

046929,002820: 00,3714           50000        ACOSSHR            INDEX    A                                     #  THE SHIFT RIGHT IS LESS THAN 14 SINCE
046930,002821: 00,3715           34736                           CAF      BIT14                                 #  THE INPUT WAS NON-ZERO DP.
046931,002822: 00,3716           54135                           TS       MPTEMP                                
046932,002823: 00,3717           02073                           TC       VSHRRND                               #  DP SHIFT RIGHT AND ROUND.
046933,002824: 00,3720           13652                           TCF      ACOS3                                 #  PROCEED.
046934,002825: 
046935,002826: 00,3721           00006        ACOSOVF            EXTEND                                         #  IF MAJOR PART WAS ONLY 1 MORE THAN .5,
046936,002827: 00,3722           13637                           BZF      ACOS=0                                #  CALL ANSWER ZERO.
046937,002828: 
046938,002829: 00,3723           00006        ACOSABRT           EXTEND                                         #  IF OVERFLOW, CALL ANSWER ZERO BUT
046939,002830: 00,3724           30165                           DCA      LOC                                   #  SOUND AN ALARM.
046940,002831: 00,3725           05724                           TC       ALARM1                                
046941,002832: 00,3726           01301                           OCT      1301                                  
046942,002833: 
046943,002834: 00,3727           34755                           CAF      ZERO                                  
046944,002835: 00,3730           13637                           TCF      ACOS=0                                
046945,002836: 
046946,002837: 00,3731           34737        ACOSZERO           CAF      QUARTER                               #  ACOS(0) = PI/2.
046947,002838: 00,3732           13640                           TCF      ACOS=0     +1                         #  SET MPAC AND EXIT VIA ESCAPE.
046948,002839: 
046949,002840: 00,3733           77763        NEG12              DEC      -12        B-14                       
046950,002841: 00,3734           13702        TCSUBTR            TCF      SUBTR                                 
046951,002842: 

Page 1082

046953,002844:                                                                                                  #           THE FOLLOWING INSTRUCTIONS ARE AVAILABLE FOR SETTING, MODIFYING, AND BRANCHING ON INDEX REGISTERS:
046954,002845: 
046955,002846:                                                                                                  #           1.  AXT                ADDRESS TO INDEX TRUE.
046956,002847:                                                                                                  #           1.  AXC                ADDRESS TO INDEX COMPLEMENTED.
046957,002848:                                                                                                  #           3.  LXA                LOAD INDEX FROM ERASABLE.
046958,002849:                                                                                                  #           4.  LXC                LOAD INDEX COMPLEMENTED FROM ERASABLE.
046959,002850:                                                                                                  #           5.  SXA                STORE INDEX IN ERASABLE.
046960,002851:                                                                                                  #           6.  XCHX               EXCHANGE INDEX REIGSTER WITH ERASABLE.
046961,002852: 
046962,002853:                                                                                                  #           7.  INCR               INCREMENT INDEX REGISTER.
046963,002854:                                                                                                  #           8.  XAD                ERASABLE ADD TO INDEX REGISTER.
046964,002855:                                                                                                  #           9.  XSU                ERASABLE SUBTRACT FROM INDEX REGISTER.
046965,002856: 
046966,002857:                                                                                                  #          10.  TIX                BRANCH ON INDEX REGISTER AND DECREMENT.
046967,002858: 
046968,002859: 01,2341                                           BANK     01                                    
046969,002860: 
046970,002861: 01,2341                                           COUNT*   $$/INTER                              
046971,002862: 01,2341           02436        AXT                TC       TAGSUB                                #  SELECT APPROPRIATE INDEX REGISTER.
046972,002863: 01,2342           30117                           CA       POLISH                                
046973,002864: 01,2343           50130        XSTORE             INDEX    INDEXLOC                              #  CONTAINS C(FIXLOC) OR C(FIXLOC)+1.
046974,002865: 01,2344           54046                           TS       X1                                    
046975,002866: 01,2345           16060                           TCF      DANZIG                                
046976,002867: 
046977,002868: 01,2346           02436        AXC                TC       TAGSUB                                
046978,002869: 01,2347           40117                           CS       POLISH                                
046979,002870: 01,2350           02343                           TC       XSTORE                                
046980,002871: 
046981,002872: 01,2351           02424        LXA                TC       15ADRERS                              #  LOAD INDEX REGISTER FROM ERASABLE.
046982,002873: 01,2352           50117                           INDEX    POLISH                                
046983,002874: 01,2353           30000                           CA       0                                     
046984,002875: 01,2354           12343                           TCF      XSTORE                                
046985,002876: 
046986,002877: 01,2355           02424        LXC                TC       15ADRERS                              #  LOAD NDX REG FROM ERASABLE COMPLEMENTED.
046987,002878: 01,2356           50117                           INDEX    POLISH                                
046988,002879: 01,2357           40000                           CS       0                                     
046989,002880: 01,2360           12343                           TCF      XSTORE                                
046990,002881: 
046991,002882: 01,2361           02424        SXA                TC       15ADRERS                              #  STORE INDEX REGISTER IN ERASABLE.
046992,002883: 01,2362           50130                           INDEX    INDEXLOC                              
046993,002884: 01,2363           30046                           CA       X1                                    
046994,002885: 01,2364           50117        MSTORE1            INDEX    POLISH                                
046995,002886: 01,2365           54000                           TS       0                                     
046996,002887: 01,2366           16060                           TCF      DANZIG                                
046997,002888: 

Page 1083

046999,002890: 01,2367           02424        XCHX               TC       15ADRERS                              #  EXCHANGE INDEX REGISTER WITH ERASABLE.
047000,002891: 01,2370           50117                           INDEX    POLISH                                
047001,002892: 01,2371           30000                           CA       0                                     
047002,002893: 01,2372           50130                           INDEX    INDEXLOC                              
047003,002894: 01,2373           56046                           XCH      X1                                    
047004,002895: 01,2374           12364                           TCF      MSTORE1                               
047005,002896: 
047006,002897: 01,2375           02424        XAD                TC       15ADRERS                              #  ADD ERASABLE TO INDEX REGISTER.
047007,002898: 01,2376           50117                           INDEX    POLISH                                
047008,002899: 01,2377           30000                           CA       0                                     
047009,002900: 01,2400           50130        XAD2               INDEX    INDEXLOC                              
047010,002901: 01,2401           26046                           ADS      X1                                    #  IGNORING OVERFLOWS.
047011,002902: 01,2402           16060                           TCF      DANZIG                                
047012,002903: 
047013,002904: 01,2403           02436        INCR               TC       TAGSUB                                #  INCREMENT INDEX REGISTER.
047014,002905: 01,2404           30117                           CA       POLISH                                
047015,002906: 01,2405           12400                           TCF      XAD2                                  
047016,002907: 
047017,002908: 01,2406           02424        XSU                TC       15ADRERS                              #  SUBTRACT ERASABLE FROM INDEX REGISTER.
047018,002909: 01,2407           50117                           INDEX    POLISH                                
047019,002910: 01,2410           40000                           CS       0                                     
047020,002911: 01,2411           12400                           TCF      XAD2                                  
047021,002912: 
047022,002913: 01,2412           02436        TIX                TC       TAGSUB                                #  BRANCH AND DECREMENT ON INDEX.
047023,002914: 01,2413           50130                           INDEX    INDEXLOC                              
047024,002915: 01,2414           40050                           CS       S1                                    
047025,002916: 01,2415           50130                           INDEX    INDEXLOC                              
047026,002917: 01,2416           60046                           AD       X1                                    
047027,002918: 01,2417           00006                           EXTEND                                         #  NO OPERATION IF DECREMENTED INDEX IS
047028,002919: 01,2420           66060                           BZMF     DANZIG                                #  NEGATIVE OR ZERO.
047029,002920: 
047030,002921: 01,2421           50130        DOTIXBR            INDEX    INDEXLOC                              
047031,002922: 01,2422           56046                           XCH      X1                                    #  IGNORING OVERFLOWS.
047032,002923: 
047033,002924: 01,2423           16645                           TCF      GOTO                                  #  DO THE BRANCH USING THE CADR IN POLISH.
047034,002925: 

Page 1084

047036,002927:                                                                                                  #           SUBROUTINE TO CONVERT AN ERASABLE ADDRESS (11 BITS) TO AN EBANK SETTING AND SUBADDRESS.
047037,002928: 
047038,002929: 01,2424           40117        15ADRERS           CS       POLISH                                
047039,002930: 01,2425           64772                           AD       DEC45                                 
047040,002931: 01,2426           10000                           CCS      A                                     #  DOES THE ADDRESS POINT TO THE WORK AREA?
047041,002932: 01,2427           30120                           CA       FIXLOC                                #  YES.  ADD FIXLOC.  EBANK OK AS IS.
047042,002933: 01,2430           12435                           TCF      +5                                    
047043,002934: 
047044,002935: 01,2431           35007                           CA       OCT1400                               #  NO.  SET EBANK & MAKE UP SUBADDRESS.
047045,002936: 01,2432           56117                           XCH      POLISH                                
047046,002937: 01,2433           54003                           TS       EBANK                                 
047047,002938: 01,2434           74357                           MASK     LOW8                                  
047048,002939: 01,2435           26117                 +5        ADS      POLISH                                #  FALL INTO TAGSUB, AND RETURN VIA Q.
047049,002940: 
047050,002941:                                                                                                  #           SUBROUTINE WHICH SETS THE ADDRESS OF THE SPECIFIED INDEX IN INDEXLOC. (ACTUALLY, THE ADDRESS -38D.)
047051,002942: 
047052,002943: 01,2436           30120        TAGSUB             CA       FIXLOC                                
047053,002944: 01,2437           54130                           TS       INDEXLOC                              
047054,002945: 
047055,002946: 01,2440           10020                           CCS      CYR                                   #  BIT 15 SPECIFIES INDEX.
047056,002947: 01,2441           24130                           INCR     INDEXLOC                              #  0 MEANS USE X2.
047057,002948: 01,2442           00002                           TC       Q                                     
047058,002949: 01,2443           00002                           TC       Q                                     #  1 FOR X1.
047059,002950: 

Page 1085

047061,002952:                                                                                                  #           MISCELLANEOUS OPERATION CODES WITH DIRECT ADDRESSES. INCLUDED HERE ARE:
047062,002953: 
047063,002954:                                                                                                  #           1.  ITA                STORE QPRET (RETURN ADDRESS) IN ERASABLE.
047064,002955:                                                                                                  #           2.  CALL               CALL A SUBROUTINE, LEAVING RETURN IN QPRET.
047065,002956:                                                                                                  #           3.  RTB                RETURN TO BASIC LANGUAGE AT THE GIVEN ADDRESS.
047066,002957:                                                                                                  #           4.  BHIZ               BRANCH IF THE HIGH ORDER OF MPAC IS ZERO (SINGLE PRECISION).
047067,002958:                                                                                                  #           5.  BOV                BRANCH ON OVERFLOW.
047068,002959:                                                                                                  #           6.  GOTO               SIMPLE SEQUENCE CHANGE.
047069,002960: 
047070,002961: 01,2444           10020        RTB/BHIZ           CCS      CYR                                   
047071,002962: 01,2445           30117        RTB                CA       POLISH                                
047072,002963: 01,2446           04621                           TC       SWCALL     -1                         #  SO A "TC Q" FROM ROUTINE LEADS TO DANZIG
047073,002964: 
047074,002965: 01,2447           10154        BHIZ               CCS      MPAC                                  
047075,002966: 01,2450           16060                           TCF      DANZIG                                
047076,002967: 01,2451           16645                           TCF      GOTO                                  
047077,002968: 01,2452           16060                           TCF      DANZIG                                
047078,002969: 01,2453           16645                           TCF      GOTO                                  
047079,002970: 
047080,002971: 01,2454           10121        BOV(B)             CCS      OVFIND                                #  BRANCH ON OVERFLOW TO BASIC OR INTERP.
047081,002972: 01,2455           12457                           TCF      +2                                    
047082,002973: 01,2456           16060                           TCF      DANZIG                                
047083,002974: 01,2457           54121                           TS       OVFIND                                
047084,002975: 01,2460           10020                           CCS      CYR                                   
047085,002976: 01,2461           12445                           TCF      RTB                                   #  IF BASIC.
047086,002977: 01,2462           00360        B5TOBB             OCT      360                                   
047087,002978: 01,2463           16645                           TCF      GOTO                                  
047088,002979: 

Page 1086

047090,002981: 01,2464           10020        BZE/GOTO           CCS      CYR                                   #  SEE WHICH OP-CODE IS DESIRED.
047091,002982: 01,2465           06722                           TC       BRANCH                                #  DO BZE.
047092,002983: 01,2466           16060                           TCF      DANZIG                                
047093,002984: 01,2467           16645                           TCF      GOTO                                  #  DO GOTO.
047094,002985: 01,2470           16060                           TCF      DANZIG                                
047095,002986: 
047096,002987: 01,2471           10020        BPL/BMN            CCS      CYR                                   
047097,002988: 01,2472           12500                           TCF      BPL                                   
047098,002989: 01,2473           12000        5B10               DEC      5          B+10                       #  SHIFTS OP CODE IN SWITCH INSTRUCTION ADR
047099,002990: 
047100,002991: 01,2474           06722                           TC       BRANCH                                #  DO BMN.
047101,002992: 01,2475           16060                           TCF      DANZIG                                
047102,002993: 01,2476           16060                           TCF      DANZIG                                
047103,002994: 01,2477           16645                           TCF      GOTO                                  #  ONLY IF NNZ.
047104,002995: 
047105,002996: 01,2500           06722        BPL                TC       BRANCH                                
047106,002997: 01,2501           16645                           TCF      GOTO                                  #  IF POSITIVE OR ZERO.
047107,002998: 01,2502           16645                           TCF      GOTO                                  
047108,002999: 01,2503           16060                           TCF      DANZIG                                
047109,003000: 
047110,003001: 01,2504           10020        CALL/ITA           CCS      CYR                                   
047111,003002: 01,2505           16637                           TCF      CALL                                  
047112,003003: 
047113,003004: 01,2506           05677                           TC       CCSHOLE                               
047114,003005: 01,2507           02424                           TC       15ADRERS                              #  STORE QPRET. (TAGSUB AFTER 15ADRERS IS
047115,003006: 01,2510           50120                           INDEX    FIXLOC                                #  SLOW IN THIS CASE, BUT SAVES STORAGE.)
047116,003007: 01,2511           30052                           CA       QPRET                                 
047117,003008: 01,2512           12364                           TCF      MSTORE1                               
047118,003009: 

Page 1087

047120,003011:                                                                                                  #           THE FOLLOWING OPERATIONS ARE AVAILABLE FOR ALTERING AND TESTING INTERPRETIVE SWITCHES:
047121,003012: 
047122,003013:                                                                                                  #  00       BONSET                 SET A SWITCH AND DO A GOTO IF IT WAS ON.
047123,003014:                                                                                                  #  01       SETGO                  SET A SWITCH AND DO A GOTO.
047124,003015:                                                                                                  #  02       BOFSET                 SET A SWITCH AND DOA GOTO IF IT WAS OFF
047125,003016:                                                                                                  #  03       SET                    SET A SWITCH.
047126,003017: 
047127,003018:                                                                                                  #  04       BONINV                 INVERT A SWITCH AND BRANCH IF IT WAS ON.
047128,003019:                                                                                                  #  05       INVGO                  INVERT A SWITCH AND DO A GOTO.
047129,003020:                                                                                                  #  06       BOFINV                 INVERT A SWITCH AND BRANCH IF IT WAS OFF
047130,003021:                                                                                                  #  07       INVERT                 INVERT A SWITCH.
047131,003022: 
047132,003023:                                                                                                  #  10       BONCLR                 CLEAR A SWITCH AND BRANCH IF IT WAS ON.
047133,003024:                                                                                                  #  11       CLRGO                  CLEAR A SWITCH AND DO A GOTO.
047134,003025:                                                                                                  #  12       BOFCLR                 CLEAR A SWITCH AND BRANCH IF IT WAS OFF.
047135,003026:                                                                                                  #  13       CLEAR                  CLEAR A SWITCH.
047136,003027: 
047137,003028:                                                                                                  #  14       BON                    BRANCH IF A SWITCH WAS ON.
047138,003029:                                                                                                  #  16       BOFF                   BRANCH IF A SWITCH WAS OFF.
047139,003030: 
047140,003031: 
047141,003032:                                                                                                  #           THE ADDRESS SUPPLIED WITH THE SWITCH INSTRUCTION IS INTERPRETED AS FOLLOWS:
047142,003033: 
047143,003034:                                                                                                  #           BITS 1-4    SWITCH BIT NUMBER (1-15).
047144,003035:                                                                                                  #           BITS 5-8    SWITCH OPERATION NUMBER.
047145,003036:                                                                                                  #           BITS 9-     SWITCH WORD NUMBER (UP TO 64 SWITCH WORDS).
047146,003037: 
047147,003038:                                                                                                  #           THE ADDRESS ITSELF IS MADE UP BY THE YUL SYSTEM ASSEMBLER. THE BRANCH INSTRUCTIONS REQUIRE TWO
047148,003039:                                                                                                  #  ADDRESSES, THE SECOND TAKEN AS THE DIRECT (OR INDIRECT IF IN ERASABLE) ADDRESS OF THE BRANCH.
047149,003040: 
047150,003041: 
047151,003042: 01,2513           34762        SWITCHES           CAF      LOW4                                  #  LEAVE THE SWITCH BIT IN  SWBIT  .
047152,003043: 01,2514           70117                           MASK     POLISH                                
047153,003044: 01,2515           50000                           INDEX    A                                     
047154,003045: 01,2516           34735                           CAF      BIT15                                 #  (NUMBER FROM LEFT TO RIGHT.)
047155,003046: 01,2517           54131                           TS       SWBIT                                 
047156,003047: 
047157,003048: 01,2520           34745                           CAF      BIT7                                  #  LEAVE THE SWITCH NUMBER IN SWWORD.
047158,003049: 01,2521           00006                           EXTEND                                         
047159,003050: 01,2522           70117                           MP       POLISH                                
047160,003051: 01,2523           54130                           TS       SWWORD                                
047161,003052: 
047162,003053: 01,2524           00004                           INHINT                                         #  DURING SWITCH CHANGE SO RUPT CAN USE TOO
047163,003054: 01,2525           50000                           INDEX    A                                     #  LEAVE THE SWITCH WORD ITSELF IN L.
047164,003055: 01,2526           30074                           CA       STATE                                 
047165,003056: 01,2527           54002                           TS       Q                                     #  Q WILL BE USED AS A CHANNEL.

Page 1088

047167,003058: 01,2530           34741                           CAF      BIT11                                 
047168,003059: 01,2531           00006                           EXTEND                                         #  DISPATCH SWITCH BIT OPERATION AS IN BITS
047169,003060: 01,2532           70117                           MP       POLISH                                #  7-8 OF POLISH.
047170,003061: 01,2533           72573                           MASK     B3TOB4                                #  GETS 4X2-BIT CODE.
047171,003062: 01,2534           50000                           INDEX    A                                     
047172,003063: 01,2535           12536                           TCF      +1                                    
047173,003064: 
047174,003065: 01,2536           30131                 +1        CA       SWBIT                                 #  00 - SET SWITCH IN QUESTION.
047175,003066: 01,2537           00006                           EXTEND                                         
047176,003067: 01,2540           04002                           ROR      QCHAN                                 
047177,003068: 01,2541           12550                           TCF      SWSTORE                               
047178,003069: 
047179,003070: 01,2542           30131                 +5        CA       SWBIT                                 #  01 - INVERT SWITCH.
047180,003071: 01,2543           00006                           EXTEND                                         
047181,003072: 01,2544           06002                           RXOR     QCHAN                                 
047182,003073: 01,2545           12550                           TCF      SWSTORE                               
047183,003074: 
047184,003075: 01,2546           40131                 +9D       CS       SWBIT                                 #  10 - CLEAR.
047185,003076: 01,2547           70002                           MASK     Q                                     
047186,003077: 01,2550           50130        SWSTORE            INDEX    SWWORD                                
047187,003078: 01,2551           54074                           TS       STATE                                 #  NEW SWITCH WORD.
047188,003079: 

Page 1089

047190,003081: 01,2552           00003                 +13D      RELINT                                         #  11 - NOOP.
047191,003082: 01,2553           34737                           CAF      BIT13                                 
047192,003083: 01,2554           00006                           EXTEND                                         #  DISPATCH SEQUCE CHANGING OR BRANCHING
047193,003084: 01,2555           70117                           MP       POLISH                                #  CODE.
047194,003085: 01,2556           72573                           MASK     B3TOB4                                
047195,003086: 01,2557           50000                           INDEX    A                                     
047196,003087: 01,2560           12561                           TCF      +1                                    #  ORIGINALLY STORED IN BITS 5-6.
047197,003088: 
047198,003089: 01,2561           40002                 +1        CS       Q                                     #  00 - BRANCH IF ON.
047199,003090: 01,2562           70131        TEST               MASK     SWBIT                                 
047200,003091: 01,2563           10000                           CCS      A                                     
047201,003092: 01,2564           12574                           TCF      SWSKIP                                
047202,003093: 
047203,003094: 01,2565           16714                 +5        TCF      SWBRANCH                              #  01 - GO TO.
047204,003095: 
047205,003096: 01,2566           12574                           TCF      SWSKIP                                #  HERE ONLY ON BIT 15.
047206,003097: 
047207,003098: 01,2567           05677                           TC       CCSHOLE                               
047208,003099: 01,2570           05677                           TC       CCSHOLE                               
047209,003100: 
047210,003101: 01,2571           30002                 +9D       CA       Q                                     #  10 - BRANCH IF OFF.
047211,003102: 01,2572           12562                           TCF      TEST                                  
047212,003103: 
047213,003104: 01,2573           00014        B3TOB4             OCT      0014                                  
047214,003105: 01,2574           24164        SWSKIP             INCR     LOC                                   
047215,003106: 
047216,003107: 01,2575  01,2513               SW/                EQUALS   SWITCHES                              
047217,003108: 
047218,003109: 01,2575           16060                 +13D      TCF      DANZIG                                #  11 - NOOP.

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