Programming techniques – HP 32SII User Manual
Page 10
8 Contents
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
Program Memory....................................................... 12–20
Viewing Program Memory ..................................... 12–20
Memory Usage .................................................... 12–20
The Catalog of Programs (MEM)............................. 12–21
Clearing One or More Programs ............................ 12–22
The Checksum...................................................... 12–22
Nonprogrammable Functions....................................... 12–23
Programming with BASE ............................................. 12–23
Selecting a Base Mode in a Program ...................... 12–24
Numbers Entered in Program Lines .......................... 12–24
Polynomial Expressions and Horner's Method ................ 12–25
13. Programming Techniques
Routines in Programs .................................................... 13–1
Calling Subroutines (XEQ, RTN)................................ 13–2
Nested Subroutines................................................. 13–3
Branching (GTO).......................................................... 13–5
A Programmed GTO Instruction................................. 13–5
Using GTO from the Keyboard.................................. 13–6
Conditional Instructions................................................. 13–7
Tests of Comparison (x?y, x?0) ................................. 13–8
Flags .................................................................... 13–9
Loops ....................................................................... 13–16
Conditional Loops (GTO) ....................................... 13–16
Loops With Counters (DSE, ISG).............................. 13–17
Indirectly Addressing Variables and Labels .................... 13–20
The Variable "i" ................................................... 13–20