Perhaps in some future computing will forget about zeros and ones, and processors will operate not bytes and words, but so far everything is represented by the binary world and lives by its rules. What is a stack and where is it used - most likely, it will become completely unclear. Even at the beginning of its appearance, the first processor had registers, and the logic of its operation needed memory. As a result of the implementation of simple ideas, the “what is it” stack has become de facto “so necessary”.
Functions, Processor, Binary Logic
The processor manages the memory and implements the logic of cyclic code execution. A program is one or a set of functions that are a sequence of operations: choose something, do something, put it there. The operating system is also a more responsible code: it is tasked with executing and controlling other programs.
( ) - . , .
. ( ) – , , . , .
, , . , . .
. ( ), . ? ( ), , . , , , , . .
– . . , , . : «, » , «» .
AX, BX, CX, DX, EX , SP SS – . ? . "" "" .
, ,
, : . : . , , / - .
, , . , , , . , «, » , , , . , , .
. , – , – , – , , . , , , .
-, . , , , , .
, , , , , .
, , , . , : - , .
, , , … , . . (//) , , / – , .
. , , , . , .
Stack, functionality and recursion are not synonyms at all, but they perfectly complement each other, allowing you to create unique options for presenting and processing information.