Re: What is 'mov (%r11,%rax,1),%dl'?

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

 



On Sat, Jan 2, 2016 at 11:01 AM, Segher Boessenkool
<segher@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Jan 02, 2016 at 10:01:26AM -0500, Jeffrey Walton wrote:
>>    0x000000010048d87b <+174>:   xor    %eax,%eax
>> => 0x000000010048d87d <+176>:   mov    (%r11,%rax,1),%dl
>>
>> (gdb) info registers
>> rax            0x9b7a   0x9b7a
>
> Why is AX not 0 here?  That seems wrong.
>
Not sure... Maybe that explains the crash.

I did find similar code in a slide deck at
http://sbac.lip6.fr/2014/session%208/1-BLAP.pdf when searching for
what that particular move performs.

Jeff



[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