comp.lang.ada
 help / color / mirror / Atom feed
From: "David Thompson" <david.thompson1@worldnet.att.net>
Subject: Re: gnat/ppc and a32 blt transfers
Date: Sat, 11 Nov 2000 06:38:30 GMT
Date: 2000-11-11T06:38:30+00:00	[thread overview]
Message-ID: <GP5P5.26390$xJ4.1415661@bgtnsc06-news.ops.worldnet.att.net> (raw)
In-Reply-To: 8u5s27$qau$1@nnrp1.deja.com

Robert Dewar <robert_dewar@my-deja.com> wrote :
...
> the Ada RM specifically recognizes that a compiler must provide
> an appropriate mechanism for insertion of machine language
> statements (assuming the systems programming annex is
> implemented). Of course these mechanisms are not portable
...
> There is no such requirement in C as far as I remember (I do
> not have the C standard at hand to double check).

C (ISO 9899:1999) does not require anything, although in
_informative_ Annex J Portability Considerations it lists
asm ( string-literal ); as a common extension.

C++ (ISO 14882:1998) specifies that same keyword and syntax
as standard, with the contents of the string (that is, the actual
assembler syntax) implementation defined; an implementation
defining that the contents are ignored would presumably be legal.

--
- David.Thompson 1 now at worldnet.att.net








  reply	other threads:[~2000-11-11  6:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-01 19:47 gnat/ppc and a32 blt transfers Al Johnston
2000-11-01 20:52 ` Robert Dewar
2000-11-02  4:55   ` DuckE
2000-11-02 14:26     ` Robert A Duff
2000-11-02 19:58 ` Al Johnston
2000-11-04  5:02   ` Robert Dewar
2000-11-04  0:00     ` David Starner
2000-11-06  0:00       ` Robert Dewar
2000-11-11  6:38         ` David Thompson [this message]
2000-11-06  7:39       ` tmoran
2000-11-04  0:00     ` Al Johnston
2000-11-05  0:00       ` Florian Weimer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox