Var arithmetic on RPL machine? « Next Oldest | Next Newest »

 ▼ Hal Bitton in Boise Senior Member Posts: 291 Threads: 43 Joined: Jun 2007 06-16-2008, 01:54 PM Hi everybody, Is there a way to do what would be the equivalent of register arithmetic on an RPN machine on a 48gx/50g ? I.e., on a 15c I would go 5 sto + 1 to add 5 to the contents of register 1. How would I do the same to the contents of a variable with a 48gx/50g? I know I could recall the variable to the stack, do the operation, then overwrite back into the variable, but is there not a tidier way? Can't seem to find such in the 48g owners manual.Thanks and best regards, Hal ▼ Ivan Nejgebauer Junior Member Posts: 33 Threads: 5 Joined: May 2006 06-16-2008, 04:04 PM Quote: Is there a way to do what would be the equivalent of register arithmetic on an RPN machine on a 48gx/50g ? The 48SX has STO{+,-,*,/} and so do the later models, I suppose. They're used like STO, e.g., ```5 'X' STO+ ``` although ```'X' 5 STO+ ``` also works; if both arguments are variable names, the one in level 1 is taken as the target. i. Jonathan Purvis (New Zealand) Junior Member Posts: 38 Threads: 3 Joined: Jan 2005 06-16-2008, 04:10 PM There is a full suite of storage arithmetic operations. You can find them in PRG MEM ARITH menu path on the 50G or MEMORY ARITH menu path on the 48GX.

 Possibly Related Threads... Thread Author Replies Views Last Post Writing RPL programs on OS X Sean Freeman 18 2,123 11-30-2013, 03:59 PM Last Post: Sean Freeman Layout of arithmetic keys on early calculators Walter B 10 1,244 11-20-2013, 11:13 AM Last Post: Jake Schwartz 48G vs 49G+ User RPL Speed Comparison John Colvin 7 899 11-16-2013, 10:07 PM Last Post: Han HP Prime : Galton's machine Mic 0 378 11-15-2013, 04:23 AM Last Post: Mic RPL 32 David Hayden 4 780 11-11-2013, 11:34 AM Last Post: David Hayden HP PRIME Home settings var lack Damien 0 379 10-26-2013, 04:25 AM Last Post: Damien HHC / HP Museum Programming Contest for RPN and RPL machines Gene Wright 18 1,939 09-22-2013, 09:39 AM Last Post: Miguel Toro Input CAS var on HP Prime Mic 2 490 08-22-2013, 02:29 PM Last Post: Mic Convergence Dream Machine anetzer 11 1,224 04-12-2013, 07:16 AM Last Post: David Hayden Arithmetic programs for HP39gII Mic 0 353 12-19-2012, 12:23 PM Last Post: Mic

Forum Jump: