Using BAKR on entry frees up the provided save area for other uses. ...chris.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tom Marchant Sent: August-29-17 1:29 PM To: [email protected] Subject: Re: ATTACH EXTR=exit and saving registers (save _all_ registers?) On Tue, 29 Aug 2017 15:59:53 -0400, Thomas David Rivers wrote: >The doc seems ambiguous to me; which leads me down this path of doing >funky save-area machinations to ensure that all registers are saved - >not just the "normal" ones. STM 14,12,12(13) hardly constitutes "doing funky save-area machinations". Saving your caller's registers is a good practice, if for no other reason than to aid in debugging. Diagnosing "clever" code that avoids the calling conventions is a PITA. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
