Re: manipulate stack for calling in 16bit mode (.code16gcc)
by Frank Kotler <spamtrap@[EMAIL PROTECTED]
>
Apr 7, 2008 at 06:22 PM
junkoi wrote:
....
> // we are in 32bit mode at first
> // then do something to switch from protected mode to real mode
> // now we are in 16bit mode
> .code16gcc
> ret
Maybe you're missing a step...
http://www.sudleyplace.com/pmtorm.html
I'm astonished that as will do what you want. In fact, I'm not sure it
*is* doing what you want. Have you disassembled what you're getting?
Best,
Frank