Home > other > Whether a 8086 CPU can only have one stack register?
Whether a 8086 CPU can only have one stack register?
Time:03-09
Whether a 8086 CPU can only have one stack register? Learned the book didn't say so, but the summary content, if only one, since only a pair of SS: SP,
CodePudding user response:
That is to say, although the memory can have 1 MB, but only one, the stack and the biggest only 64 KB, because SS: only a set of SP,??????
CodePudding user response:
The same time there can only be a stack, but can switch, DOS internal has three stack, the application can also set up multiple stack switch, switch to the stack is convenient, is a specially designed LSS instruction (and typical vmlinux.lds/les/LFS/LGS) can be set a ss: sp
CodePudding user response:
8086 only one stack CPU registers, But can define your own stack segment, that is, to use their specified in the program memory area for the stack,