Post Reply 
Four types of RPN
09-03-2014, 08:36 PM
Post: #12
RE: Four types of RPN
(09-03-2014 04:45 PM)Marcus von Cube Wrote:  The duplication of the value is just a side effect of the drop, not an extra operation.

The classical RPN calculators don't really use a stack but use 4 registers to emulate a stack. Thus roll-up and roll-down become expensive operations whereas when using what I consider a real stack drop is very cheap:
you just move the stack-pointer and don't move registers.

I think it's interesting that in the older HP calculators (e.g. HP-35) a special machine instruction was used for down-rotate while in later calculators (e.g. HP-41C) this was implemented using multiple read and write operations.

Does anybody know why and when this was changed?

Cheers
Thomas
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: 2 Guest(s)