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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,edb329885d962c1d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-06 08:24:33 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.gbronline.com!news.gbronline.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 06 Sep 2003 10:24:31 -0500 Date: Sat, 06 Sep 2003 10:25:45 -0500 From: Wes Groleau Reply-To: groleau@freeshell.org Organization: Ain't no organization here! User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, es-mx, pt-br, fr-ca MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada and ASM References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 69.9.86.47 X-Trace: sv3-LakxmZOcbP5GeFgpN8DBLA8ZRXdiVLpJoQHq0yDeYw9wfQhoKokKRzmsLmLB4cD2vvJD8axaBNKQLsG!K6ROp3L7zApwFoep643EY3gTykakWSjcA3v+tCKv9vNjOB+IpD9+FFgYuPvY4MVxdDfkVgGlL9BI X-Complaints-To: abuse@gbronline.com X-DMCA-Complaints-To: abuse@gbronline.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Xref: archiver1.google.com comp.lang.ada:42209 Date: 2003-09-06T10:25:45-05:00 List-Id: >>I want to replace the ASM call by Ada syntax. Assuming one had a >>package Asm, then I would like something like the following >> >>A,B:Asm.register_32; >>A:=10_000; >>Asm.Move(From=>A To=>B); >> >>The assembly operations are expressed as true Ada subprograms. Are you saying you want every opcode to have the overhead of a subprogram call? Or are you just looking for a more Ada-like syntax for the special stuff? Either way, you should read about package System.Machine_Code in RM95 13.8 -- Wes Groleau "Grant me the serenity to accept those I cannot change; the courage to change the one I can; and the wisdom to know it's me." -- unknown