[WP 34s] emulator ENTER key behaviour
|
05-27-2015, 11:03 PM
(This post was last modified: 05-27-2015 11:05 PM by emece67.)
Post: #7
|
|||
|
|||
RE: 34s emulator ENTER key problem?
This is only an educated guess.
To implement an RPL machine you need an stack and also a separate register where to store the digits as you type them prior to pushing ENTER. To implement an RPN machine you only need an stack, as the digits you type are directly entered into the X register. When you push ENTER such digits are copied to Y and, as the automatic stack lift is disabled, new digits will go into X (overwriting the old ones, but not missing them, as they are also in Y). If instead of pushing ENTER you push any operation, the digits you have just typed (in X) are computed with those on Y. Thus, in an RPN machine you do not need a separate register to hold the digits you type prior to pushing ENTER, the bottom of the stack serves that purpose. I suppose that, when memory was scarce, such behaviour was advantageous. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[WP 34s] emulator ENTER key behaviour - Marcio - 05-27-2015, 06:45 PM
RE: 34s emulator ENTER key problem? - Massimo Gnerucci - 05-27-2015, 07:02 PM
RE: 34s emulator ENTER key problem? - Marcio - 05-27-2015, 10:05 PM
RE: 34s emulator ENTER key problem? - rprosperi - 05-28-2015, 06:59 PM
RE: 34s emulator ENTER key problem? - Marcio - 05-28-2015, 07:34 PM
RE: 34s emulator ENTER key problem? - Dave Britten - 05-28-2015, 08:07 PM
RE: 34s emulator ENTER key problem? - emece67 - 05-27-2015, 07:04 PM
RE: 34s emulator ENTER key problem? - Marcio - 05-27-2015, 07:38 PM
RE: 34s emulator ENTER key problem? - Thomas Klemm - 05-27-2015, 08:41 PM
RE: 34s emulator ENTER key problem? - Dave Britten - 05-28-2015, 02:44 PM
RE: 34s emulator ENTER key problem? - emece67 - 05-27-2015 11:03 PM
RE: 34s emulator ENTER key problem? - Thomas Klemm - 05-28-2015, 06:13 PM
RE: 34s emulator ENTER key problem? - Thomas Klemm - 05-28-2015, 09:11 PM
|
User(s) browsing this thread: 2 Guest(s)