flat assembler
Message board for the users of flat assembler.

Index > Main > Getting segment base from selector

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 28 Jun 2007, 22:25
Is there any easy way to get segment base from selector? Like LSL instruction for segment limit.

Or do I have to do it the hard way? (check selector bit to find out if it's LDT or GDT, if it's in LDT find out LDT's address in GDT, and get descriptor from table. plus, check all limits and stuff)

thanks
Post 28 Jun 2007, 22:25
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.