Register calling convention for asm functions...
Chris Warwick
sp at m.me.not
Sun Mar 11 19:00:31 PDT 2007
What do i need to do to get register calling convention for asm? I've found
extern(C) for cdecl calling convention, and i have seen mention of the
'naked' keyword but cant work out where it goes... im not even sure if it
does cause register calling convention or just causes the compiler to omit
entry and exit code.
I assume it must be possible to write asm functions that take arguments in
the eax,ecx,edx registers?
thanks,
cw
More information about the Digitalmars-d-learn
mailing list