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,edb329885d962c1d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-04 12:32:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed1.swip.net!swipnet!nntpserver.swip.net!not-for-mail Message-ID: <3F57932B.8010204@nowhere.com> From: Leif Holmgren User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada and ASM References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 213.101.96.248 X-Complaints-To: news-abuse@swip.net X-Trace: nntpserver.swip.net 1062703920 213.101.96.248 (Thu, 04 Sep 2003 21:32:00 MET DST) NNTP-Posting-Date: Thu, 04 Sep 2003 21:32:00 MET DST Organization: A Customer of Tele2 X-Sender: s-219882@d213-101-96-248.swipnet.se Date: Thu, 04 Sep 2003 21:31:55 +0200 Xref: archiver1.google.com comp.lang.ada:42152 Date: 2003-09-04T21:31:55+02:00 List-Id: luiX_ wrote: > Hi all, I want ot include and assembler rutine in an Ada program, does > anyone know how to do that? It will be very helpfully. As someone else said, Ada RM and Compiler manuals are the first steps. Note that if you are using GNAT, most things are in the gcc documentation! If you manage to decode the gcc manual, please write something useful down on how it should be done. I'm currently also trying to include some asm code in my program (using Gnat). I have totally failed to get the interfacing part going. I know my statement sequence is correct since I first coded it using Borland Delphi's inline assembler. I guess I will end up wrapping my code in a DLL. /Leif