This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: What is 'mov (%r11,%rax,1),%dl'?
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Jeffrey Walton <noloader at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sat, 2 Jan 2016 10:01:14 -0600
- Subject: Re: What is 'mov (%r11,%rax,1),%dl'?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8m4SFCN+OC8P2HVGEZp3CyqW8CaNXXLmZo9F2osnaZW+g at mail dot gmail dot com>
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.
Segher