background image

Summary of Contents for 700A

Page 1: ......

Page 2: ......

Page 3: ...I I WANG LABORATORIES INC 1970 Tewksbury Mass 01876 Telephone 617 851 7all TWX 110 343 6769 REFEREN EM ANUAL t...

Page 4: ...the use of Wang s 700A B Electronic Calculators The aim has been to assist the user by presenting the most useful technique concept and method for utilizing the 700 to its best advantage For further...

Page 5: ...CONCEPTS SECTION V DECISION COMMANDS SECTION VI PROGRAMMING TECHNIUUES USING ATAPE CASSETTE SECTION VII ADDITIONAL COMMANDS NOT FOUND ON THE 700 KEYBOARD SECTION VIII TRIGONOMETRIC PACKAGE PROGRAM ST...

Page 6: ......

Page 7: ...ange Direct Add Subtract Multiply and Divide Direct Indirect Addressing Indirect Keys Advantages of Indirect Addressing Recall Residue Addition Subtraction Multiplication Division Write Commands Group...

Page 8: ...Load a Program From Tape into Core 6 7 Bypassing Program Blocks 6 8 Procedure for Correcting Single Program Step 6 8 Procedure for Inserting Extra Program Steps 6 9 Programming Techniques Using Tape C...

Page 9: ...Complex Numbers Program 9 1 SECTION X WARRANTY SERVICE AND MAINTENANCE Warranty 10 1 Post Warranty Service Availability 10 1 Annual Maintenance Contract 10 1 Post Warranty Service Call Without Mainten...

Page 10: ...NW 0 TO RADIANS TO DEGREES X X X X X SKIP WRITE END RECALL RECALL CHANGE X CLEAR LOAD ALPHA ALPHA INDIR DIRECT SIGN X X PROG IF MARK PRIME INDIR DIRECT ERROR SKIP STORE STORE END VERIFY 7 B 9 RETURN W...

Page 11: ...uted from core memory Section II explains the modes of operation on the 700 as well as the five non pro grammable keys discusses the dual nixie type display readout and the basic arithmetic operations...

Page 12: ...to help the user locate with ease certain items of interest 700A 7008 700A 700B PROGRAM STEPS 960 960 REGISTERS 000 119 120 121 Scratch Pad Only 2 Level subroutine Drives 701 output writer 000 119 120...

Page 13: ...SECTION II EXPLANATION OF KEYS LEARN MODE The 700 is put into LEARN MODE when a program is to be written into core Every programmable key which is indexed while the 700 is in LEARN MODE is learned or...

Page 14: ...ed Depress R UN button The Wang 700 is now in RUN MODE ready to perform your calculations NON PROGRAMMABLE KEYS Because of their function there are five keys which cannot be programmed on the Wang 700...

Page 15: ...the next three keystrokes SET PC 018 This instruction sets the program counter to program step number 018 To set the program counter requires four keystrokes SET PC followed by three numeric keys PRIM...

Page 16: ...M command is located Step 004 in this example Notice the code for END PROGRAM is not added into the sum generated by the VERIFY PROGRAM key RECORD PROGRAM This key transfers a program from core to mag...

Page 17: ...ple as writing the number down on paper The normal sequence of steps is to key in the mantissa followed by the SETEXP key and the value of the exponent ENTERING A NUMBER Index the following few number...

Page 18: ...n 2 numbers are indexed the exponent takes on the value of the last 2 numbers entered EXAMPLE If the following sequence of steps is performed 1 1 2 SETEXP 2 3 4 the value of the exponent is 34 2 For S...

Page 19: ...ged eX into X Y unchanged rr into X Y unchanged Section 1 Explanation of Keys rr XI INTX l X EXAMPLE 3 Calculate 51 x 6 2 62 0119219307 y 26 1 51 t 1 51 t 2 6 2 x 2 2 6 vx 3 2 6 vx 3 6 2 x Answer in Y...

Page 20: ...hat happens Why PROGRAM ERROR INDICATOR There are two lights located to the right of the Special Function Keys on the 700 keyboard These two lights are used as error indicators The one on the right in...

Page 21: ...red consecutively from 000 to 121 and can be addressed both directly Ind indirectly for maximum convenience Numbers are stored from and recalled to the X Register Each register can be used to add subt...

Page 22: ...dexed the register designated is 110 80 20 10 0 The toggle switches are set to the OFF down position When the toggle switches are in the down position the special function keys designate the registers...

Page 23: ...o different ways One way of doing this would be to set toggle switches 20 and 10 to the ON up position and press the special function key 02 Another way is the following Set toggle switch 20 in the up...

Page 24: ...itches 20 and 10 UP Index 5 7 SETEXP 1 8 STORE DIRECT 02 57 X 1018 is now stored in Register 32 and is still displayed in X i NOTE For problems requiring less than 17 storage registers and for general...

Page 25: ...gnated by next keystroke The X and Y Registers remain unchanged DIRECT Divides number in X REGISTER into number stored in register designated by next keystroke The X and Y Registers remain unchanged W...

Page 26: ...Register is used as the work register The command is performed on the number in X and the result is placed in the internal storage register Indirect addressing is a valuable programming tool for savin...

Page 27: ...would be used Example Perform the following in Register 002 using Indirect mode of address 7 5 8 7 2 2 3 126 951111110 3 KEY 2 t 7 ST INDIR 5 8 X INDIR 7 2 INDIR 3 INDIR INDIR OPERATION Places the reg...

Page 28: ...Two advantages of the indirect mode of addressing are 1 It requires only one keystroke to perform the indicated operation 2 By constructing a loop a given program step sequence can operate on many dif...

Page 29: ...w how the RECALL RESIDUE key is used for addition subtraction and multiplication EXAMPLE 1 OPERATION DISPLAY ADD ON 700 5024873058 28 5024873058 28 5024873058 28 t 6 8520987 6 8520987 6 8520987 502487...

Page 30: ...on EXAMPLE 3 OPERATION MULTIPLY ON 700 DISPLAY 31415 9254998 3 141 5 9254998 31415 9254998 728645297326 728645297326 t 728645297326 22891 0663764 728645297326 The answer IS x 22891 0663765 22891 06637...

Page 31: ...d indicates a remainder of 5 after the first 12 digits of the quotient are generated Notice the proper decimal position is retained i e 5 x 10 11 Since the decimal position is retained automatically t...

Page 32: ...gisters IT SHOULD ALSO BE NOTED THAT THE RESIDUE MUST BE SAVED AFTER EACH OPERAnON IF IT IS TO BE USED IN FURTHER CALCULAnONS WRITE COMMANDS The 701 Output Writer provides the user with completely for...

Page 33: ...and takes the 700 out of alpha 11l0de EXAMPLE WRITE ALPHA H 0101 E 0205 L 0109 L 0109 o 0209 END ALPHA Places 700 in alpha mode Takes the 700 out of alpha mode The above example would print the word H...

Page 34: ......

Page 35: ...T 0603 0404 STORE DIRECT 0604 t 0405 RECALL 01 RECT 0605 t 0406 DIRECT 0606 j 0407 SEARCH 0607 Ix I 0408 MARK 0608 INTEGER X 0409 GROUPl 0609 IT 0410 GROUP2 0610 L09 oX 0411 WRITE 0611 L0geX 0412 WRIT...

Page 36: ...in the above table are set aside for the keyboard operations They consist of all possible combinations that can occur when the high order digit assumes the values 04 05 06 and 07 and the low order dig...

Page 37: ...ation key 12 is indexed the square root of the number in the X Register will be generated since the code for square root is 0612 Naturally the square root of a number would rarely be found using this...

Page 38: ...8 5 5 2 1 17 2 5 4 1 9 1 6 4 4 9 8 5 0 4 4 7 6 9 4 4 4 6 4 3 8 4 4 4 3 7 2 4 4 3 1 1 6 4 4 1 0 5 0 3 3 9 8 9 4 3 3 8 6 3 8 3 3 6 5 7 2 3 3 5 3 1 6 3 3 3 2 5 0 066 067 074 075 068 069 060 061 076 077 0...

Page 39: ...of registers can accommodate 16 program steps The program steps are numbered 000 to 959 Step 000 is located in Data Registers 119 and 118 Step 959 is located in Data Registers 000 and 001 See Page 3 4...

Page 40: ...le Program Step Numbers Program of 88 steps occupies 12 registers 1I1111111 9 12 Digit Mantissa EX 5 9 9 9 4 2 3 8 Data t Program 0 0 3 1 1 6 0 0 0 0 0 1 0 0 0 0 5 3 2 1 0 003 121 118 001 116 000 002...

Page 41: ...r the program needs some sort of command to tell the calculator where to start and where to end its calculation This is the purpose of the SEARCH and MARK commands PROGRAMMING CONCEPTS To exploit the...

Page 42: ...MARK 1 To end the calculation simply add a STOP command The complete program thus becomes OPERATION CODE REMARK MARK 0408 1 0701 STDIR 0404 REG 000 0000 x2 0713 t 0604 2 0702 0 0700 x 0602 5 0705 XDI...

Page 43: ...the PROGRAM ERROR INDICATOR goes on indicating there is no such mark in core x 2 STOP 1T MARK t x 2 2 SEARCH 3 MARK t SEARCH 2 MARK 1 The program for evaluating the poly nomial follows a linear seque...

Page 44: ...e final result in Y B To find C 21Tr Index r SEARCH 3 The program ignores the commands preceding MARK 3 and starts by putting r in Y and multiplying it by 2 It then branches to MARK 2 ignoring all com...

Page 45: ...a program a sub program which appears several times within the overall program Subroutine capability allows the program to branch to a specified routine perform the calculations and then return from...

Page 46: ...program branches back to step 007 There is no limit to the number of times a subroutine can be addressed and executed The SR preceding the command in the KEY column is simply a mnemonic device indicat...

Page 47: ...are executed The 700A is capable of remembering 2 return addresses Thus it has a double level subroutine capability 700B is capable of 5 return addresses thus it has a five level sub routine capabilit...

Page 48: ......

Page 49: ...ual If Y X the program skips the next two steps If Y does not equal X the program continues with the next step As a simple example Path for STEP KEY Path for Y X 000 MARK Y X 001 0 002 SKIP Y X Execut...

Page 50: ...full discussion on these discrepancies which occur in approximation theory 2 Skip if Y X This command checks to see if the value in the V Register is equal to or greater than the value in the X Regis...

Page 51: ...s also used to generate the product N N I N 2 1 N SKIP Y X SEARCH 0800 REDIR REG 00 STOP When Y X Exits from Loop 4 Skip if Error The final decision command SKIP IF ERROR can be used in a variety of w...

Page 52: ...the INTEGER X command MARK o I 6 OPERATING INSTRUCTIONS I Key number of program steps SEARCH O 2 Read number of data registers occupied in Y I INT X x STOP x SKIP IF ERROR If there is a remainder I af...

Page 53: ...gister I To understand the method used ST DlR in the program Rewrite the REG 01 sum as Y To T j T2 Tn 0 where To x ST DJR T j xTo T xTj REG 02 Tn xTrn STOP Key n The program starts the sum with x t co...

Page 54: ...criteria have to be used EXAMPLE In calculating the following sum for X I 1 l x2 _1 x4 _I x 6 I x 20 for specified accuracy the number of terms to be calculated depends on the value of x However it is...

Page 55: ...program calculates the sum k I to 12 significant digits Xn n O for any value of x The loop is performed many more times fat a smaller value of x than it would be for a larger value of x simply because...

Page 56: ...50 QUANTITY BRANCH For 11 N 25 BRANCH For 26 N 50 1 5 8 BRANCH ForN 10 MARK o t I ST DIR REG 00 I 1 SKIP Y X SEARCH 0800 o 3 DIR REG 00 5 I SKIP Y X SEARCH 0800 I DIR REG 00 2 6 SKIP Y X SEARCH 0800...

Page 57: ...ing or no operation instruction EXAMPLE If two angles are unequal we want to find the sine of the angle in X and use the sine of this angle in future calculations If the two angles are equal the angle...

Page 58: ...he SKIP command will skip two program steps if the condition is met We want 10 perform the same calculation on the variable in X whether it is the sine of the angle or the angle itself Therefore a GO...

Page 59: ...TTE TAPE CASSETTE Programs are saved on standard 4 x 2 1 2 x 1 2 magnetic tape cassettes for later use Up to 20 blocks of programs can be saved on one tape cassette The tape cassette consists of two t...

Page 60: ...e a tape instruction This button places the head of the tape readcr in contact with the tape 4 The REWIND button rewinds the tape when depressed MACHINE ERROR INDICATOR A MACHINE ERROR INDICATOR is lo...

Page 61: ...over the opening if the tape is to be used for recording other programs WHAT IS A PROGRAM BLOCK A program block consists of any part of a program Up to 960 steps which can be loaded into core at one t...

Page 62: ...n This can be accomplished quite easily if it is remembered that the PC is set to the step that the END PROGRAM instruction occupies after a VERIFY PROGRAM has been executed Therefore after indexing V...

Page 63: ...transferring the program from core to tape EXAMPLE Program to find C C ja b Pythagorean Theorem i STEP KEY CODE 000 MARK 0408 Key a l 001 a 0700 SEARCH a 002 x 0713 Key b GO 003 t 0604 Read c in X c 0...

Page 64: ...hat MARK is now stored at Step 000 0 at Step 001 x2 at OU I To execute the program place the 700 in RUN MODE Key a 3 SEARCH 0 Key b 4 GO Read c 5 in X By stepping through the program in RUN MODE each...

Page 65: ...n the tape is then stored in the step designated by the PC and the program continues loading until an END PROGRAM instruction is encountered The END PROGRAM instruction is the last step to be loaded i...

Page 66: ...o on when this occurs Therefore by destroying only the contents of Registers 000 and 001 the first three blocks of tape can be bypassed L Load tape and place 700 in RUN MODE 2 SET PC 9 4 4 3 LOAD PROG...

Page 67: ...place because the PC is set to the first instruction transferred to tape by the RECORD PROGRAM instruction 4 Put 700 in RUN MODE REWIND tape and push TAPE READY 5 LOAD PROGRAM The steps saved on the...

Page 68: ...out the importance and need for the END PROGRAM instruction The program consists of three parts or blocks The first part is loaded into core and consists of four instructions The program is started by...

Page 69: ...egister 000 and stops The program is only used to demonstrate how to program the LOAD PROGRAM instruction This technique of a LOAD PROGRAM within a program should only be used in long programs which r...

Page 70: ...READY 3 PRIME or SET PC to first step 4 RECORD PROG II To create the second block A Key second program block into core I PRIME or SET PC to first step 2 2 t I ST DIRECT 00 SEARCH o END PROG B Transfer...

Page 71: ...onsist of bypassing the first three program block as discussed in Section VI page 6 8 EXAMPLE Suppose a program for calculating the t test for paired variates were located in core from step 100 to 155...

Page 72: ......

Page 73: ...0615 which corresponds to the I x key The following program will count from 0 to 10 displaying each integer in Y for 5 seconds KEY MARK o I WRITE A I x I o SKIP IF Y X SEARCH o STOP CODE 0408 0700 070...

Page 74: ...RE DIRECT commands except that the V Register is used in the data transfer rather than the X Register The first instruction specifies whether to store or recall the second instmction designates the in...

Page 75: ...xt 2 instructions if Y is not zero Skips next 2 instructions if Y is zero If the condition is met the next 2 programming instructions are skipped If the condition is not met the program continues with...

Page 76: ...ITE ALPHA 6 WRITE ALPHA 7 WRITE ALPHA 8 WRITE ALPHA 9 WRITE ALPHA o WRITE ALPHA DIRECT WRITE ALPHA X DIRECT WRITE ALPHA DIRECT WRITE ALPHA STORE DIRECT WRITE ALPHA RECALL DIRECT WRITE ALPHA EXCHANGE D...

Page 77: ...lOS Divides X by 109 Divides X by 1010 EXAMPLE If X contains 12 3456781245 and the command WRITE ALPHA 3 is given X will then contain 12345 6781245 If the command WRITE ALPHA SEARCH is given X will c...

Page 78: ......

Page 79: ...R Ixl 10 50 Iyl 10 S0 0 09 TO RECTANGULAR 0 R 1099 lei 10 10 SINHX Ixl 227 9 I 1 COSHX Ixl 227 9 12 TANHX Ix 1 227 9 13 SINW l X _ 107 X 1050 14 COSW l X Ix I I 15 TANW l X Ix 1 1 These functions are...

Page 80: ...nd utilizes core as indicated in Figure 1 It is recommended that the TRIG PACK always be loaded starting at Step 000 In addition to the TRIG PACK most users will want to load their own programs into c...

Page 81: ...he TRIG PACK plus your own program The VERIFY PROGRAM number will then total the codes of the TRIG PACK and your own program CASE 2 Loading Another Program into Core from Tape I After loading the TRIG...

Page 82: ...TING INSTRUCTIONS 0 0700 Key 0 in Degrees 0604 STORES 0 in Y SEARCH 0 SINX 0002 FINDS SINE 0 Read 7 cosO sin 0 in Y t 0606 SINE 0 in Y 0 in X COSX 0003 FINDS COS 0 X 0602 Y sinO cos 0 0702 X 0602 Y 2...

Page 83: ...nd will be loaded into core in the same way as the TRIG PACK FUNCTION Mean Variance Standard Deviation ungrouped Mean Variance Standard Deviation grouped Normal Distribution Inverse Normal Distributio...

Page 84: ...th MARK 0103 Remember there are 64 codes which can be used as subroutines not merely 16 The SPECIAL FUNCTION keys can be used to address the user s own custom made functions rather than those found in...

Page 85: ...RAM DESCRIPTION This program can perform simple x and as well as chain operations This is because the answer of the previous operation is saved the real part in storage 001 and imaginary part in stora...

Page 86: ...000 X 8 0000000000 4 SEARCH x 5 Read Y 23 0000000000 X 14 0000000000 4 SEARCH 5 Read Y 280000000000 X 1 04000000000 1 2i 3 4i 6 9i 3 4i 2 t 2 Key 0201 3 3 4 SEARCH 4 k 5 Read Y 5 00000000000 X 10 0000...

Page 87: ...9 DIR 0401 070 REG 01 0001 1 RE DIR 0405 2 REG 01 0001 3 1 1 0606 4 X DI 0402 5 REG 002 0002 6 RE DIR 0405 7 REG 02 0002 8 DIR 0400 9 REG 00 0000 Step Key Code Comment 000 MARK 0408 1 0201 0201 2 ST D...

Page 88: ...0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 ALGEBRA OF COMPLEX NUMBERSNO 1004A MA6 p 2 of 2 700 PROGRAM TITlE Step Key Code Comment 08 0 RE Dill 0405 1 REG 00 0000...

Page 89: ...ccasional freight cost to and from a service center if equipment is located beyond a 75 mile radius POST WARRANTY SERVICE AVAILABILITY Wang Service Centers are located in many major cities throughout...

Page 90: ...quipment voltages are present that could cause severe electrical shock IN HOUSE MAINTENANCE CAPABILITY Wang Laboratories offers free product familiarization lessons for customers who desire to build u...

Page 91: ...IRECT DIRECT STORE DIRECT RECALL DIRECT o DIRECT SEARCH MARK GROUP 1 GROUP 2 WRITE WRITE ALPHA END ALPHA STORE Y RECALL Y INDIR INDIR X INDIR INDIR STORE INDIR RECALL INDIR CINDIR SKIP IF Y X SKIP IF...

Page 92: ...x 0615 0 0 0700 I I 0701 2 2 0702 3 3 0703 4 4 0704 5 5 0705 6 6 0706 7 7 0707 8 8 0708 9 9 0709 SETEXP SET EXP 0710 CHANGE SIGN CH SIGN 0711 0712 x2 x2 0713 RECALL RESIDUE RESIDUE 0714 CLEAR X CLEAR...

Page 93: ...the coding sheet will appear as follows ST DIR REG 58 A subroutine will be designated m the KEY column by a SR preceding the subroutine code EXAMPLE To address a subroutine beginning with MARK 0303 th...

Page 94: ...rs Occupied by a Program 3 5 Pause 7 1 Prime 2 2 2 3 6 5 Procedure for Inserting Extra Program Step 6 8 Program Block 6 3 INDEX Program Counter and Set PC 2 3 Program Error Indicator 2 8 2 9 4 1 6 2 5...

Page 95: ......

Page 96: ......

Reviews: