LDT... What and Why?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DarkTama

LDT... What and Why?

Post by DarkTama »

I was just wondering how exactly you use an LDT.
I know that you define it the same way as a GDT.
Use LLDT to load it. But how do we access the
entries in it?

With a GDT we use something like
mov ax,SELECTOR_EQUATE
mov segmentregister,ax

But how do I do it with an LDT?
Alexei Frounze

RE:LDT... What and Why?

Post by Alexei Frounze »

>On 2001-04-05 19:12:38, DarkTama wrote:
>I was just wondering how exactly you use an LDT.
>I know that you define it the same way as a GDT.
>Use LLDT to load it. But how do we access the
>entries in it?
>
>With a GDT we use something like
>mov ax,SELECTOR_EQUATE
>mov segmentregister,ax
>
>But how do I do it with an LDT?

Exactly same way.

Good Luck
Post Reply