Post Reply 
(HP-65) Prime factor finder
12-05-2014, 03:21 AM (This post was last modified: 12-05-2014 03:56 AM by Don Shepherd.)
Post: #3
RE: HP-65 prime factor finder
(11-06-2014 08:04 PM)Dave Britten Wrote:  Very nice. Did you have to change much to get it running on the 65? I see those NOPs in there; that's because of the behavior of conditionals with respect to the unmerged GOTO, right?

I should do a quick conversion for my TI-58C so we can all have a good laugh at how much slower it no doubt is.

Hi Dave, sorry for a belated reply, I haven't checked this sub-forum recently.

It was a very easy port of your original code to the 65. The 65 has just the right amount of resources to support this program.

Yes, NOP's are required if what you want to "do if true" is only one byte long, since it skips two bytes assuming you usually want to do a GOTO which requires 2 bytes.

I love that old 65. I just hope I die before it finally does, it would just break my heart!

I'm going to try to implement this algorithm on a Tandy model 102 portable computer I recently got from a forum member. That will be an interesting exercise, to go from keystroke to BASIC!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(HP-65) Prime factor finder - Don Shepherd - 10-26-2014, 07:16 PM
RE: HP-65 prime factor finder - Don Shepherd - 12-05-2014 03:21 AM
RE: HP-65 prime factor finder - Gene - 12-05-2014, 03:43 AM



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