Post Reply 
[HP 35s] Hosoda's trig program affected by bug 20?
07-29-2015, 06:56 PM
Post: #6
RE: [HP 35s] Hosoda's trig program affected by bug 20?
(07-24-2015 11:10 AM)Marcio Wrote:  Hosoda does make use of DSE at the beginning to save the stack registers, so I suspect 20 bug is to blame here.

If that's the only reason that the solver fails then you could use a loop-unrolling:
Code:
J004 X<> 00
J005 ABS
J006 RCL 03
J007 RCL 02
J008 RCL 01
J009 RCL 00
J010 RTN

Code:
J015 RPN
J016 STO 00
J017 R↓
J018 STO 01
J019 R↓
J020 STO 02
J021 R↓
J022 STO 03
J023 R↓

I must admit that I don't understand the following lines:
Code:
J018 4
J019 STO I
J020 STO(I)
J021 DSE I

Why do we need the value 4 in register 04?

But I've noticed this line:
Code:
J066 ISG J

This might still lead to a problem when using the solver.

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


Messages In This Thread
RE: [HP 35s] Hosoda's trig program affected by bug 20? - Thomas Klemm - 07-29-2015 06:56 PM



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