comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Ada and assembler
Date: 1997/09/19
Date: 1997-09-19T00:00:00+00:00	[thread overview]
Message-ID: <dewar.874664506@merv> (raw)
In-Reply-To: 341F0106.404@wanadoo.fr


F. Deshaies asks

<<Hello,

I would like to know how i can put assembler instructions in an
Ada program ?

Thanks>>


This is highly target and implementation dependent, so the question cannot
be answered without knowing exactly what version of what compiler you
are using on what machine with what operating system.

In general this is the kind of question which will have a detailed answer
and you will need to read the documentation that comes with your compiler.

All versions of GNAT support a full implementation of package Machine_Code
and also the use of intrinsics. For full details on how to use this you
will have to read the section on "Machine Code Insertions" in the GNAT
reference manual, and most likely also the relevant sections in the
"Using and Porting GNU CC" manual if you are not familiar with the use
of machine language insertions in GNU C (since GNAT shares the same
approach).





  parent reply	other threads:[~1997-09-19  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-16  0:00 Ada and assembler Frederic Deshaies
1997-09-18  0:00 ` Samuel Tardieu
1997-09-19  0:00 ` Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-17  0:00 ADA " Frederic Deshaies
2002-03-31 13:10 Ada and Assembler Henrik Quintel
2002-03-31 13:34 ` David C. Hoos, Sr.
2002-03-31 14:02 ` Dr. Michael Paus
2002-03-31 21:09 ` John R. Strohm
replies disabled

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