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,

CodePudding user response:

reference liups reply: 3/f
8086 CPU can only have one stack registers,
But can define your own stack segment, that is, to use their specified in the program memory area for the stack,


But because the ss: sp this format, a stack is no more than 64 KB, can have the size of 1 MB memory, stack only so small,

CodePudding user response:

reference 4 floor qq_16774199 response:
Quote: reference liups reply: 3/f
8086 CPU can only have one stack registers,
But can define your own stack segment, that is, to use their specified in the program memory area for the stack,


But because the ss: sp this format, a stack is no more than 64 KB, can have the size of 1 MB memory, stack only so small,

What do you want to! 8086 how much memory would not have support, stack so what is the use?
  • Related