Stack
Updated Feb 15, 2026
Alias: Call stackAlias: LIFO
Definition
LIFO: A data structure where the last input is outputted first (LIFO, Last in first out).
For example, when the numbers 1, 2, 3, 4 are inputted in that order, they are outputted in the reverse order (4, 3, 2, 1)
Stack: An implementation of LIFO, typically using bi-directional shift registers. The last value inputted (pushed) is the first value outputted (popped)
Call stack: A stack used to handle the order of returning function calls in a CPU.
Referenced By
Referenced codes
ADD008OTHERCOMB007OTHERCOMB008NUMDISPLAY006CHARDISPLAY001REGISTERFILE002QSTACK001
Open the archives to search by code.