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-05 14:33:54 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: Jerry van Dijk Newsgroups: comp.lang.ada Subject: Re: Ada and ASM Date: 05 Sep 2003 23:32:52 +0200 Organization: JerryWare Message-ID: References: <3F57932B.8010204@nowhere.com> Reply-To: somename@nospam.demon.nl User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:42193 Date: 2003-09-05T23:32:52+02:00 List-Id: Leif Holmgren writes: > 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. If you have a recent version of GNAT, the info is in the user manual. Perhaps easier is my old tutorial which you can find at adapower: http://www.adapower.com/articles/gnatasm/index.html -- -- Jerry van Dijk, Leiden, Holland -- Note that email address is invalid