comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Strip procedure prologue and epilogue
Date: Wed, 17 Dec 2008 00:01:03 GMT
Date: 2008-12-17T00:01:03+00:00	[thread overview]
Message-ID: <3jX1l.427609$TT4.137271@attbi_s22> (raw)
In-Reply-To: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com>

pini wrote:
> 
> pushl %ebx
> -- generated code for some stuff here
> popl %ebx
> 
> I have a very specific procedure whose purpose is to be called at
> bootloading time and set up a stack, so there is no need for the
> prologue and epilogue of this procedure to exist.
> Is there an ada-only way (through a pragma for instance) to strip the
> prologue and epilogue of this procedure ?

If you require specific machine code, you should use a machine-code insertion.

-- 
Jeff Carter
"I like it when the support group complains that they have
insufficient data on mean time to repair bugs in Ada software."
Robert I. Eachus
91



  parent reply	other threads:[~2008-12-17  0:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-16 22:52 Strip procedure prologue and epilogue pini
2008-12-16 23:06 ` Ludovic Brenta
2008-12-17  0:01 ` Jeffrey R. Carter [this message]
2008-12-17  8:11 ` Rolf
2008-12-17  9:40   ` pini
2008-12-17  9:50     ` Ludovic Brenta
2008-12-19  0:01 ` Samuel Tardieu
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox