HP (Hewlett-Packard) HP 33s Calculator User Manual


 
8 Contents
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Selecting a Base Mode in a Program......................... 12–22
Numbers Entered in Program Lines ............................ 12–23
Polynomial Expressions and Horner's Method ................... 12–23
13. Programming Techniques
Routines in Programs....................................................... 13–1
Calling Subroutines (XEQ, RTN) .................................. 13–2
Nested Subroutines ................................................... 13–3
Branching (GTO) ............................................................ 13–4
A Programmed GTO Instruction................................... 13–5
Using GTO from the Keyboard .................................... 13–5
Conditional Instructions.................................................... 13–6
Tests of Comparison (x?y, x?0) ................................... 13–7
Flags....................................................................... 13–8
Loops.......................................................................... 13–16
Conditional Loops (GTO).......................................... 13–17
Loops with Counters (DSE, ISG)................................. 13–18
Indirectly Addressing Variables and Labels ....................... 13–20
The Variable "i"...................................................... 13–20
The Indirect Address, (i) ........................................... 13–21
Program Control with (i)........................................... 13–22
Equations with (i) .................................................... 13–24
14. Solving and Integrating Programs
Solving a Program .......................................................... 14–1
Using SOLVE in a Program............................................... 14–6
Integrating a Program...................................................... 14–7
Using Integration in a Program ......................................... 14–9
Restrictions on Solving and Integrating ............................. 14–11