syntax-questiuons

Michael Sänger Michael@vulpine.de
Thu Jan 11 09:12:00 GMT 2001


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


More information about the Gcc-help mailing list