|
Personal understanding:
A stack segment corresponds to a stack, and a task has only one stack segment at the same time.
SS stores the selector of the stack segment. The selector specifies the length of the stack, the growth direction and the limit length. SP stores the bottom of the stack segment. At the beginning, the bottom address <= top address, if there is no data in the stack, then the bottom address = top address, otherwise the bottom <top address |
|