On Mon, 2011-04-11 at 20:45 +0000, Bill Fairchild wrote: > -----Original Message----- > From: IBM Mainframe Assembler List [mailto:[email protected]] > On Behalf Of McKown, John > Sent: Monday, April 11, 2011 3:31 PM > To: [email protected] > Subject: Re: Best way to multiply doublewords? > > do a SYNCH to the actual internal label where the processing occurs. > Something like: > > MYROUT CSECT > USING *,R11 > SAVE (14,12) > LR R11,R15 > SYNCH ROUTINE > RETURN (14,12),T,RC=(15) > ROUTINE DS 0H > ... > GOBACK SVC 3 > > > > The SYNCH macro expands into an SVC (12, I think). The GOBACK label also > executes an SVC. There are certain coding environments in which no SVC can > be executed other than ABEND. > > Bill Fairchild > Rocket Software
Very true. I was thinking only of a standard application. For something like a subroutine which could be called in an SRB type environment, I don't know where one could save the high word of the registers unless one simply stated that all callers must supply a 144 byte save area. Can BAKR be used in SRB? -- John McKown Maranatha! <><
