comp.lang.ada
 help / color / mirror / Atom feed
* Assembly and Ada
@ 1997-04-08  0:00 stephen king
  1997-04-10  0:00 ` Larry Kilgallen
  1997-04-10  0:00 ` Robert Dewar
  0 siblings, 2 replies; 4+ messages in thread
From: stephen king @ 1997-04-08  0:00 UTC (permalink / raw)



How do I interface assembly commands with Ada?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Assembly and Ada
  1997-04-10  0:00 ` Larry Kilgallen
@ 1997-04-10  0:00   ` Robert Dewar
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Dewar @ 1997-04-10  0:00 UTC (permalink / raw)



Larry said

<<There is also an Alpha VMS version of GNAT Ada coming, and Robert Dewar
can indicate whether ACT has current plans for inlining assembler code.>>

Since plans seem to imply the notion of something you expect to do in tthe
future, I guess the answer is that we do not have plans, because we fully
implement both Machine_Code intrinsics and package Machine_Code for all
GNAT ports RIGHT NOW!

This was implemented in 3.07, so it has been around for a while!





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Assembly and Ada
  1997-04-08  0:00 Assembly and Ada stephen king
@ 1997-04-10  0:00 ` Larry Kilgallen
  1997-04-10  0:00   ` Robert Dewar
  1997-04-10  0:00 ` Robert Dewar
  1 sibling, 1 reply; 4+ messages in thread
From: Larry Kilgallen @ 1997-04-10  0:00 UTC (permalink / raw)



In article <334AF688.1573@moon.pr.erau.edu>, stephen king <kingst@moon.pr.erau.edu> writes:
> How do I interface assembly commands with Ada?

Presuming you meant assembly "instructions"...

Since you did not specify, I guess I get to choose the hardware and
operating system; I choose Alpha VMS.

Decide which you want to use --- Macro-32 or Macro-64, and build
your module with an external entrypoint.  Use the IMPORT_FUNCTION
or IMPORT_PROCEDURE pragma to make it known to your DEC Ada program.

There is also an Alpha VMS version of GNAT Ada coming, and Robert Dewar
can indicate whether ACT has current plans for inlining assembler code.

Larry Kilgallen




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Assembly and Ada
  1997-04-08  0:00 Assembly and Ada stephen king
  1997-04-10  0:00 ` Larry Kilgallen
@ 1997-04-10  0:00 ` Robert Dewar
  1 sibling, 0 replies; 4+ messages in thread
From: Robert Dewar @ 1997-04-10  0:00 UTC (permalink / raw)



Stephen King asks

<<How do I interface assembly commands with Ada>>

This is highly compiler and target dependent. All versions of GNAt provide
a quite general method of accomplishing this. See GNAT documentation for
full details.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-04-10  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-04-08  0:00 Assembly and Ada stephen king
1997-04-10  0:00 ` Larry Kilgallen
1997-04-10  0:00   ` Robert Dewar
1997-04-10  0:00 ` Robert Dewar

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