GCC proposal for "@" asm constraint

Andrea Arcangeli andrea@suse.de
Tue Sep 19 11:19:00 GMT 2000


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


More information about the Gcc mailing list