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,23a17bbd96d53327 X-Google-Attributes: gid103376,public From: "news.oxy.com" Subject: Re: Assembler in Ada? Date: 1999/01/26 Message-ID: <78kigc$8bj$1@remarQ.com>#1/1 X-Deja-AN: 437107139 References: <369C5E08.69727537@mbox5.swipnet.se> <78a32f$dbr$1@remarQ.com> <78fvjm$82t$1@nnrp1.dejanews.com> <78hvth$m36$1@remarQ.com> <78iho6$4d3$1@nnrp1.dejanews.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: newsabuse@remarQ.com X-Trace: 917359948 HXI3FRZSOA57FC7F8C usenet78.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - Discussions start here! Newsgroups: comp.lang.ada Date: 1999-01-26T00:00:00+00:00 List-Id: I would like to stress once more that I did not have intention to go into very deep details. Idea was only to illustrate how to interpret Asm section of GNAT reference manual and nothing more. No doubt that any serious user will study all the deep implementation details if there will be the need to use assembler within Ada program code for any real working system. For me it is much more convenient to use separate assembler file (xxx.s) which can be compiled separately and would be linked to Ada program via it's Ada interface package (xxx.ads) using Import pragma. robert_dewar@my-dejanews.com wrote in message <78iho6$4d3$1@nnrp1.dejanews.com>... >In article <78hvth$m36$1@remarQ.com>, > "news.oxy.com" wrote: >> If anyone goes down to assembler level , he/she does this >> to get direct access to processor registers and set of >> operations that can be performed on them and machine >> memory otherwise there is no need to go down to such low >> level. > >You definitely need to read the GCC manual, I think you >have missed the whole point of how this feature integrates >with the RTL approach used in the backend of gcc. Yes, this >is quite a complicated feature to understand and use, but >also very powerful. As a matter of fact my opinion was based on experience with Pascal for PDP-11, DEC Assembler for PDP-11, DEC Modula-2, MASM, TASM, TopSpeed Modula-2 (which was my favorite environments when I was working in Russia manned space program -Mir, Souz e.t.c.), Microsoft C++ and Borland Delphi. Most all of them (except DEC) are Intel based systems for use under Microsoft OS (DOS, Window) so it was quite natural for me to use approaches from that world. If the GCC backend integration with RTL uses different approach this is fine. If it is more universal and portable then no doubt it will be used when needed. Regards, Vladimir Olensky (vladimir_olensky@yahoo.com) (Vladimir_Olensky@oxy.com) Telecommunication specialist, Occidental C.I.S. Service, Inc. ( www.oxy.com ) Moscow, Russia.