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
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));
--
2 matches
Mail list logo