Re: Addressing mode in inline assembly

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

 



On Fri, 2006-04-07 at 14:34 +0800, Ching-Hua Chang wrote:
> Hello ,
> 
>   If it is possible to restrict the addressing mode
>   of inline assembly?
> 
>   For example,in normal mode that we accept the
>   addressing mode BASE+OFFSET, but do not like
>   it in inline assembly.
> 


Look out for constraints. That should help you with stuff. The gcc info
pages have doco regarding using extended inline assembly. Or you can
search for Brennan's guide to inline assembly . That was my guru when I
was a student and wanted to do inline assembly in GCC. 

cheers
ramana
>   Is there any one can give me a hand?
> 
>   thanks a lot!
> 
>   Aladdin


[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