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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,503a6bb48777d568 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: ASM with ADA95 and GNAT? Date: 1999/01/10 Message-ID: <77b9j2$5nb$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 430994628 References: <01be3c74$795a8180$28074dc6@einstein> X-Http-Proxy: 1.0 x15.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Jan 10 22:28:52 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-01-10T00:00:00+00:00 List-Id: In article <01be3c74$795a8180$28074dc6@einstein>, "Joshua Shriver" wrote: > Is it possible to use inline ASM for either x86 or Sparc > with GNAT? Or are there any free (GAS/NASM) assembler for > Sparc that can be used with > GNAT? Once again I will reveal the secret source of information on the GNAT compiler, known only to the select few, namely the GNAT documentation included with the compiler. In this case you can find the information you seek cleverly hidden under the title "Machine Code Insertions" :-) By the way, of course you have an assembler at hand, because gcc compilers include an assembler. Merely use the extension .s for your asm source file and use the gcc command to assemble it in the usual manner. Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own