Post Reply 
LastXY Register for WP34S
12-01-2014, 06:56 AM (This post was last modified: 12-01-2014 07:24 AM by Dieter.)
Post: #6
RE: LastXY Register for WP34S
(12-01-2014 05:44 AM)BarryMead Wrote:  What if (ALL NON-COMPLEX DIATIC OPERATORS) saved both X and Y, by calling the setlastXY() function instead of the setlastX() function then one could recall either X or XY, by choosing RCL L or CPX RCL L.

Great idea, Barry — I was about to suggest exactly the same. ;-)

Indeed, there already is a pair of LastX/Y registers: L (Last X) and I (LastY). Currently register I is only used in complex mode to save the imaginary part of the last argument, i.e. the last value of Y. So using register I generally for LastY (i.e. also for real functions with two or more arguments) should be easy.

This would only affect programs that use register I for other purposes. Which is not a good idea anyway (using A–D, L, I, J and K generally is discouraged as these registers may be used by the 34s for other purposes). The impact on existing programs would not be greater than with previous updates, e.g. the change in the way the incomplete Beta function expects its arguments on the stack.

And no, I do not expect a complex LastXY with two more registers saving LastZ and LastT, nor a LastXYZ for functions using three arguments. Although a "Last stack" command would be a nice idea. However, if this is really required it can be done using the current STOS and RCLS commands.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
LastXY Register for WP34S - PANAMATIK - 11-30-2014, 08:51 PM
RE: LastXY Register for WP34S - brouhaha - 12-01-2014, 05:10 PM
RE: LastXY Register for WP34S - Bit - 12-01-2014, 06:48 PM
RE: LastXY Register for WP34S - Paul Dale - 12-01-2014, 09:29 PM
RE: LastXY Register for WP34S - PANAMATIK - 12-01-2014, 10:11 PM
RE: LastXY Register for WP34S - Paul Dale - 12-01-2014, 10:26 PM
RE: LastXY Register for WP34S - Paul Dale - 12-01-2014, 10:29 PM
RE: LastXY Register for WP34S - PANAMATIK - 12-01-2014, 10:46 PM
RE: LastXY Register for WP34S - PANAMATIK - 11-30-2014, 10:37 PM
RE: LastXY Register for WP34S - Paul Dale - 11-30-2014, 11:34 PM
RE: LastXY Register for WP34S - BarryMead - 12-01-2014, 05:44 AM
RE: LastXY Register for WP34S - Dieter - 12-01-2014 06:56 AM
RE: LastXY Register for WP34S - Paul Dale - 12-01-2014, 09:08 AM
RE: LastXY Register for WP34S - PANAMATIK - 12-01-2014, 11:07 AM
RE: LastXY Register for WP34S - Bit - 12-01-2014, 01:57 PM
RE: LastXY Register for WP34S - PANAMATIK - 12-01-2014, 07:12 AM
RE: LastXY Register for WP34S - walter b - 12-01-2014, 06:45 PM
RE: LastXY Register for WP34S - PANAMATIK - 12-01-2014, 07:28 PM
RE: LastXY Register for WP34S - walter b - 12-01-2014, 09:14 PM
RE: LastXY Register for WP34S - BarryMead - 12-01-2014, 09:15 PM



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