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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac02560f0af03a21 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-31 21:09:55 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!proxad.net!proxad.net!194.159.246.34.MISMATCH!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: "Luke A. Guest" Newsgroups: comp.lang.ada Subject: Re: GNAT parameter passing, C-style? Date: Thu, 01 Jan 2004 05:09:55 +0000 Message-ID: References: <3FEC43B2.5080606@noplace.com> <1072450300.440355@master.nyc.kbcfp.com> <3FEC4E89.2070804@noplace.com> <1072458199.346049@master.nyc.kbcfp.com> <3fec7c21$0$4764$61fed72c@news.rcn.com> <4iBIb.8173$qS3.498@nwrdny03.gnilink.net> <1072883131.278899@master.nyc.kbcfp.com> <1072891494.595791@master.nyc.kbcfp.com> <1072899508.453543@master.nyc.kbcfp.com> NNTP-Posting-Host: abyss2.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.demon.co.uk 1072933795 3660 62.49.62.197 (1 Jan 2004 05:09:55 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 1 Jan 2004 05:09:55 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:4007 Date: 2004-01-01T05:09:55+00:00 List-Id: On Wed, 31 Dec 2003 20:47:02 +0000, Frank J. Lhota wrote: > Now I get it! The problem is that I have spent most of my career with the > Intel architecture, where the paucity of registers preclude any extensive > use of registers for parameter passing. Of course, passing parameters by > registers avoids all of these issues, since nothing is pushed onto or popped > off the stack. Yes, and if platforms such as the Amiga had prevailed, the braindead x86 with their crap register(s &) usage would've made the future of CPU's a nicer place to work in (more registers that just made sense). Anyone familiar with the Amiga or any decent modern CPU knows what I'm talking about. I like having functions where a minimal (if at all) stack is allocated. Luke.