From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c7e469ccb3e8d0e7 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Strip procedure prologue and epilogue References: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com> In-Reply-To: <0bc2447d-ee51-4fce-8bb5-18a0822b7099@r10g2000prf.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <3jX1l.427609$TT4.137271@attbi_s22> NNTP-Posting-Host: 173.16.158.68 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1229472063 173.16.158.68 (Wed, 17 Dec 2008 00:01:03 GMT) NNTP-Posting-Date: Wed, 17 Dec 2008 00:01:03 GMT Organization: AT&T ASP.att.net Date: Wed, 17 Dec 2008 00:01:03 GMT Xref: g2news2.google.com comp.lang.ada:3986 Date: 2008-12-17T00:01:03+00:00 List-Id: 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