Post Reply 
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
09-16-2014, 12:59 AM
Post: #9
RE: Cadillac Quadratic Solver behaving like an Edsel
(09-16-2014 12:43 AM)Jeff_Kearns Wrote:  
(09-16-2014 12:31 AM)Paul Dale Wrote:  This is like the problem. The code snippet from the original article is:

Code:
B0015 SGN
B0016 X
B0017 +
B0018 STO J
B0019 x<>y
B0020 /

Leaving rubbish in Y isn't good at step B0020.


- Pauli
Found the following archived discussion but the suggested workarounds starting at message #8 do not work either... What gives?

Jeff

The ENTER instruction (LSTx in my suggestion) makes the content of the stack register T to be lost, unlike the original SGN function. Any SGN replacement you choose should preserve the stack.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Cadillac Quadratic Solver behaving like an Edsel - Gerson W. Barbosa - 09-16-2014 12:59 AM



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