The programmer allocates the save area with a size and placement appropriate to the formats that he expects the called programs to use. If one of them uses a format that he didn't anticipate storage overlay is possible, as is an access violation due to loss of high-order bits, e.g., allocating a save area above the line and calling an AMODE(24) routine.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Tom Marchant <[email protected]> Sent: Friday, April 13, 2018 11:55 AM To: [email protected] Subject: Re: Assembler calling DSNTAIR On Fri, 13 Apr 2018 15:23:04 +0000, Seymour J Metz wrote: >What format save area does R13 point to? ITYM how big of a save area does R13 point to when he makes the call. A save area does not have a format until a program saves its caller's registers in it according to some format. -- 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
