Switching from 16bit to 32 bit mode
Deepa Menon
dmenon@cisco.com
Mon May 8 18:17:00 GMT 2000
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
**************************************************
More information about the Gcc-bugs
mailing list