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