Differences
This shows you the differences between two versions of the page.
— |
manual:chapter2:stack [2019/12/01 14:34] (current) jojo1973 created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Working with the stack ===== | ||
+ | The stack is composed by a number of __levels__, each one capable of storing a single [[manual: | ||
+ | |||
+ | ==== RPL, RPN and Extended RPN modes ==== | ||
+ | |||
+ | **newRPL** operates the stack in three different modes which differ by the number of levels and the mechanics of the [[manual: | ||
+ | |||
+ | * **RPL mode** has been introduced by the HP28C/S calculator and used in all following calculators up to the HP50g. It is characterized by a stack with a number of levels limited only by the available memory. The lack of a //top level// simplifies somewhat the management of the stack; | ||
+ | * **RPN mode** is __inspired__ but **not equivalent** to the stack mechanics implemented in most of the calculators produced by HP during its history. Its distinctive feature is the limited number of stack levels (just 4) and the [[manual: | ||
+ | * **Extended RPN mode** is an extension of regular RPN mode, the only difference is the number of stack levels: 8 levels instead of 4. | ||
+ | | ||
+ | The current stack mode is controlled by flags [[manual: | ||
+ | |||
+ | ^ Stack mode ^ [[manual: | ||
+ | ^ RPL | Clear | --- | | ||
+ | ^ RPN | Set | Clear | | ||
+ | ^ Extended RPN | Set | Set | | ||
+ | |||
+ | ==== Stack mechanics ==== |