Post Reply 
Free42 NSTK ENTER behavior
03-19-2021, 04:43 PM
Post: #21
RE: Free42 NSTK ENTER behavior
(03-19-2021 01:40 PM)fqz Wrote:  Since the topic of emulating RPL behavior was mentioned, I'm curious, does anyone have an example off-hand of an RPL calculator that enters input directly onto the "1:" level of the stack instead of an intermediate, anonymous input buffer?

That's what NSTK does, which is already a sort of odd hybrid I think, but admittedly it is unlikely to cause any change in practical behavior as opposed to the [ENTER] mapping, especially on a calculator like Free42 that doesn't support program entry in the main mode.

What NSTK does, in terms of number entry, is really the same as what 4STK does, which in turn is the same as what all the HP RPN calculators do: numbers are entered directly into the X register. There is no separate input buffer, because the three kinds of things you can enter (numbers, ALPHA strings, and programs) each have their own dedicated storage areas and their own separate input modes.

The weird hybrid aspect comes from the fact that the way ENTER behaves on RPN calculators, designed to allow filling the stack easily, doesn't make sense with the dynamic stack. It makes more sense to have ENTER terminate number entry without duplicating X, leading to the same result as pressing ENTER to terminate number entry on an RPL calculator. And to complete the illusion, backspacing all the way executes DROP, so you're left with the stack in the same state it was in before, also like on an RPL calculator.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Free42 NSTK ENTER behavior - fqz - 02-28-2021, 03:15 AM
RE: Free42 NSTK ENTER behavior - fqz - 02-28-2021, 03:05 PM
RE: Free42 NSTK ENTER behavior - DM48 - 03-07-2021, 01:28 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 01:46 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 04:13 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-07-2021, 05:38 PM
RE: Free42 NSTK ENTER behavior - fqz - 03-08-2021, 12:39 AM
RE: Free42 NSTK ENTER behavior - Werner - 03-08-2021, 06:23 AM
RE: Free42 NSTK ENTER behavior - rprosperi - 03-08-2021, 01:33 PM
RE: Free42 NSTK ENTER behavior - rprosperi - 03-09-2021, 12:56 AM
RE: Free42 NSTK ENTER behavior - fqz - 03-19-2021, 01:40 PM
RE: Free42 NSTK ENTER behavior - Thomas Okken - 03-19-2021 04:43 PM
RE: Free42 NSTK ENTER behavior - Werner - 03-09-2021, 07:53 AM
RE: Free42 NSTK ENTER behavior - squid2 - 10-15-2021, 06:01 PM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 12:29 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 08:32 AM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 01:07 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 03:32 PM
RE: Free42 NSTK ENTER behavior - squid2 - 10-16-2021, 04:03 PM
RE: Free42 NSTK ENTER behavior - Peet - 10-16-2021, 10:12 PM
RE: Free42 NSTK ENTER behavior - ijabbott - 10-17-2021, 09:11 AM
RE: Free42 NSTK ENTER behavior - BruceH - 10-17-2021, 03:25 PM



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