MS/CW-style inline assembly for GCC

Andrew Pinski pinskia@physics.uc.edu
Fri May 7 22:54:00 GMT 2004


On May 7, 2004, at 17:54, Ian Lance Taylor wrote:
> But I admit that I am curious as to how you documented your
> implementation of the CW asm syntax.  The example which Andrew posted
> included things which looked like structure fields being used as
> offset values.  Presumably __asm_get_global_ptr stores the address of
> a global variable in a register.

Just to let people know __asm_get_global_ptr is a macro.

Thanks,
Andrew pinski



More information about the Gcc mailing list