HP 65 program tips


Somewhere on the hp65 owner's handbook it stats that when starting program execution from the keyboard pressing [R/S], the first [RTN] is ignored by the calculator and it stops at the second [RTN] found. That's true, but it seems not only the first [RTN] is ignored, also every [g][NOP] instruction found till the second [RTN].

If you try the following program (clear memory first):

g NOP_

Pressing [A] will leave the answer 5, pressing [GTO][A] and then [R/S] will leave 7!

If you try this other program (clear memory first):


Switch to RUN mode and press [GTO][A] and [R/S]. The calculator passes through A and all following [g][NOP] steps on memory, back to top of memory and stops at [RTN]. If you look the stack contents the number 1 is on both X and Y registers (A has been executed two times).

Supose I'm the LAST one who discovers this...


I think something like this was described back in the 1974/1975 PPC Journal issues.

By the way, if you DON'T have a copy of those from Jake Schwartz on CD, you're really missing a wonderful resource. :-)


I have the museum CD's, is this Jake Schwartz CD on them?



Quite an impressive set!

Possibly Related Threads...
Thread Author Replies Views Last Post
  HP 41 Advanced Programming Tips Michael Fehlhammer 0 461 11-28-2013, 06:11 PM
Last Post: Michael Fehlhammer
  [HP Prime] Tips for Solving Differential Equations More Efficiently Chris Pem10 8 1,123 11-21-2013, 08:25 PM
Last Post: Chris Pem10
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 947 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  HP-65 short circuit Ignacio Sánchez 2 589 10-22-2013, 08:27 AM
Last Post: Ignacio Sánchez Reig
  HP-65 Video Tapes - Anyone have a Copy? Bill (Smithville, NJ) 3 740 10-09-2013, 07:40 PM
Last Post: Paul Berger (Canada)
  Using your HP-65 as a clock! Don Shepherd 24 2,344 10-08-2013, 11:53 AM
Last Post: Don Shepherd
  HP-65 to kill... Benoit Maag 11 1,278 08-15-2013, 08:18 PM
Last Post: Jake Schwartz
  For sale: HP 25C and Stat Pac 2 for HP 65 Michae Altmann 1 464 04-21-2013, 01:24 PM
Last Post: Raymond Del Tondo
  Repair my HP 65 motor? Michae Altmann 1 460 04-13-2013, 10:03 PM
Last Post: aj04062
  Repairing HP 65 Michae Altmann 5 751 03-15-2013, 04:13 AM
Last Post: Joel Setton (France)

Forum Jump: