Re: immediate operands without dollar sign for inline asm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Dec 2013, Luchezar Belev wrote:

On Mon, Dec 16, 2013 at 10:47 PM, Florian Weimer <fweimer@xxxxxxxxxx> 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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux