public:calculator:guides:dm41x_ppc
This is an old revision of the document!
DM41X PPC ROM
Various useful functions from the PPC ROM
Solve (SV)
Similar to other Solvers (e.g. the Advantage Pac DM41X Solve but with some minor differences to be aware of.
- Put the name of the program containing the expression to be solved in register 6
- ALPHAAAALPHA
- XEQ<key>ALPHAASTOALPHA
06* The program with the expression to be solved must be written as thoughxis on the x-stack only * other solvers “fill the stack” with X * here you need to manipulate the stack - easiest is to justENTERENTERENTERand then treat the same as other solvers, and usex<>yto pull a fresh copy of X as needed * Put a “step size” in y and a “start value” in x (e.g.-3) *0ENTER-3* runSV==== example ==== 2x^2 + 3x -4 = 0 Prog “AA” <code> LBL AA ENTER ENTER ENTER x^2 2 * x<>y 3 * + 4 - RTN </code> === for the first root === *0ENTER1* XEQALPHASVALPHA and the answer comes…..0.850781059=== for the second root === *0ENTER-3* XEQALPHASVALPHA and the answer comes…..-2.50781060===== Section Two ===== — John Pumford+Green 24/01/26 10:29 GMT ===== Further Information =====
public/calculator/guides/dm41x_ppc.1769257570.txt.gz · Last modified: by john
