This is the mail archive of the gcc-help@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]

syntax-questiuons


Hi there,
My question are related to the inline assebmler of Gcc.

Ok what I inow ist how this:
(vc++ inline-asm)
__asm mov eax,array[ebx]

looks in gcc:
__asm__(" movl array(%ebx),%eax");

but how do I specify other things in gcc-inline asm?
here my most urgent questions:

mov eax,arrax[ebx*4+4]

mov eax,arrax[23]

what ist movzx called in gcc inline asm?

or is it possible to use the intel sytax within the gcc?
and how do I use isse-instrutions within gcc?

Well, enough questions for today, 
I hope anyone can help me or give me the hints where to find documents 
about the whole gcc inline assebmler.

Regards, Michael

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