From: Neil Hodges <kenji.malist@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Anybody Know x86 Assembler?
Date: Fri, 26 Jan 2007 22:29:30 -0800 [thread overview]
Message-ID: <20070127062930.GA7194@bob> (raw)
Hello,
Does anybody know x86 assember? The following code is in a kernel
source file, and GCC fails to build it, saying "invalid operands to
'mov'". What's wrong with it?
- Neil
Code:
asm volatile ("movl %%fs,%0":"=m" (*(int *) &m.fs));
asm volatile ("movl %%gs,%0":"=m" (*(int *) &m.gs));
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2007-01-27 6:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-27 6:29 Neil Hodges [this message]
2007-02-03 19:51 ` [gentoo-user] Anybody Know x86 Assembler? Pierre-Yves Rofes
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=20070127062930.GA7194@bob \
--to=kenji.malist@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/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