Post Reply 
Raw files for these HP 67 program listings ?
09-06-2016, 10:48 PM
Post: #41
RE: Raw files for these HP 67 program listings ?
(09-05-2016 04:26 PM)RobertM Wrote:  I'm going to take a swing at the One Armed Bandit next. It's a holiday today, so I may not get to it until tomorrow. Smile

Here's my attempt at this program. It includes a lot of streamlining which makes the program more compact, it also uses less registers:

In the original program registers A to E hold some constants that are only used once (!) in the program, reg. A is even not used at all. So instead of a RCL the constants have been inserted directly into the code. Also registers 3 and 5 remained unused, so I replaced reg. E with R05 (R03 still is not used). This way the 41 program is shorter and requires significantly less registers than the original 67 version.

The attached zip file contains a listing (.TXT) and a .RAW file. Maybe someone can do some tests and compare this version with the original one. If you find errors, please report here.

Dieter

.zip  OABANDIT.zip (Size: 1.17 KB / Downloads: 5)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Raw files for these HP 67 program listings ? - Dieter - 09-06-2016 10:48 PM



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