public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Switching from 16bit to 32 bit mode
@ 2000-05-08 18:17 Deepa Menon
  0 siblings, 0 replies; only message in thread
From: Deepa Menon @ 2000-05-08 18:17 UTC (permalink / raw)
  To: bug-gcc, help-gcc

Hi ,
I have a piece of assembly code which starts up in 16bit mode and then is 
suppossed to go into
32bit mode. The GNU help says to use .code16 directive to indicate to the 
compiler that we are
currently in 16bit mode and to then use .code32 when we are ready to switch 
to 32 bit mode.
However the .code32 dose not appear to be working in the above usage.  A 
whole lot of junk instructions
are generated upon using the .code32  and the code crashes.
Could someone please point me to the correct way of using it??
Any help will be highly appreciated.

Thanks,
Deepa
**************************************************
Deepa Menon
Software Engineer, Cisco Systems
(408) 853-7723
**************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-08 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-08 18:17 Switching from 16bit to 32 bit mode Deepa Menon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).