Post Reply 
Weakest calculator/pocket computer that can do Tower of Hanoi?
08-12-2018, 05:08 PM
Post: #14
RE: Weakest calculator/pocket computer that can do Tower of Hanoi?
(08-12-2018 07:16 AM)Thomas Klemm Wrote:  It should be possible to convert this program for the HP-25.

Here's what I came up with:
Code:
01 ENTER
02 1
03 x<>y
04 2
05 ÷
06 FRAC
07 x≠0
08 GTO 15
09 R↓
10 LASTx
11 x<>y
12 1
13 +
14 GTO 03
15 R↓

I've used this online HP-25 emulator to test it.
I hope I didn't make typos again.

Cheers
Thomas

PS: I wasn't aware that the ENTER in the first line is needed.
Otherwise 1 will just be appended to the number in the display.
Does anybody know with which model this behaviour changed?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Weakest calculator/pocket computer that can do Tower of Hanoi? - Thomas Klemm - 08-12-2018 05:08 PM



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