Download Print this page

HP 35s Instruction Manual page 4

Converting programs to line number addressing
Hide thumbs Also See for HP 35s:

Advertisement

hp calculators
HP 35s Converting programs to line number addressing
Continue working through the program in this manner. Line A017 is the next one. Then line A019.
With
A001
A002
A003
A004
A005
A006
A007
A008
A009
A010
A011
With
A001
A002
A003
A004
A005
A006
A007
A008
A009
A010
A011
The final version of the program would look like this:
With
A001
A002
A003
A004
A005
A006
A007
A008
A009
A010
A011
Conclusion. While there are many ways of converting programs containing labels to use line numbers, this is one
example. Line number addressing provides many benefits on the HP 35s.
hp calculators
Line Numbers
LBL A
STO A
PSE
1
x=y?
RTN
X<>Y
2
RMDR
x=0?
GTO D
Line Numbers
LBL A
STO A
PSE
1
x=y?
RTN
X<>Y
2
RMDR
x=0?
GTO A019
**Changed**
Line Numbers
LBL A
STO A
PSE
1
x=y?
RTN
X<>Y
2
RMDR
x=0?
GTO A019
A012
RCL A
A013
3
A014
X
A015
1
A016
+
A017
STO A
GTO A003
D
RCL A
2
INT÷
GTO A017
**Changed**
A012
RCL A
A013
3
A014
X
A015
1
A016
+
A017
STO A
A018
GTO A003
A019
RCL A
2
INT÷
GTO A017
A012
RCL A
A013
3
A014
X
A015
1
A016
+
A017
STO A
A018
GTO A003
A019
RCL A
A020
2
A021
INT÷
A022
GTO A017
- 4 -
HP 35s Converting programs to line number addressing - Version 1.0

Advertisement

loading