David: It seems I had made a few more assumptions that I realised. Thank-you for explaining. Joerg: I assume you're talking about this trick: int func (int x, int y) asm ("MYFUNC"); It does indeed work for me. Thank-you.