public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Naked Functions
@ 2003-05-27 14:37 S kris
  2003-06-08 16:55 ` HLA v1.49 is now available Randall Hyde
  0 siblings, 1 reply; 2+ messages in thread
From: S kris @ 2003-05-27 14:37 UTC (permalink / raw)
  To: gcc; +Cc: linux-assembly

Hi,

I have come across some MS C code which uses 'naked' functions. How can I 
achieve a similar effect with GNU toolchain. I do not want to rewrite the 
code in assembly .s file and would prefer to do simple modifications to make 
it work with Linux.

Is the macro __attribute__((naked)) valid for the above purpose?
If not, what are the methods to generate the code for functions without its 
prolog and epilog code (naked functions) under Linux?
Is prolog and epilog  code generated by both MS tools and GNU tools 
(compilers) are same?

Please clarify the above queries.

Thanks in advance.

--Kris

_________________________________________________________________
Reconnect with old pals. Relive the happy times. 
http://www.batchmates.com/msn.asp With just one click.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* HLA v1.49 is now available
  2003-05-27 14:37 Naked Functions S kris
@ 2003-06-08 16:55 ` Randall Hyde
  0 siblings, 0 replies; 2+ messages in thread
From: Randall Hyde @ 2003-06-08 16:55 UTC (permalink / raw)
  To: S kris, gcc; +Cc: linux-assembly

Hi all,
HLA v1.49 is now available from the Webster download page
(http://webster.cs.ucr.edu).

HLA is the High Level Assembler for 80x86 processors. It runs under
Linux and Windows. Carefully written programs are portable between
the two OSes.

Lots of new sample code, lots of changes to the standard library,
and a few bug fixes. Also, both Windows and Linux versions of the
compiler are available with this release.

Big change: the new console routines are integrated into the standard
library (portable between Linux and Windows).
This will probably break existing applications that use the console
library routines. The older routines are available for
separate linking to maintain compatibility.

New Iczelion conversions.
New "Windows Programming in Assembly (WPA) examples.
Plus more!

Enjoy!
Randy Hyde

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-08 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-27 14:37 Naked Functions S kris
2003-06-08 16:55 ` HLA v1.49 is now available Randall Hyde

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).