This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fs register syntax bug?


On Fri, Feb 26, 2010 at 2:08 PM, Quentin Neill
<quentin.neill.gnu@gmail.com> wrote:
> I have some old test code using the FS segment register that used to
> assemble but now doesn't:
>
> === Code:
> .intel_syntax noprefix
> ? ?mov rdi, qword [fs:rsp + rbp + 0x040000000]
>
>

I think this code is invalid. You should use

 mov rdi, qword ptr fs:[rsp + rbp + 0x040000000]

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]