This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: GCC proposal for "@" asm constraint


On Tue, Sep 19, 2000 at 07:22:48PM +0200, Jamie Lokier wrote:
> That instruction loads the _value_ of p.  I.e. reads the memory from
> location 0x80495a4 into %eax.  The source instruction was:
> 
>        movl p,%eax
> 
> The instructions that you're thinking of, that load fixed addresses,
> look like these:
> 
>        mov $0x80495a4,%eax
>        lea 0x80495a4,%eax
> 
> or in source form:
> 
>        movl $p,%eax
>        leal p,%eax

Thanks for noticing my error.

Andrea

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