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: manipulate ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 4606 of 4824
Post > Topic >>

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
 




 4 Posts in Topic:
manipulate stack for calling in 16bit mode (.code16gcc)
junkoi <spamtrap@[EMA  2008-04-06 21:49:39 
Re: manipulate stack for calling in 16bit mode (.code16gcc)
Cyril Novikov <spamtr  2008-04-06 23:54:19 
Re: manipulate stack for calling in 16bit mode (.code16gcc)
junkoi <spamtrap@[EMA  2008-04-07 01:59:16 
Re: manipulate stack for calling in 16bit mode (.code16gcc)
Frank Kotler <spamtra  2008-04-07 18:22:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Oct 11 18:21:10 CDT 2008.