public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rob <robpilling@gmail.com>
To: Luchezar Belev <lukcho@gmail.com>
Cc: Florian Weimer <fweimer@redhat.com>, gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: immediate operands without dollar sign for inline asm
Date: Thu, 19 Dec 2013 22:25:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.02.1312192221080.19371@jeffraw> (raw)
In-Reply-To: <CAJtzQry2FEGGdASFwO+_Ys2zhO2VuVaJ6jPmawagU=D+D5P3mA@mail.gmail.com>

On Thu, 19 Dec 2013, Luchezar Belev wrote:

> On Mon, Dec 16, 2013 at 10:47 PM, Florian Weimer <fweimer@redhat.com> wrote:
>> Isn't it specific to a subset of all the architectures?  If it's generic, it
>> makes sense to add it to the Extended Asm documentation.
>
> If I am to give opinion, here it is:
>
> I have only used the x86/x64 architecture so far and don't know if it
> is architecture specific or generic.
> AFAIK the $ sign for immediate operands is for all architectures, so
> i'd guess the feature is generic.

'fraid not, I believe ARM uses a hash (#), e.g.

mov r2, #3


Rob

  reply	other threads:[~2013-12-19 22:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-16 11:29 Luchezar Belev
2013-12-16 18:21 ` Andrew Haley
2013-12-16 20:47 ` Florian Weimer
2013-12-19 17:04   ` Luchezar Belev
2013-12-19 22:25     ` Rob [this message]
2013-12-16 23:21 ` dw
2013-12-17  9:06   ` Andrew Haley
2013-12-18  5:45     ` dw
2013-12-18  9:38       ` Andrew Haley

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=alpine.DEB.2.02.1312192221080.19371@jeffraw \
    --to=robpilling@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=lukcho@gmail.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).