Post Reply 
Four types of RPN
09-03-2014, 04:45 PM
Post: #11
RE: Four types of RPN
(09-02-2014 10:52 PM)hansklav Wrote:  Imho your descriptive classification for the top of the stack is not entirely accurate, and misses the important point of presence or absense of "top copy on pop".

I don't like this wording because it doesn't describe exactly what happens:

In the RPL machines and the Prime, the stack is of variable size. If a value is popped off the stack (consumed or dropped) the length of the stack decreases. Thus, the stack may well contain too little objects to perform a given operation. The prime differs just in the maximum size of this stack from the RPL machines.

In the other machines the stack has a fixed size. The question is what happens if a value is dropped or consumed: The remaining elements drop one level, except the top of the stack which is left unchanged. The duplication of the value is just a side effect of the drop, not an extra operation.

Marcus von Cube
Wehrheim, Germany
http://www.mvcsys.de
http://wp34s.sf.net
http://mvcsys.de/doc/basic-compare.html
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Four types of RPN - hansklav - 09-02-2014, 04:16 PM
RE: Four types of RPN - Joe Horn - 09-02-2014, 05:44 PM
RE: Four types of RPN - Jeff_Kearns - 09-02-2014, 06:06 PM
RE: Four types of RPN - walter b - 09-02-2014, 09:38 PM
RE: Four types of RPN - Joe Horn - 09-02-2014, 10:17 PM
RE: Four types of RPN - Mark Hardman - 09-02-2014, 10:22 PM
RE: Four types of RPN - d b - 09-02-2014, 10:40 PM
RE: Four types of RPN - Paul Dale - 09-03-2014, 04:57 AM
RE: Four types of RPN - hansklav - 09-08-2014, 12:51 AM
RE: Four types of RPN - hansklav - 09-02-2014, 10:52 PM
RE: Four types of RPN - walter b - 09-03-2014, 06:37 AM
RE: Four types of RPN - hansklav - 09-08-2014, 12:25 AM
RE: Four types of RPN - walter b - 09-08-2014, 04:40 AM
RE: Four types of RPN - Marcus von Cube - 09-03-2014 04:45 PM
RE: Four types of RPN - hansklav - 09-08-2014, 12:37 AM
RE: Four types of RPN - Thomas Klemm - 09-03-2014, 08:36 PM
RE: Four types of RPN - htom trites - 09-08-2014, 05:33 AM
RE: Four types of RPN - walter b - 09-08-2014, 06:00 AM
RE: Four types of RPN - htom trites - 09-08-2014, 09:43 PM
RE: Four types of RPN - htom trites - 09-10-2014, 02:04 AM
RE: Four types of RPN - Thomas Klemm - 09-10-2014, 06:46 AM
RE: Four types of RPN - Thomas Klemm - 09-11-2014, 01:30 PM



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