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,28db79a4b238c104 X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: What's wrong with this simple Ada w/ assembly code? Date: 1999/03/04 Message-ID: <7bm0kb$8uj$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 451130564 References: <36ddb9aa.0@silver.truman.edu> 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: Thu Mar 04 13:08:32 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-03-04T00:00:00+00:00 List-Id: In article <36ddb9aa.0@silver.truman.edu>, joshhighley@hotmail.com (Josh Highley) wrote: > I'm trying to link some really simple assembly code > with Ada. I haven't been able to find any good examples > or explanations on how to do this. GNAT simply follows the standard ABI, so if you follow this you should have no trouble. If you don't know the ABI, you are indeed wandering in the dark. For some illumination, look at the assembly code generated by GNAT, the easiest way to do this is with objdump --source file.o -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own