Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: HypoPosted on 2009-09-30 at 04:37:07ID: 25457419
According to the Intel Instruction reference, the sldt instruction only returns it's result into a 16-bit register or memory location, and even if you would pass a 32-bit value, the high order 16 bits would only be set to zero.
Since the instruction only generates an output I don't see why you would initialize the ldtr values to $EF, $BE, $AD, $DE, but maybe i'm missing something here?
If not, then according to the reference manual, you should get the segment selector into that 16-bit result.
Is it perhaps the global descriptor table base you want to read, (instead of the local descriptor table?)
/Hypo
Select allOpen in new window