assembly - Should you backup registers before calling a C Standrd Library function? -


  • in assembly, should backup registers before calling c standard library function?
  • does standard library guarantee of functions backup caller's registers , recover them in end?
  • where can find official information matter?

it platform specific, don't need save , restore registers @ call site, callee it. need follow linkage convention particular platform. c-library not state-less, not idea call functions without initializing library done in typical c program object contains main().


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -