Asm called by c_func
- Posted by Larry Miller <larrymiller at sasktel.net> Apr 24, 2007
- 528 views
I know that an assembly routine called by call() must preserve all registers. What registers, if any, must be preserved if the routine is called by c_func? Am I correct in assuming that the return value will be in the EAX register? From examples I have determined the calling conventions. Larry Miller