|
|
|
|
![]() ![]() |
Feb 1 2007, 02:37 AM
Post
#1
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 397 Joined: 9-June 06 From: Wisconsin Member No.: 24,924 |
Hello all. I've been programming in Assembly for about 4 years now but I still have yes to fully understand protected mode. I've read a lot of tutorials on it and even the intel docs on it and read a lot of examples too, but I still have a couple questions I need to get answered in order for me to start using it.
My first question is, what is the purpose of overlapping segments? I've read in tutorials that you can overlap segments; does this mean that if you overlap a code segment and a data segment that the overlapped part then becomes a code and data segment? I think that is the answer but it sorta seems like it defeats the whole purpose of protected mode. Or perhaps this means that when you are using that segment it can be part of a segment but ignores the other segments descriptor? My second question is, the segment after the null segment in the GDT or LDT, is that considered segment zero or segment one? My third and final question is this, what is the point of an LDT. I know its the same as a GDT, but the GDT gives you 8192 segments to work with. I've read its used by applications, but how? I have yet to find an example that truly explains it. Thanks for your help. |
|
|
|
![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 8th September 2008 - 07:07 AM |