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