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,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,570b95527f176df8 X-Google-Attributes: gid103376,public From: Roy Grimm Subject: Re: Inline assembly in GNAT Date: 1999/03/08 Message-ID: <36E3DA67.9190BA17@bigfoot.com>#1/1 X-Deja-AN: 452573161 Content-Transfer-Encoding: 7bit References: <36DECF35.74D4C3BB@bigfoot.com> Content-Type: text/plain; charset=us-ascii Organization: Me, Myself and I (Not representing my company) Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-03-08T00:00:00+00:00 List-Id: Jerry van Dijk wrote: > > Roy Grimm (ragrimm@bigfoot.com) wrote: > > : I've recently downloaded GNAT 3.10 (Windoze/Intel version) and installed > > : I'm running into some difficulty understanding the inline assembly > : abilities of GNAT. > > Just curious: what did you want to use inline assembly for in a Win32 > environment ? Curiosity mostly. I've worked with several (mostly Ada83) compilers over the (not so) many years I've been developing embedded software and I like to see how different compilers implement different features. > : I'd like to start with implementing some simple instructions and build > : up from there. Can someone point me to some example code or perhaps a > : good book which explains the inline assembly implementation in GNAT? > > Actually, the inline assembly code implementation mirrors the gcc > implementation, look this up in the gcc manual. Ah, I'll have to dig that up. Thanks for the info. > -- > -- Jerry van Dijk | Leiden, Holland > -- Team Ada | jdijk@acm.org > -- see http://stad.dsl.nl/~jvandyk -- Roy A. Grimm Mathematics and alcohol don't mix. Don't drink and derive.