IA32 | [OFFTOPIC]: Segementation Question
Hi.
I'm currently doing some research on the IA32 Segementation Concept. But there's one thing I don't understand:
If I perform a far jump it looks like this:
jmp 16bit:32bit
The 16bit are representing the segement number and the 32bit the offset. But to what refers the 16bit? To the GDT or the current LDT?
--
Thanks
Matthias-Christian Ott
Quoted 6 lines · Matthias-Christian Ott
Hi.
I'm currently doing some research on the IA32 Segementation Concept. But there's one thing I don't understand:
If I perform a far jump it looks like this:
jmp 16bit:32bitThe 16bit are representing the segement number and the 32bit the offset. But to what refers the 16bit? To the GDT or the current LDT?
IIRC, there is one bit flag in selector that decides if it is from GDT or LDT. But maybe I am wrong...
Grzegorz Kulewski
Quoted 7 lines · Grzegorz Kulewski
Quoted 5 lines · Matthias-Christian Ott
Hi.
I'm currently doing some research on the IA32 Segementation Concept. But there's one thing I don't understand:
If I perform a far jump it looks like this:
jmp 16bit:32bit
Quoted 8 lines
Quoted 1 line
The 16bit are representing the segement number and the 32bit the offset. But to what refers the 16bit? To the GDT or the current LDT?
IIRC, there is one bit flag in selector that decides if it is from GDT or LDT. But maybe I am wrong...
Grzegorz Kulewski
Ok, you're right, I read over this (see IA-32 Manual Part 3, Page 81).
--
Matthias-Christian Ott