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,b81416d73a6a56b6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-31 11:13:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal11.airnews.net!cabal1.airnews.net!news-f.iadfw.net!usenet From: "John R. Strohm" Newsgroups: comp.lang.ada Subject: Re: Ada and Assembler Date: Sun, 31 Mar 2002 13:09:04 -0800 Organization: Airnews.net! at Internet America Message-ID: X-Orig-Message-ID: References: Abuse-Reports-To: abuse at airmail.net to report improper postings NNTP-Proxy-Relay: library2.airnews.net NNTP-Posting-Time: Sun Mar 31 13:12:29 2002 NNTP-Posting-Host: !^$r<1k-X"r,G/L (Encoded at Airnews!) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:21926 Date: 2002-03-31T13:09:04-08:00 List-Id: "Henrik Quintel" wrote in message news:a871rs$qdqnt$1@ID-79136.news.dfncis.de... > Dear all, > is it possible to link an external assembler file to an Ada program and to > call an assembler operation from an Ada program? Absolutely. Appendix B.1 discusses "pragma import". There will be some vendor-specific incantations relating to actually doing the link; check your vendor documentation. > If yes, please let me know how. Perhaps it is also possible to include > assembler code direct in the Ada Code? I have searched in the AARM but I > haven't found anything that has something to do with interfacing to > assembler code. So it would be very friendly if someon ecan give me a hint > for this problem. Chapter 13 discusses Ada machine code insertions. CAUTION: machine code insertions are NOT for the faint-of-heart. > Thanks in adavance. > > Yours Henrik > >