4 LIFO

The order of storing and retrieving values on the stack is LIFO (last-in-first-out). While this may sound somewhat trivial, it is the foundation of many important computer science concepts, including the concept of “stack machines (also known as push-down acceptors)”. Stack machines, in return, is the foundation of the parsing of almost all programming languages.

 4.1 Saving and restoring register values
 4.2 Calling and returning
 4.3 Calling and returning with a CISC architecture