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: objdump: unknown register %eiz


On Tue, Jan 6, 2009 at 2:48 PM, Jan Engelhardt <jengelh@medozas.de> wrote:
> Hi,
>
>
> I noticed that objdump from binutils 2.19 produces an assembler output I
> have not seen before:
>
>    608c:  8d 74 26 00    lea    0x0(%esi,%eiz,1),%esi
>
> What is %eiz? Even with -M intel, I get:
>
>    608c:  8d 74 26 00    lea    esi,[esi+eiz*1+0x0]
>
> Another, different disassembler gives me the following intel-style
> for the 4-byte opcode:
>
>        8d742600    lea  esi, [esi]
>
> So what's objdump got odd here?
>

EIZ is pseudo index register.  You can pass

  -mindex-reg             support pseudo index registers

to assembler to support it.


-- 
H.J.


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