Post Reply 
hp65 vs 41c vs 35s µbenchmark
05-31-2014, 03:30 PM
Post: #9
RE: hp65 vs 41c vs 35s µbenchmark
(05-31-2014 02:44 PM)GeorgeOfTheJungle Wrote:  In the link that Massimo has posted (btw, thanks, Massimo) it says:

HP 30b
Count: 72,517
Code: LBL 00 + GOTO 00
(as first program in memory)

And that's more or less ok, between 130x and 280x, ~= your 34s.

Bear in mind, those were 60-second tests, with a shorter program and pre-loaded stack (label searches may be faster).

(05-31-2014 02:51 PM)GeorgeOfTheJungle Wrote:  LBL + ??? I can't do that in my hp! Why do you use + instead of B?

The 58/59 used weird labeling. You had A-E corresponding to the five hot-keys at the top, and A'-E', the same hot-keys prefixed with 2nd. These would normally be used for your program's entry points. You could also use (almost) any other non-numeric key for a label, which could be called with SBR or GTO. GTO with numeric arguments would be interpreted as a branch to a step number, so that's probably why you couldn't use 0-9 as labels.

Program steps were 100% not merged, so this scheme was probably easier for the parser/state machine. Treat any key code after LBL/GTO/SBR as a label, and a single digit key-code (00-09) after GTO/SBR as a trigger to grab the next step's key code and build a 3-digit step number out of them.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: hp65 vs 41c vs 35s µbenchmark - Dave Britten - 05-31-2014 03:30 PM
RE: hp65 vs 41c vs 35s µbenchmark - pito - 06-05-2014, 05:49 PM



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