The Stack Segment is a segment that holds a stack.
It's a stack implementation of memory locations.
As the stack is a segment, it is a contiguous array of memory locations.
When using:
Items are:
When an item is:
In this manner, the stack:
A stack can be up to 4 GBytes long, the maximum size of a segment.
The ESP Stack pointer register points to the top of the stack segment.
The EBP Base Pointer general purpose register points to the base of the stack segment