The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
The Stack in ALG Mode
06-17-2024, 04:37 AM (This post was last modified: 06-17-2024 04:40 AM by Powa.)
Post: #1
The Stack in ALG Mode
According to Appendix B, the stack in ALG mode holds the last 4 results. That's fine. It also says:

"Note that once a two-numbered function (such as +, -, x, / or y^x) has has the second argument entered, the two arguments cannot then be swapped using x><y because when the second argument is entered it replaces the first,..."

Where is the first argument stored then?

In RPN mode the y^x makes sense, you key in a value which goes into x register and when you key in the second value, it goes into the y register with the new value being in the x register. So the key makes logical sense in RPN mode. But I don't know what logic to use for ALG mode.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
The Stack in ALG Mode - Powa - 06-17-2024 04:37 AM
RE: The Stack in ALG Mode - rprosperi - 06-17-2024, 12:25 PM
RE: The Stack in ALG Mode - Powa - 06-17-2024, 02:00 PM



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