R5 points to the WSA. In a 64-bit xplink assembler routine, it's required to be passed in from the caller. Just like R4 points to the stack and R12 points to the CAA. See:
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbcpx01/cbc1p2179.htm In article <[email protected]> you wrote: > Not sure if that it seems like in the CELQCALL register 5 should be > initialized to something which it is not either by CELQCALL macros or the > CELQPRLG macros > -----Original Message----- > From: IBM Mainframe Discussion List <[email protected]> On Behalf Of > Charles Mills > Sent: Tuesday, August 20, 2019 9:12 PM > To: [email protected] > Subject: Re: 64 bit Assembler DLL app PSECT parm > There is more here > https://www.ibm.com/support/knowledgecenter/SSENW6_1.6.0/com.ibm.hlasm.v1r6. > asma400/xatrsyn.htm > but not much. (Watch the fold.) > This seems pretty good: > https://www.ibm.com/support/knowledgecenter/SSENW6_1.6.0/com.ibm.hlasm.v1r6. > asma400/adaattr.htm > Charles > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Joseph Reichman > Sent: Tuesday, August 20, 2019 5:47 PM > To: [email protected] > Subject: 64 bit Assembler DLL app PSECT parm > Hi > > I have a 64 bit C DLL being called by a 64 BIT Assembler program the > following is an example I saw in the LE 64 bit guide > > DLLAPPL CELQPRLG PSECT=ADLA6IFP I searched for the text ADLA6IFP and this > was the only occurrence > > I am wondering what the value is for the PSECT parm > > I seem to be abending in CELQCALL macro which is somehow related to the > PSECT parm or its address > > Looking up the documentation on the parm > * > Not quite sure what this means > > PSECT > The name to be assigned to the AMODE 64 assembler routine PSECT area. The > PSECT is used to > establish this routines 64-bit XPLINK environment. For more information > about the PSECT area, see > High Level Assembler and Toolkit Feature in IBM Knowledge Center > (www.ibm.com/support/ > knowledgecenter/SSENW6). > > thanks -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive [email protected] (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
