public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Dylan Cuthbert" <dylan@q-games.com>
To: "Dylan Cuthbert" <dylan@q-games.com>,
	"Noonan, Michael E \(Michael\)" <mnoonan1@lucent.com>,
	<help-gcc@gnu.org>
Subject: Re: assembly macro syntax...
Date: Tue, 19 Feb 2002 01:47:00 -0000	[thread overview]
Message-ID: <004101c1b8f5$dd7e3a20$2801a8c0@dcuthbert2k> (raw)
In-Reply-To: <002701c1b8e8$f9639120$2801a8c0@dcuthbert2k>


sorry about that... remove the .html from the URL:

http://www.geocities.com/dylan_cuthbert

---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

----- Original Message -----
From: "Dylan Cuthbert" <dylan@q-games.com>
To: "Noonan, Michael E (Michael)" <mnoonan1@lucent.com>; <help-gcc@gnu.org>
Sent: Tuesday, February 19, 2002 10:58 AM
Subject: Re: assembly macro syntax...


> check out my page which some info and links on it regarding gcc's asm
> statement- http://www.geocities.com/dylan_cuthbert.html
>
> Regards
> ---------------------------------
> Q-Games, Dylan Cuthbert.
> http://www.q-games.com
> ----- Original Message -----
> From: "Noonan, Michael E (Michael)" <mnoonan1@lucent.com>
> To: "Noonan, Michael E (Michael)" <mnoonan1@lucent.com>;
<help-gcc@gnu.org>
> Sent: Tuesday, February 19, 2002 1:51 AM
> Subject: RE: assembly macro syntax...
>
>
> >
> > > I have a simple question for anyone who knows how to write assembly
> macros
> > > for the GNU compiler.  I am trying to port macros that target the Diab
> > > compiler for PPC and am having a hell of a time figuring out the
correct
> > > syntax.  The macros are used to test the PPC exception handler by
> forcing
> > > the respective exceptions.  Here are a couple of the Diab format
> assembly
> > > macros for reference...
> > >
> > > VOID  excpTestPage (ULONG input)
> > > {
> > >    asm (" lwz r4,0(r3)");
> > > }
> > >
> > > VOID  excpTestIsi (VOID)
> > > {
> > >    asm (" .long 0x4BC00001");  // branch to 0x0F00_0000 + ip
> > > }
> > >
> > > VOID  excpTestTrap (ULONG input)
> > > {
> > >    asm (" twgti r3,5"); // trap if input is greater than 5
> > > }
> > >
> > > I have scoured the GCC manual and cannot figure it out from the given
> > > info.
> > >
> > > Any help is greatly appreciated.  Thanks, Mike
>

  reply	other threads:[~2002-02-19  3:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-18  9:14 Noonan, Michael E (Michael)
2002-02-18 19:30 ` Dylan Cuthbert
2002-02-19  1:47   ` Dylan Cuthbert [this message]
2002-02-19 15:26 Noonan, Michael E (Michael)
2002-02-19 22:17 ` Dylan Cuthbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004101c1b8f5$dd7e3a20$2801a8c0@dcuthbert2k' \
    --to=dylan@q-games.com \
    --cc=help-gcc@gnu.org \
    --cc=mnoonan1@lucent.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).