From: anders@legolas.gidenstam.org (Anders Gidenstam)
Subject: Re: GNAT on SPARC
Date: Sat, 6 Jul 2002 13:08:00 +0200
Date: 2002-07-06T11:08:20+00:00 [thread overview]
Message-ID: <g2j6ga.262.ln@legolas> (raw)
In-Reply-To: 3D256669.71819371@space.se
In article <3D256669.71819371@space.se>,
Arne Carlsson <arne.carlsson@space.se> writes:
> Hello,
>
> I am working with GNAT (in fact GNAT-ORK) for an embedded SPARC sytem
> (ERC32 processor).
>
> I want to use in-line assembler in the Ada code. My question is: are
> there any SPARC registers I can use without risk for conflict with
> GNAT-use of registers?
>
> I have tried to find documentation about this item with no result.
Read the GNAT inline assembler tutorial at adapower.com,
http://www.adapower.com/articles/gnatasm/ and the GNAT reference
manual.
The tutorial targets x86 but the inline mechanisms are the same, in
particular look at the 'Clobber' argument to Asm.
Best Regards,
Anders Gidenstam
--
The trouble with having an open mind, of course, is that people
will insist on coming along and trying to put things in it.
-- (Terry Pratchett, Diggers)
---------------------------------------------------------------------
| Anders Gidenstam | Chalmers University of Technology |
| Email: andersg@cs.chalmers.se | WWW: www.cs.chalmers.se/~andersg |
---------------------------------------------------------------------
next prev parent reply other threads:[~2002-07-06 11:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-05 9:27 GNAT on SPARC Arne Carlsson
2002-07-06 11:08 ` Anders Gidenstam [this message]
2002-07-06 18:30 ` Robert Dewar
2002-07-07 9:08 ` Anders Gidenstam
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox