Mail Archives: djgpp/1993/03/28/03:29:02
I assume you mean the 'asm()' extension to GCC??
If so look in the ~/docs/extended.tex file for the syntax.
While I'm here, I've been using the inline asm statement, and find
that it doesn't work as advertised. The compiler will try and use
the the registers I tell it not to use, cause the get changed by
the IMUL instruction. Bug or am I not doing it right??
One last thing, GCC, EXPECTS %ebx to remain intact accross function
calls. That gave me headaches!!
Thanks,
MarkV.
- Raw text -