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 15 of 18 Topic 4631 of 4710
Post > Topic >>

Re: require encoding

by Mike Gonta <spamtrap@[EMAIL PROTECTED] > Apr 27, 2008 at 10:36 AM

On Apr 27, 5:21 am, "Wolfgang Kern" wrote:

> Helge Kruse wrote:

> > Mike Gonta wrote:

> > > 0F 22 C0                 mov cr0, eax
> > > EA 30 00 08 00           jmp 8:protected_mode
>
> if it is supposed to switch from RM16 to PM32 then I'd use:
>
> 66 EA xx xx xx xx yy yy     jmpf yyyy:xxxxxxxx ;selector:offset32
>
> it may work without the 66, but the highword of EIP is either
> zeroed or (even rare to happen on most CPUs) undefined then.

Hi Wolfgang,

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.


Mike Gonta
look and see - many look but few see

http://aeBIOS.com
 




 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 Sun Jul 6 20:06:40 CDT 2008.