Post Reply 
Solve w/ HP-41 Formula Eval Module
07-18-2017, 04:41 AM (This post was last modified: 07-18-2017 05:03 AM by Ángel Martin.)
Post: #3
RE: Solve w/ HP-41 Formula Eval Module
(07-17-2017 06:19 PM)Gene Wrote:  What values are in Z and T the first time this is executed?

If formula is in ALPHA and guesses in X and Y, then I don't see anything that pushes X and Y into Z/T the first time through the loop. Doesn't that mean you could have an error based on bad data in Z/T ?

EVALZ puts the result in Z, and EVALT puts the result in T. All is intended, no random values but f(xn-1) and f(xn),

(07-17-2017 06:19 PM)Gene Wrote:  Seems like it needs a DUP2 command of some sort to DUP XY into ZT ? That might prove useful for more than just this instance.

No need for it as per above.


(07-17-2017 06:19 PM)Gene Wrote:  And sorry :-) What does VIEW X(3) mean/do ? VIEW X is clear, but what is the (3) in there do ?

Yes, the "X" register is the same as the X(3) register. The number refers to its absolute address. This notation is helpful for additional clarity, like for instance to differentiate M(5), N(6) from the CPU M, N registers, etc.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Solve w/ HP-41 Formula Eval Module - Ángel Martin - 07-18-2017 04:41 AM



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