Kernel 220.127.116.11, slackware 12.0
[I am speaking here about 80x86 processors, with their segment registers SS, DS, CS, ES.]
In a source file for as, I wrote
Now, in the .text section, I want to initialize SS, the stack segment, to point to the _STACK section. In other assemblers, there was a special section for the stack, and the linker cared about initializing SS. Here I use a common section for the stack. For a segment such as DS, I could write
But I don't think mov ax,_STACK would do with as/ls. So the question is: how do I initialize SS?