Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Re: require enc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 17 of 18 Topic 4631 of 4729
Post > Topic >>

Re: require encoding

by Brendan <spamtrap@[EMAIL PROTECTED] > Apr 27, 2008 at 08:11 PM

Hi,

On Apr 28, 2:46 am, Mike Gonta  <spamt...@[EMAIL PROTECTED]
> wrote:
> On Apr 27, 1:38 pm, Mike Gonta wrote:
> > Actually protected mode is not operational until
> > after the far jump (or far call) which "changes the
> > flow of execution and serializes the processor".
> > So the format of the instruction is 16:16.
>
> "Operational" is not the correct word here.
> After the PE bit is set in CR0 the processor is in
> Protected Mode but still behaves as if in Real Mode until
> the far jump which changes the "flow of execution".

To be specific, after the PE bit is set the CPU is operating in 16-bit
protected mode, where the CPU's instruction pipeline may still contain
instructions decoded for real mode (which is why you need a JMP), and
where the contents of segment registers don't correspond to the
segment register's hidden attributes (which is why you should reload
segment registers, even if you want 16-bit protected mode).

Note: there's actually very little difference between protected mode
and real mode - the IDT entry format and the way the CPU sets segment
register's hidden attributes during segment register loads, and
(almost?) nothing else.


Cheers,

Brendan
 




 18 Posts in Topic:
require encoding
"Helge Kruse"   2008-04-26 16:25:42 
Re: require encoding
"Alexei A. Frounze&q  2008-04-26 13:01:43 
Re: require encoding
"Helge Kruse"   2008-04-27 08:53:22 
Re: require encoding
Mike Gonta <spamtrap@  2008-04-26 15:57:45 
Re: require encoding
Frank Kotler <spamtra  2008-04-27 07:12:10 
Re: require encoding
ArarghMail804NOSPAM <s  2008-04-27 04:16:02 
Re: require encoding
"Helge Kruse"   2008-04-27 08:51:27 
Re: require encoding
"Wolfgang Kern"  2008-04-27 11:21:40 
Re: require encoding
"H. Peter Anvin"  2008-05-13 09:10:22 
Re: require encoding
ArarghMail804NOSPAM <s  2008-04-27 04:15:01 
Re: require encoding
"Alexei A. Frounze&q  2008-04-27 02:58:54 
Re: require encoding
Mike Gonta <spamtrap@  2008-04-27 04:26:48 
Re: require encoding
"Alexei A. Frounze&q  2008-04-27 04:03:20 
Re: require encoding
ArarghMail804NOSPAM <s  2008-04-28 00:49:27 
Re: require encoding
Mike Gonta <spamtrap@  2008-04-27 10:36:53 
Re: require encoding
Mike Gonta <spamtrap@  2008-04-27 10:46:45 
Re: require encoding
Brendan <spamtrap@[EM  2008-04-27 20:11:40 
Re: require encoding
"Alexei A. Frounze&q  2008-04-28 01:52:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 15:12:40 CDT 2008.