Miscellaneous Programming Topics - HP -65 Owner's Handbook Manual

Hide thumbs Also See for HP-65:
Table of Contents

Advertisement

Miscellaneous Program Topics
Program Debugging
Including Temporary Stops. Where space permits it is advisable
to include additional
operations in long programsto display
intermediate results while writing and checking the program.
When the program is finally checked out, the unwanted stops can
be deleted.
Single Stepping. When switched to RUN mode,
executes
the program, one step at a time. You can observe the effect of
your program in slow motion. To single step through a function,
first press
followed by, . . . . , or[0], . . . ,[9], then press
E&d . repeatedly. However, the
at the end of the function
will be ignored.
Numerical Examples. It is usually absolutely necessary to work
out a sample problem by independent means and then to do the
same calculation using your program.
Magnetic Cards
Prerecorded Cards. Now that you have seen how programs work
you can understand that the answers to the following question
depends on the program:
"During a program stop, can | use the
stack, the other registers, the flags, etc?"'
It is safest to follow the printed procedures when using the pre-
recorded programs. Departures should not be made without
studying the program listing in detail.
Read/Write Operations. Reading or writing a card does not
change the contents of the registers. A program can utilize data
developed by a prior program. Whenever a magnetic card is
written or read, all 100 steps are transferred. If a read operation
fails, program memory is cleared to [@]
codes and the dis-
play blinks. Reading a blank card will have the same effect.

Advertisement

Table of Contents
loading

Table of Contents