Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Seymour J Metz
, February 12, 2022 5:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Registers at entry to subtask (from ATTACH) On Sat, 12 Feb 2022 at 13:54, Binyamin Dissen wrote: > The manual (MVS Programming: Assembler Services Reference, Volume 1 > (ABE-HSP)) states > > 2-12 Used as wo

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Peter Sylvester
On 12/02/2022 23:14, Tony Harminc wrote: On Sat, 12 Feb 2022 at 13:54, Binyamin Dissen wrote: The manual (MVS Programming: Assembler Services Reference, Volume 1 (ABE-HSP)) states 2-12 Used as work registers by the system. but I am looking at some old functional code which seems to expect

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Tony Harminc
On Sat, 12 Feb 2022 at 13:54, Binyamin Dissen wrote: > The manual (MVS Programming: Assembler Services Reference, Volume 1 > (ABE-HSP)) states > > 2-12 Used as work registers by the system. > > but I am looking at some old functional code which seems to expect > (several?) > registers values at

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Binyamin Dissen
On Sat, 12 Feb 2022 12:53:41 -0800 Ed Jaffe wrote: :>On 2/12/2022 10:54 AM, Binyamin Dissen wrote: :>> but I am looking at some old functional code which seems to expect (several?) :>> registers values at ATTACH time be passed as is to the subtask. :>Perhaps it's expecting to be invoked via

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Ed Jaffe
On 2/12/2022 10:54 AM, Binyamin Dissen wrote: but I am looking at some old functional code which seems to expect (several?) registers values at ATTACH time be passed as is to the subtask. Perhaps it's expecting to be invoked via LINK(X) rather than ATTACH(X)? -- Phoenix Software

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Mike Schwab
Standard IBM z/OS calling convention. R13 Save Area, R14 return address, R15 address being called, R0 ?, R1 address to parameter list, R2-14 will be restored from R13 save area before BR14 to return to caller. https://www.ibm.com/docs/en/zos/2.3.0?topic=guide-linkage-conventions On Sat, Feb 12,

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Michael Stein
On Sat, Feb 12, 2022 at 11:17:52AM -0800, Charles Mills wrote: > I would guess that if it works but is not documented then who knows. There > is no guarantee that it does not stop working at some point in the future. I'd guess so too, but might break a lot of things if it was changed.. >From MVS

Re: Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Charles Mills
: Saturday, February 12, 2022 10:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Registers at entry to subtask (from ATTACH) The manual (MVS Programming: Assembler Services Reference, Volume 1 (ABE-HSP)) states 2-12 Used as work registers by the system. but I am looking at some old functional code which

Registers at entry to subtask (from ATTACH)

2022-02-12 Thread Binyamin Dissen
The manual (MVS Programming: Assembler Services Reference, Volume 1 (ABE-HSP)) states 2-12 Used as work registers by the system. but I am looking at some old functional code which seems to expect (several?) registers values at ATTACH time be passed as is to the subtask. Can someone enlighten me