Re: [gentoo-user] Anybody Know x86 Assembler?

2007-02-03 Thread Pierre-Yves Rofes
Neil Hodges a écrit : 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

[gentoo-user] Anybody Know x86 Assembler?

2007-01-26 Thread Neil Hodges
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)); --