Dario wrote:If you search my post history, you will find out that I have red Intel's first manual.
If I do that for every question here, checking the background of the poster...
I don't think that it provides answers to my question.
I think it does, when taken in combination with other things that you'd have to check if you were to follow the "
How-To ask questions the smart way".
Let's try it again.
From your OP:
So, every process is segmented in memory (.code, .data, .stack and .heap)...question is, do the segment registers like CS, DS, SS...select these segments in memory or did I confused it with something else...
Try
Segmentation in the Wiki, and the chapter [wiki]Segmentation#Notes Regarding C[/wiki] will tell you that you
did confuse things. Now you would wonder, what
is this memory map about, and perhaps you would check out the
ELF page on the Wiki, which gives an introduction to the subject. In any case, you would now know enough not to ask "explain the whole field of segments to me", but to ask
specifically for what you didn't understand.
Second, I was NOT attacking this forum, but the approach of one individual...
...which is called "STFW", and which I still consider highly appropriate when the question is as sweeping as yours.
I'm very grateful for provided link, but I'm searching for more detailed explanation.
Which you really expect someone to
type in here? All we could do would be to
point you towards such an explanation, and guess what, we'd be using Google to
find those pointers, so... why don't you try yourself? (Effectively repeating berkus' point.)
If one can't or won't provide that, then he doesn't have to...
You know the story about giving a man a fish vs. teaching him how to catch fish himself?