Post Reply 
(12C) Base Conversion
08-25-2018, 05:28 PM
Post: #2
RE: (12C) Base Conversion
(08-25-2018 02:32 PM)Thomas Klemm Wrote:  But it appears that STO PV disables the stack lift.

From the manual:
Quote:In addition, the stack does not lift when a number is entered if the last operation performed was storing a number into a financial register.

Although not immediately intuitive, after a bit of thought it does make sense; since the value just stored is preserved and available, there is no need to push it onto the stack (and possibly push something off the top), it is simply replaced by the next value entered.

This is the subtle kind of feature where HP really excelled, IMHO. Although no doubt initially designed to enable stack lift, for symmetry with most other commands, real use-cases likely showed it wasn't necessary most of the time, so they changed to not enable stack lift, thus preserving as much stack as possible.

Best of all, they documented it.

Oddly, the same is not true with generic register storage; it seems the same logic would hold in these cases too. Anyone have a suggestion why these behaviors would be different?

--Bob Prosperi
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C) Base Conversion - Thomas Klemm - 08-25-2018, 02:32 PM
RE: (12C) Base Conversion - rprosperi - 08-25-2018 05:28 PM
RE: (12C) Base Conversion - Albert Chan - 08-25-2018, 06:38 PM
RE: (12C) Base Conversion - Dieter - 08-25-2018, 08:38 PM
RE: (12C) Base Conversion - rprosperi - 08-25-2018, 09:02 PM
RE: (12C) Base Conversion - Albert Chan - 08-25-2018, 11:06 PM
RE: (12C) Base Conversion - Thomas Klemm - 08-25-2018, 08:30 PM
RE: (12C) Base Conversion - Thomas Klemm - 08-27-2018, 08:29 PM



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