hidden part of segment register

Programming, for all ages and all languages.
Post Reply
Hellboy
Posts: 7
Joined: Tue Jan 13, 2009 4:31 pm

hidden part of segment register

Post by Hellboy »

Hello every one
I have a little question about the hiden part of segment register that i wish that you help me
How much i should reserve in memory in order to store a segment register the tow part hidden and visible parts using Mov instruction and did Mov store the Hidden part .
Thank you .
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: hidden part of segment register

Post by Combuster »

You can't retrieve the hidden part of a segment register using conventional means. You'd need a SMM handler or virtual machine for that. (The virtual machine being the only context where this action actually makes sense)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: hidden part of segment register

Post by bewing »

To be more specific about Combuster's answer: 2 bytes and no.
Post Reply