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
Post a Comment