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-23 03:45:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.cilea.it!news.crs4.it!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: Ada and ASM Date: Tue, 23 Sep 2003 12:45:01 +0200 Organization: CRS4, Center for Adv. Studies, Research and Development in Sardinia Message-ID: <3F70242D.7080807@crs4.it> References: <3F57932B.8010204@nowhere.com> NNTP-Posting-Host: sparre.crs4.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: pietro.crs4.it 1064309333 7987 156.148.70.170 (23 Sep 2003 09:28:53 GMT) X-Complaints-To: news@nntpserver.crs4.it. NNTP-Posting-Date: 23 Sep 2003 09:28:53 GMT User-Agent: Any Browser, HTML 4.01, XHTML 1.0 X-Accept-Language: fo, da, no, sv, is, fr, de, it, In-Reply-To: <3F57932B.8010204@nowhere.com> Xref: archiver1.google.com comp.lang.ada:42789 Date: 2003-09-23T09:28:53+00:00 List-Id: Leif Holmgren wrote: > 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. IIRC the old Borland Pascal compilers (an probably also Delphi/Kylix) used Intel assembler syntax whereas GNAT uses GNU assembler syntax. So you may have to start rewriting your assembler code. Jacob -- "Preserve wildlife, pickle a duck."