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 <007201d557c8$5238af60$f6aa0e20$@gmail.com> 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 <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of > Charles Mills > Sent: Tuesday, August 20, 2019 9:12 PM > To: IBM-MAIN@LISTSERV.UA.EDU > 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:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Joseph Reichman > Sent: Tuesday, August 20, 2019 5:47 PM > To: IBM-MAIN@LISTSERV.UA.EDU > 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 sas...@sas.com (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN