background image

Summary of Contents for HP-33C

Page 1: ...HEVVLETT PACKAJUD HP 33E 33C OWNER S HANDBOOK AND PROGRAMMING GUIDE ...

Page 2: ...inuous Memory reduces human entry errors too fewer keystrokes mean fBWef chances of making inadvertent Besides saving programs Continuous Memory lets you save data in the HP 33C s eight storage registers Constants accumulations and intennediate answers can be retrieved whenever you need them And because the display mode is also saved in Continuous Memory your calculator wakes up in whatever i J or...

Page 3: ...3 3 3 3 3 f 3 3 3 3 3 3 3 3 HEWLETT PACKARD The HP 33E 33C Programmable Scientific Calculator Owner s Handbook and Programming Guide April 1979 00033 90039 Printed in U S A c Hewlett Packard Company 1979 ...

Page 4: ...Value Integer Portion of a Number Fractional Portion of a Number Statistical Functions Accumulations Mean Standard Deviation Deleting and Correcting Data Linear Regression 18 18 18 19 19 21 21 23 24 Linear Estimate 26 Correlation Coefficient Vector Arithmetic Section 3 Simple Programming What Is a Program Why Write Programs Keycodes Introductory Program Running a Program 27 27 30 30 30 30 32 33 Wr...

Page 5: ...Conditional Branches Problems Section 5 Subroutines Routine Subroutine Usage Subroutine Umits Section 6 Program Editing Finding the Error Changing One Instruction Adding Instructions Appendix A Service and Maintenance Appendix B Error Indications 38 40 40 41 46 46 49 56 60 65 68 70 70 72 74 76 84 Appendix C Stack Lift and LAST X 86 Appendix D Continuous Memory 90 ...

Page 6: ...The HP 33E 33C Programmable Scientific Calculator Fold Out OJ rd d ...

Page 7: ...I l f8 A O H S j g EH b B i I we b9 f9 I I i I lSl X B3 B Program Memory Automatic Storage Memory Stack Registers 00 T A 01 13 00 Z A 02 13 00 Y A 03 13 00 Display A 04 13 00 X A LAST X A A A 4a FL th wt th Of IT lu gc ec lu bl Of CI pr II IT l C CC di re s 01 e di i n P Ix in kf Ix e ly 0 ly D l y ...

Page 8: ... and X register CEJ ID C It Y registers of stack Gill Leaves only l or J Clears integer portion of cancels that key contents of display number in displayed Olg Entry ed X register to zero X register by BnBltl Enters a truncating fractional copy of number Display Control portion displayed in X FfU i Leaves only register Used to EJ Fixed point fractional portion of separate numbers display Followed ...

Page 9: ... and y value in displayed coordinates X register I SIH Ileos 11 TAW I L Mathematics Computes arc sine arc cosine or arc Computes tangent of number in square root of displayed X register Logarithmic and number in displayed Converts Exponential X register decimal hours or o Raises number o Computes degrees to hours in Y register to square of number minutes seconds or power of number in in displayed ...

Page 10: ...registers R2 through R7 for correcting I J accumulations Computes mean average of x and y values accumulated by lEI J Computes sample standard deviations of x and y values accumulated by 0 UTILinear regres sion Computes y intercept A and slope 8 for x and y data points accumu lated using B 6 mLinear estimate Computes a predict ed x value for a given y ill Linear estimate Computes a predict ed yval...

Page 11: ...ruc tions are executed page 35 Automatic RUN Mode PRGM RUN switch mIl to RUN Function keys may be executed as part of a recorded program or individually by pressing from the keyboard Input numbers and answers are displayed by the calculator except where indicated Pressed from keyboard IGTol Go to Fol lowed by nn sets calculator to line nn of program memory No instructions are executed page 35 7 Ex...

Page 12: ...gram memory of pressing IGSB I or page 33 execution of a instruction stops execution and returns control to keyboard If axe culed as a result of a programmed lasBI instruction returns control to next line after the IGsal instruction page 60 CLEAR 1 1After a prefix key cancels that key After other keys does nothing Does not disturb program memory or calculator status Sets calculator to line 00 page...

Page 13: ...gram memory page 35 number and keycode of previous program memory line when pressed displays original contents of X register when released No instruc tions are executed 3 page 35 i filil ililtilij x_o X O X O X O Conditionals Each tests value in X I register against 0 or value in V register as indicated If true a calculator executes instruction in next line of program memory If false calculator sk...

Page 14: ...a keyboard recorded program Instruction ISST I Single step Displays line num ber and keycode of current program memory line when pressed executes instruction dis plays result and moves calculator to next Hne when released page 35 Run stop Run stop Begins execution Stops program from current line of execution page 36 program memory Stops execution if program is running page 36 CLEAR PREAX I After I...

Page 15: ...ine number 01 by line number 01 49 causes calcu 49 causes calcu lator to start exe lator to go to desig culing instructions nated line and exe beginning with cute that section of designated line program memory as page 60 a subroutine page 60 IHOP I No operation Calculator executes no operation and continues program execution page 73 Any key Pressing any key on the key board stops execu tion of a r...

Page 16: ...rograms from the areas of mathematics statistics games finance surveying and other fields and begin using your calculator Immediately As a personal programmable calculator The HP 33E is so easy to program and use that it requires no prior programming experience or knowledge of mysterious programming languages Yet even computer experts can appreciate the sophisticated programming features of the ca...

Page 17: ...ou should be comfortable solving problems manually If not refer to the Getting Started section ofSolving Problems With Your Hewlett Packard Calculator To see the close relationship between the manual solution to a problem and a programmed solution let s solve a problem manually and then use a program to solve the same problem and others like it If you were to calculate the surface area of a sphere...

Page 18: ...st write the program then you must load the program into the calculator and finally you rut the program to calculate each answer Writing the Program You have already written it A program is nothing more than the series of keystrokes you would execute to solve the problem manually Loading the Program To load the keystrokes of the program into the calculator I Slide the PRGM RUN switch RUN to PRGM p...

Page 19: ...the surface area of any of Jupiter s moons in faci of allY sphere using its diameter Leave the calculator in RUN mode and key in the diameter of each sphere for which you want the surface area then press IA S I For example compute the surface area of Jupiter s moon 10 with a diameter of 2 3 IO miles Keystrokes 2310 IRISI Display 16 763 852 56 Square miles Now compute the surface areas for the moon...

Page 20: ...s ISTO IIENTER I Display 8 8 8 8 8 8 8 8 8 8 The display shown above will appear if your calculator is operating properly Press any key to clear the display back to zero If your calculator is not operating properly your display will show Error 9 or an erroneous display This tells you that a problem exists in the calculator s circuitry and you should send it in for service refer to Shipping Instruc...

Page 21: ... Registers In addition to the power that exists in the four register automatic memory stack and LAST X register your HP 33E contains eight addressable data storage registers and 49 lines of program memory Storage registers R2 through R7 also serve as statistical storage registers For information concerning data storage registers refer to Storing and Recalling Numbers in Solving Problems With Your ...

Page 22: ...HSI 001 1 Display 3 3 0000 Integer Portion of a Number Hi To extract and display the integer portion of a number press the 00 prefix key followed by the OED integer key For example to display only the integer ponion of the number 123 456 Keystrokes t23 456 00Gill Display 123 456 123 0000 Only the integer portion remains When OO is pressed the fractional portion of the number is lost The entire num...

Page 23: ...rs at once In order to make these values accessible for sophisticated statistics problems Ihey are automatically placed by the calculator into storage registers Before you begin any calculations using the key you should first clear the storage registers used in accumulations by executing the OJ CLEAR REG clear registers function When you key numbers into the X and Y registers and press the 0 key t...

Page 24: ...ulation involving such data by entering into the calculator only the differences between each value and a number approximating the average of the values When you do this this number must be added to the result of calculating X X y or the y intercept of L R For example if your x values consist of 665999 666000 and 666001 you should enter the data as I 0 and I If afterwards you calculate xor X add 6...

Page 25: ...f x is calculated using the data accumulated in the registers that contain n and x R2 and R l The resultant value for the mean of x is placed in the display and the X register 2 The mean of y is calculated using the data accumulated in the registers that contain nand ly R2 and Rs The resultant value for mean of y is placed in the V register Simply press 1 0 11 to bring that value into the X regist...

Page 26: ...ulate the required data in the statistical registers is by using the IEl function Example Below is a chart of daily high and low temperatures for a winter week in Fairbanks Alaska What are the average high and low temperatures and the standard deviation of the high and low temperatures for the week selected Sun Mon Tue Wed Thur Fri Sat High 6 It 14 12 5 2 9 Low 22 t7 t5 9 24 29 35 Keystrokes Displ...

Page 27: ...d in the displayed X register Deleting and Correcting Data If you key in an incorrect value and have nOI executed EJ press IClXI to delete the incorrect number or digits then key in the correct number If one of the values is changed or if you discover that one of the values is in error after you have executed the EJ function you can correct the summations by using the summation mill IS function as...

Page 28: ...51 1 5 0000 The correct y value t9 ICHSI 19 The correct x value 0 7 0000 The correct values have been summed The number of entries is now 7 oo 21 8571 The correct mean of the low temperatures mean of x I r I 4 4286 The correct mean of high temperatures mean of y 0 8 6492 The correct standard de viation of the low temper atures x values I 7 8921 The correct standard de viation of the high temper at...

Page 29: ...Company wishes 0 know the slope and y intercept of a least squares line for the com sumption of motor fuel in the United States against time since 1945 This wi ll help him detennine motor fuel demand He knows the data given in the table below Motor Fuel Oemand Millions of Barrels Year Solution Turncoat could draw a plot of motor fuel demand against time However with his HP 33E he needs only to key...

Page 30: ...with the data intact from the previous example if Turn coat wished to predict the demand for oil for the years 1980 and 2000 he has only to key in the new x values and press rn Keystrokes 1980ITJrn 2000ITJrn Display 2 664 5714 3 782 1429 Predicted demand in millions of barrels for the year 1980 Predicted demand in millions of barrels for the year 2000 With the data still intact from before if Turn...

Page 31: ...ngular conversion functions the 00 and the I keys with the summation functions the EJ and OJ E keys To use Dilly the Ix and I y that you have accumulated in the storage registers you can press 1RCl l followed by This brings lx into the displayed X register and ly into the Y register overwriting the contents of those two stack registers The stack does not lift This feature is particularly useful wh...

Page 32: ...l I 20SO U 40 Knots Actual Ground Speed OO Keystrokes III CLEAR IREGI c I DEGI 451 1 t50 1Il8J 0 Display 0 0000 0 0000 45 0000 150 106 0660 1 0000 Clears storage registers Oisplay assumes no results remain from previous examples Sets degrees mode for Ist vector is entered to Y register r for l SI vector is keyed in Converted to rectangular coordinates pI vector coordinates accumulated in storage r...

Page 33: ...0000 69 8137 113 2417 51 9389 8 for 2nd vector is entered to Y register r for 2nd vector is keyed in Converted to rectangular coordinates 2nd vector rectangular coordinates added to those of In vector Recalls both Ra and R Actual ground speed of the Swordfish in knots True course of the Sword fish in decimal degrees ...

Page 34: ...em for you You saw this earlier when we computed the surface area of the moons of Jupiter And because you can easily check the procedure in your program you have more confidence in your final answer since you don t have to worry each time about whether or not you have pressed an incorrect key Keycodes Set the PRGM RUN switch PRGM umm RIJN to PRGM Press the first keys CD CU RIPRGMIOO of the surface...

Page 35: ...ram memory Note Each operation prefixed or not requires only one line of program memory The keys for finding the area of a sphere and their corresponding displays are shown below Press each key in tum and verify the keycode shown in the display Keystrokes Display DCLE R I I 00 Clears program memory J0 OI lS 0 J 02 15 73 03 61 IGTolOO 04 13 00 In this case a program consisting of eight keystrokes t...

Page 36: ... display will show 00 This tells you that you are al the beginning of program memory Line 00 contains an automatic stop instruction and cannot be used to record your program keystrokes Program keystrokes are recorded in lines 01 through 49 See figure below Program Memory Line 00 Une 01 Line 02 Line 03 Une 47 Une 48 Une 49 As you can see the program memory for the HP 33E is separate from the four s...

Page 37: ...res with diameters of 3 inches 6 meters and 9 miles First set the calculator s PRGM RUN switch PAGM I RUN to RUN Then press I I AT I to go to lOp of program memory Keystrokes 31 SI 6 91 SI Display 28 2743 113 0973 254 4690 Writing a Second Program Square inches Square meters Square miles To further explore the programming capabilities of your HP 33E let s write a second program Suppose you want to...

Page 38: ...r G 07 41 Subtract the cubes OO OB 15 73 09 61 Multiply by 1T 6 10 6 0 11 71 Divide by 6 IGTol 00 12 13 00 Notice that you had to load the tENTBttl key as an instruction in this program The IENTERt I instruction here separates the number 3 in the second line of the program from the digits for the new diameter you will key in later To run the program switch 10 RUN mode and press j 1 ATN I or ICTol ...

Page 39: ...ge 1 0 01 31 Press ISST I again and the display will change to 02 3 Now press j 18ST I You can see what has happened You are back at program memory line 0 I Press 001 aST I again and line 00 is displayed Pressing JIBSTI again does nothing ISST I displays the contents of the lext line of program memory J IBST 1 displays the contents of the previous line of program memory Of course because these two...

Page 40: ...nning Two keys IRIS I run stop and I PAUSE I pause are used for program interruptions Stopping During Program Execution The IRIS I run stop function can be used either as an instruction in a progrdm or as an operation pressed from the keyboard When pressed from the keyboard I If a program is running I RIS I stops the program 2 If a program is stopped or not running and the calculator is in RUN mod...

Page 41: ...ght II of the can are keyed into the X and V registers respectively before the program is run To record this program set the PRGM RUN switch PRGMmm RUN to PRGM then key in the followi ng list of keys Keystrokes Display mCLEAR I GM I 00 Clears program memory and di splays line 00 0 OI lS 0 Square the radius 0 02 15 73 Place 1T in X 0 03 61 Calculate the area of the base I R S I 04 74 Stop to record...

Page 42: ... RIS I into a program when you need to display more than one answer To display ollly Olle answer of the final answer of a series the IGTol 00 instruction in a program is more convenient since the calculator ends execution at line 00 ready to begin again Pausing During Program Execution An IT IPAUS I instruction executed in a program interrupts program execution to display results momentarily befor...

Page 43: ...umes the height has been entered into the Y register and the radius has been keyed into the X register If you have stored the instructions set the PRGM RUN switch PRGM mmRUN to RUN and press IRTN I so that the calculator wi ll begin execution from line 00 Now complete the table below usi ng the new program Height 20 10 Keystrokes 201 1 15 I SI Radius 15 5 Display 20 0000 706 8583 14 137 1669 10 00...

Page 44: ...or has been designed so that program execut ion will not halt in the middle of a digit entry sequence If you press any key while a number is being placed in the X register by a running program the entire number will be written and the following step wi ll be executed by the program before the program halts When a program is halted you can resume execution by pressing iiTsJ from the keyboard in RUN...

Page 45: ...or the number and a running program will continue to execute normally Flowcharts At this point we digress for a moment from our discussion of the calculator itself to discuss a fundamental and extremely useful tool in programming the flowchart A flowchart is an olltline of the way a program solves a problem With 49 possible instructions it is quite easy 10 get lost while creating a long program es...

Page 46: ...o lop of program memory You can see the simil arities At times a flowchart may duplicate the set of instructions exactly as shown above AI other limes it may be more useful to have an entire group of instructions represented by a single block in the nowchart For the program to calculate the area of a circle i I f I f ...

Page 47: ...though flowcharting symbol s sometimes vary throughout this handbook we have held to the convention of circles for the beginning and end of a program or routine and rectangles to represent groups of functions that take an input process it and yield a single output We have used a diamond to represent a decision where a single input can yield either of two outputs For example if you had two numbers ...

Page 48: ...hen the program was loaded into the calculator and run if 2 was larger than I the answer to the question Is 2 larger than I would be YES and the program would take the lefl hand path display 2 and SlOp If the answer to the question was NO the program would ex ecute the right hand path and 1 would be displayed You will see later the many decision making instructions available on your HP 33E ...

Page 49: ...will become more familiar with flowcharts Use the flowcharts that illustrate the examples and problems to help you understand the many features of the calculator and draw your own flowcharts to help you create edit eliminate errors in and document your programs ...

Page 50: ...t encounters Program Memory Execution branches to line nn r f _ J o nn i I I I I 1 1 L _ _ f l line nn A IGTOI instruction used this way is known as an unconditional branch It alway unconditionally branches execution from the IGTol instruction to the speci fied line number Later you will see how a conditional instruction can be used in conjunction with a GTO instruction to create a condirional bra...

Page 51: ... so until you press from the keyboard or until the calculator overflows How it works The IGToI03 instruction causes the calculator to go to the line 03 instruction in the program When it encounters that line execution begins again from that point Since execution is transferred to the instruction in line 03 each time the calculator executes the 1G10 103 instruction in line 09 the calculator wi ll r...

Page 52: ...on found in line 08 Do this by re keying in the program and adding the IGTol 03 instruction as indicated above This should create a loop that will continually display a new number and its square then increment the number by one and compute s square and so on To load the original program before modification slide the PRGM RUN swi tch PRGM RUN to PRGM and perform the following keystrokes Keystrokes ...

Page 53: ... Y register Tests to see if the value in the X register is greater than the value in the Y register Tests to see if the value in the X register is less than or equal to the value in the V register Tests to see if the value in the X register is not equal to zero Tests to see if the value in the X register is equal to zero Tests to see if the value in the X register is greater than zero Tests to see...

Page 54: ...o another section of program memory if the conditional test is true Program Memory Yes Conditional Test IGTOI07 I instruction I instruction I instruction I instruction L _ line 07 Example Certified Public Accountant Howard Preparer knows thai persons with incomes over 10 000 pay a tax of 20 and person s with incomes of 10 000 or less pay a tax of 17 5 To make his job easier Preparer wants to wrile...

Page 55: ...L Branching The flowchan for the program might look like this Ves t ise 20 Is income over 10 000 I Compute tax j I G No IUse 17 5 1 51 ...

Page 56: ...5 5 09 IGTol 13 10 13 13 2 11 Tax percentage for this 0 12 portion of program 20 0000 13 15 74 IGTOloo 14 13 00 To run the progmm to compute taxes on incomes of 15 000 and 7 500 Slide the PRGM RUN switch PRGM JRUN 001 ATH I to return to the lOp of program memory Keystrokes 150001 S I 75001 S I Display 3 000 0000 1 312 5000 to RUN and press All Preparer has to do 10 compute tax rates for his other ...

Page 57: ...a loop A conditional instruction can shift execution oul of a loop after you have executed the loop a specified number of limes or when a certain value has been reached within the loop Example Your HP 33E contains a value for e the base of the natural logarithms You can display the calculator s value for e by pressing 1 EJ The following program uses the senese I II I 1 2 lin to approximate the val...

Page 58: ...54 Branching Ves e I Inltl IIze RecaU n I Calc In Store total t Display total t Does total e I I No Q ...

Page 59: ...to previous total ISTol2 12 23 2 OJ PAUSE 13 14 74 Pause 10 see value up to that point 1 14 C J 15 15 Calculate e IJlx 1 16 14 71 Is total equal to e IGTOI OO 17 13 00 If it is go to line 00 1 18 If it is not add J 10 n ISTOI0 0 19 23 51 0 IGTOl06 20 13 06 Loop back to line06 and find new approx imation GToI OO 21 13 00 If lotal equals e displaye and halt To in tialize the program firs t s lide th...

Page 60: ...subsequent IGTe I00 instruction and halted Problems I Write a program that will cal culate the arc sine that is sin I of a value that has been keyed into the displayed X register Test the resulting angle with aconditional and if it is negati ve or zero add 360 degrees to it to make the angle positive Use the flowchart below to help you write the program Yes Is arc sine greater than zero 8 No g g g...

Page 61: ...e rates of 10 of sales of up to 1 000 12 5 for sales of 1 000 to 5 000 and 15 for salesofover 5 000 The program should di splay the amOUn of salesand the amOU n of commission Load the program and run it for Branching 57 sales arnounlS of 500 1 000 1 500 5 000 and 6 000 Answers 50 00 125 00 187 50 625 00 900 00 ...

Page 62: ...58 Branching J Key in sales amount start Ves Sales No I 1000 Ves Sales No 5 5000 Calculate 12 5 of sales e 8 e e E ...

Page 63: ...Input number and press t RIS I 2 Keystrokes Display Keystrokes Display ITlCL L RI 1 00 0 13 61 IEul 01 33 IGTolOO 14 13 00 3 02 3 15 73 ITl l 03 14 51 I 16 1 IOTol 21 04 13 21 2 17 2 5 05 5 5 18 5 0 06 61 0 19 61 X I 07 21 10Toi 00 20 13 00 ITlIx yl 08 14 41 I yl 21 21 IOTOI1 5 09 13 15 22 73 10 73 I 23 I 11 0 24 61 5 12 5 IGTolOO 25 13 00 User instructions After keying in program set PRGM RUN swi...

Page 64: ... execution to the routine specified by the line address just like a tGTol instruction However after a IGssl instruction has been executed and the running program executes a IFlTH I refilm execution is then transferred back to the next instruction after the IGSBI Execution then continues seq uentially downward through program memory The illustration below should make the distinction between IGTol a...

Page 65: ...81 09 go to subroutine 09 instruction as shown on the right it goes to line 09 and resumes execution However when it encounters a I return program execution is transferred back to the next instruction after the IGsa l 09 and execution resumes Example A quadratic equation is of the form ax Z bx c O Its b Y b z 4ac two roots may be found by the formulas T 2a and rz b Y b z 4ac 2a Notice the si milar...

Page 66: ...am 27 IRell 1 11 l cl l3 memory are 28 IRell 3 12 0 identical 29 0 13 4 30 4 14 0 31 0 15 G 32 G 16 1Ii 33 1Ii 34 G 35 IRell1 36 2 37 0 38 G 39 IOTO IOO Since the routine for calculating r 1 contains a large section of program memory that is identical to a large section in the routine for calculating r2 you can simply create a subroutine that will execute this section of instructions The subroutin...

Page 67: ...e 20 and computes the quantities b and Yb2 4ac placing them in the X and Y registers of the stack ready for addition or subtraction When the IATN I instruction in line 31 is encountered execut ion transfers back to the main routine and continues with the minstruction in line 07 Thus the root of rl is computed and displayed and the routine stops with the IRfS I in line 12 When you press IRfS I agai...

Page 68: ...ialesrz b Vb 4ac 2a 8 14 41 IRCLI 15 24 1 2 16 2 0 17 61 El 18 71 IRIS I 19 74 RCll 2 20 24 2 ICHSI 21 32 IACLI 2 22 24 2 0 23 15 0 IACLI I 24 24 1 Subroutine places b in l cLI 3 25 24 3 Y register and Yb2 4ac 0 26 61 in X register ready for 4 27 4 addition or subtraction 0 28 61 8 29 41 IJJ 30 14 0 II I T I 31 15 12 To initialize the program you key in a and press I RIS I key in band press and ke...

Page 69: ...ot r I I RIS I 3 0000 Calculates the second root r2 001 AT I 3 0000 Returns to top of program memory 3 3 0000 2 2 0000 Program initialized I ICHSI 1 IRIS I 0 3333 Calculates r I I RIS I 1 0000 Calculates r2 Jfthe quantity b l 4ac is a negative number the calculator will display Error 0 and the running program will stop because the square root of a negative number results in an error Routine Subrou...

Page 70: ...number generator that is executed first as a subroutine and then as part of the main program When you key in a starting number called a seed and press lGss l0 the digit for the first die is generated using the routine as a subroutine Then the digit for the second die is generated using the same routine as part of the main program To key in the program slide the PRGM RUN switch PRGMmm RUN to PRGM a...

Page 71: ...her roll press iGSBI02 and then You can playa game with your friends using the dice If your first roll is 7 or 11 you win If it is another number Ihat number becomes your point You Ihen keep rolling pressing iGSBI 02 Ihen Z J untillhe dice again total your point your win or you roll a 7 or an 11 you lose To run the program slide the PRGM RUN switch PRGM oJRUN 10 RUN Press OOIRTNI to return 10 top ...

Page 72: ...e diagram below should make this more clear Three returns can be pending Main Program line 00 l 09 I r i line 09 17 J line 17 t JI 25 J line 25 E The calculator can return back to the main program from subroutines that are three deep as shown However if you attempt to call up subroutines that are four deep the calculator will execute only three returns Main Program line 00 I t i 09 I Only three re...

Page 73: ...on as a stop any number of times If you are executing a program one step at a time with the SST 1key and encounter a IGSBI instruction the calculator will execute the entire sub routine before continuing to the next step However only one RTN 1 instruction may be executed as the result of a 1Gsa1 instruction during single step execution so if a program contains a subroutine within a subroutine exec...

Page 74: ... r will give an answer of 1T SST Execution In longer programs a wrong test case answer will seldom pinpoint the mistake For these cases you can slow down the program execution by using the ISST key in RUN mode In RUN mode the SST I key will execute your program instructions one at a time When you hold the SST key down in RUN mode the program line number and keycode are displayed When you release t...

Page 75: ...displays the second instruction Again releasing IssT executes the second instruction Holding ISST I down displays the third instruction this lime And releasing SST I executes the third instruction You can see that it would be easy 10 spot a mistake in your program using ISST I key When you hold the lasT key down in RUN mode the program line number and keycode for the previous line are displayed Wh...

Page 76: ...ion Then when the calculator stops execution because of the IRIS I instruction in the program you can look allhe displayed X register to see the identification number for the required input For example if your program contains eight stops for data inputs it may be helpful to have the numbers I through 8 appear so you know which input is required each time These identification numbers are helpful i...

Page 77: ...R 1 1 00 IENnRt I 01 31 3 02 3 11J 2 l 03 15 3 OJIl 04 14 3 Suppose that upon reviewing the program with the SST I key however J you discover you have keyed in the following mistake ridden program g Keystrokes Display OJ Cl EAR I G I 00 IENnRt I 01 31 3 02 3 moo 03 15 74 Oops You pressed the wrong key _ Ix 1 04 21 You made another mistake OJIl 05 14 3 Set the PRGM RUN switch PRGMu mn RUN to PRGM p...

Page 78: ...d the cube root of 8 and then of 125 Keystrokes 8 125 1 s l Display 2 0000 5 0000 Adding Instructions If you have recorded a medium sized program and have left oul a crucial sequence of keystrokes right in the middle you do not have to start over The missing sequence of keystrokes can be recorded in the available lines following your program You can then use the IGSa I key to make a subroutine to ...

Page 79: ...ne Line 09 must contain the instruct ion rormedy found in line 02 The missing keystrokes are then stored in lines 10 through 12 and the OO IRTN I instruction stored in line 13 returns execution back to line 03 in the main program The corrected program is shown below 00 01 21 02 12 09 Goes to subroutine I beginning at line 09 _03 22 I I 04 31 I 05 61 I I 06 41 I I 07 71 I I 08 15 12 I O 51 J Former...

Page 80: ...pt to operate the calculator from the ac line with the battery pack removed The procedure for using the ac adapter recharger is as follows I You need not turn the calculator off 2 Insert the ac adapter recharger plug into the connector on the top of the calculator with the snap release tab on the plug facing toward the right side of the calculator 3 Insert the power plug into a live ac power outle...

Page 81: ... required Battery Operation To operate the calculator from battery power alone simply disconnect the recharger plug from the calculator by grasping the plug between thumb and forefinger squeezing to depress the snap release tab and pulling gently Even when not connected to the calculator the ac adapter recharger may be left plugged into the ac out let Using the calculator on battery power gives th...

Page 82: ...calculator 2 Press down on the short ridges of the bauery door close to the edge until the door release snaps open Slide the door open 3 When door is removed tum calc ulator over and gently shake allowing the battery pack 10 fall into the palm of your hand 4 Place the new battery pack into the calculator Your calculator will only tum on if the battery pack is inserted correctly J ...

Page 83: ... ac adapter recharger The discharged battery pack should be charged for at least 12 hours If a ballery pack will not hold a charge and seems to discharge very quickly in use it may be defecti ve If the one year warranty on the battery pack has not expired relurn the defective pack to Hewlett Packard according to the shipping instructions If you are in doubt aboullhe cause of the problem relurn the...

Page 84: ... Display If the display blanks out tum the calculator ofr then on If a display of numbers does not appear in the display check the following I If the ac adapter recharger is attached to the calculator make sure it is plugged into an ac outlet 2 Examine the battery pack to see if the contacts are dirty 3 Substitute a fully charged battery pack if avai lable for the one that was in the calculator 4 ...

Page 85: ...rranty period Please refer to the Shipping Instructions in this handbook The Hewlett Packard United States Repair Center for handheld and portable printing calculators is located at Corvallis Oregon The mailing address is Hewlett Packard Corvallis Division Service Department 1000 N E Circle BoulevardIP O Box 999 Corvallis Oregon 97330 What Is Not Covered This warranty does not apply if the product...

Page 86: ...otective package to avoid in transit damage Such damage is not covered by warranty and Hewlett Packard suggests that the customer insure shipments to the repair center A calculator returned for repair should include the ac adapter recharger and the battery pack Send these items to the address shown on the Service Card Remember to include a sales slip or olher proof of purchase with your unit Wheth...

Page 87: ...Packard and service manuals are not available to customers Should problems arise regarding repairs please contact your nearest Hewlett Packard repair center The address for the United States Repair Center for handheld and portable printing calculators is Hewlett Packard Company Corvallis Division Service Department 1000 N E Circle Boulevard P O Box 999 Corvallis Oregon 97330 Note Not all Hewlett P...

Page 88: ...s a number Error 0 G where x O where y 0 x o rrJ where y 0 x is non integer where x O 1liJ w here x O IlOGI where x S O N where x O I SlH i where Ix I is I leos II where Ix J is 1 ISTol where x O Error 1 Storage register overflow except Error 2 ISlol sToIG 15To10 ISToIG ISTOIG IACLI where next digit entered is 8 Error 3 Improper statistical operation 00 where n O where n s 1 r where n I m where n ...

Page 89: ...B are the values returned by the operation LR where Y Ax x B x pIx M ny Iy nP M I y_ P n x_ _I x y nM E or4 1GTO I when using a branch to an illegal number IGSBI when using a subroutine to an illegal number E or9 85 Self check failure When Error 9 is displayed press any key and another number will show in the display This number indicates to service personnel what is wrong with your calculator Pr ...

Page 90: ...try This means that the calculator knows that any digits you key in after any of these operations are part of a new number Stack Lift There are three types of operations on the calculator depending upon how they affect the stack lift These are stack disabling operations stack enabling operations and nelltral operations Disabling Operations There are only four stack disabling operations on the calc...

Page 91: ...n followed by a digit cntl sequence the stack will lift The table below lists all legal operations Enabling operations are designated by a code of E disabling operations by D and neutral operations by N The table also indicates those operations that save the number from the X register in the LAST X register Enabling Saves x Keystrokes Disabling or in LAST X Neutral DllST xl E No CD CLE R I I N No ...

Page 92: ... D No CDI E Yes llcos I E Yes lIOEGI N No CD CD E No G E Yes IJI LR E No IEur N CD IENG I 0 through 9 N No I I D No l E E Yes l IFRAC I E Yes IT rI 0 through 9 N No lIGROI N No IGsol 01 through 49 N No IGTO I 00 through 49 N No CD HMS E Yes lEEl E Yes CD I RAOI E Yes lGill E Yes ll OEGI E Yes CD E Yes SST I N No ISTO IG 0 through 7 E No ISTO EJ 0 through 7 E No ISTolG 0 through 7 E No ISTOI othrou...

Page 93: ...E Yes 0 E Yes 001 0 1 N No OOlxllo N No OOlx ol N No OOlx ol N No IJlx YI N No N No IJ1x YI N No IJ N No 0000 E No 000 E Yes OO ID E Yes IX Y I E No IJCEl E Yes OO E Yes and the digitS 0 through 9 are normally used as pan of a digit entry sequencc However if you press after digit cntry has been lenninated by another operation the Slack lift will be enabled a ...

Page 94: ... calculator off immediately and connect it to an ac outlet or insert a new battery pack Continuous Memory requires that batteries be replaced as quickly as possible Nonnally you have a minimum of 5 seconds to change the batteries Leaving the batteries out of the calculator for extended periods or allowing the batteries to discharge completely will result in loss of the information in Continuous Me...

Page 95: ... State Zip Code Home Phone Work Phone Date Purchased What Is The Problem Area o Intermittent Problem o Display o Printer Enclose sample o Recharger Battery o Keyboard o Prerecorded Program Reader o Programming Describe Problem Model No Senal No Preferred method of payment for out ol warranty repairs If not specified unit will be returned C O D o VISA o Masler Charge Card No Expiration Date Name ap...

Page 96: ...ly packaged directly to Hewlett Packard Corvallis Division _ Service Department 1000 N E Circle Boulevard P O Box 999 Corvallis Oregon 97330 We advise that you insure your calculator and use priority AIR mail for distances greater than 300 miles to minimize transit times All units will be returned by fastest practical means Outside the U S A Where required please fill in the validation below and r...

Page 97: ... 1 cubic inch 16 387 064 cubic centimeters 1 cubic foot 0 028316847 cubic meter 1 ounce fflUid t 29 57352956cubiccentimeters 1 ounce fluid t 0 029 573 530 liler 1 gallon fluid t 3 785 411 784 liters Mass 1 ounce mass 28 349 523 12 rams 1 pound mass 0 453 592 37 ki ogram 1 10n short 0 907 184 74 metric ton Energy 1 British thermal unit 1 055 055 853 Joules 1 kilocalorie mean 4 190 02 Joules 1 watt ...

Page 98: ...Where was your calculator purchased 2 Check the ONE category best 3 describing your Job function Ra tio wil ta 101 0 Directly from an HP sales office or factory 102 0 By mail from HP 103 0 From any retail stOf e 201 0 Top Management 202 0 Middle Management Supervisory 203 0 ProfessionaVTechnicai 204 0 Student 205 0 O h Spedfy _ _ _ _ Completion of this card I nOi a condition precedenllo warranty c...

Page 99: ...111111 USINESS REPLY MAIL LASS PERMIT NO 33 CORVALLIS OREGON age will be paid by wlett Packard 00 N E Circle Blvd rvallis Oregon 97330 NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES ...

Page 100: ...ewlett Packard calculators If you current issue of the Hewlett Packard Personal Calculator Digest Product Catalog please write his her name and address on this ard Calculators _______________________________________________ ___ State Zip _ _ _ Valid in U S only 430M ...

Page 101: ...111111 USINESS REPL V MAIL LASS PERMIT NO 33 CORVALLIS OREGON age will be paid by wlett Packard 00 N E Circle Blvd rvallis Oregon 97330 NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES ...

Page 102: ...000 N E Circle Blvd Corvallis OR 97330 For additional sales and service information contact your local Hewlen Packard Sales Office or call 800 648 4711 in Nevada call 800 992 5710 00033 90039 Printed in U S A r r L r 1 1O ...

Page 103: ...P Calculators www hpmuseum org Original content used with permission Thank you for supporting the Museum of HP Calculators by purchasing this Scan Please to not make copies of this scan or make it available on file sharing services ...

Reviews: