Post Reply 
Starting HP25 programs with numbers
11-24-2017, 11:26 AM
Post: #3
RE: Starting HP25 programs with numbers
[quote='Dieter' pid='84024' dateline='1511516280']

Now omit the first two lines:

01 2
02 X<>Y
03 -
04 STO 5

I think this works ok.

if there is only zeros in the stack then the result will be 2.

2[Y] - 0[X] = 2[X]

Run the program again

2[X] - 2[Y] = 0[X]

Run it again and it repeats with 2 in X again.

If you enter 2 then R/S then the next [2] from line 01 from the program will be a continuation of a number entry. Eg 22

Assuming a clear stack.

22[Y] - 0[X] = 22[X].

The HP-67 (emulator) does exactly the same thing.


Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Starting HP25 programs with numbers - teenix - 11-24-2017 11:26 AM

User(s) browsing this thread: 1 Guest(s)