On 23/11/22 01:20, Fabio Massimo Ottaviani wrote:
We also tried to add what suggested by David
If you want to pass the address of a parameter list in R1 use the following.
#pragma runopts(plist(os))
And in main
struct plist * parms = ( struct plist * ) __R1;
But we got
pragma runo
www.epvtech.com
-Messaggio originale-
Da: IBM Mainframe Discussion List Per conto di Paul
Gorlinsky
Inviato: martedì 22 novembre 2022 15:00
A: IBM-MAIN@LISTSERV.UA.EDU
Oggetto: Re: Assembler program attaching a C program
If this is a C program running under the LE enclave, then I would exp
metz3
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of
Fabio Massimo Ottaviani [fabio.ottavi...@epvtech.com]
Sent: Tuesday, November 22, 2022 12:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: R: Assembler program attaching a C program
Thanks t
aggio originale-
Da: IBM Mainframe Discussion List Per conto di Paul
Gorlinsky
Inviato: martedì 22 novembre 2022 15:00
A: IBM-MAIN@LISTSERV.UA.EDU
Oggetto: Re: Assembler program attaching a C program
If this is a C program running under the LE enclave, then I would expect the
normal call
If this is a C program running under the LE enclave, then I would expect the
normal calling conventions to be used.
Wouldn't it be best practice to use standard OS conventions at least to the
main() function?
More questions, is this a main() function you are trying to attach or another
functio
@Systemz [00ae6d97fc6e-dmarc-requ...@listserv.ua.edu]
Sent: Monday, November 21, 2022 11:13 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Assembler program attaching a C program
Char **argv expects an array of char pointers, are you trying to pass that ?
Why did you choose R10 for passing
If you want to pass the address of a parameter list in R1 use the
following.
#pragma runopts(plist(os))
And in main
struct plist * parms = ( struct plist * ) __R1;
On 21/11/22 17:22, Fabio Massimo Ottaviani wrote:
Hello
I wrote an assembler program attaching a C program with ATTACHX
assembler program attaching a C program with ATTACHX
ATTCH ATTACHX EP=PROGC,PARAM=R10,
ECB=AMYECB,
DISP=NO
I set the address of the field, I want to pass as parameter, in R10
I checked that argv in the C program is empty
Is there something I have to
rogram attaching a C program
Hello
I wrote an assembler program attaching a C program with ATTACHX
ATTCHATTACHX EP=PROGC,PARAM=R10,
ECB=AMYECB,
DISP=NO
I set the address of the field, I want to pass as parameter, in R10
I checked that argv in the C program is emp
On Mon, 21 Nov 2022 10:22:01 +0100 Fabio Massimo Ottaviani
wrote:
:>I wrote an assembler program attaching a C program with ATTACHX
:>ATTCHATTACHX EP=PROGC,PARAM=R10,
:> ECB=AMYECB,
:> DISP=NO
:>I set the address of the field,
Hello
I wrote an assembler program attaching a C program with ATTACHX
ATTCHATTACHX EP=PROGC,PARAM=R10,
ECB=AMYECB,
DISP=NO
I set the address of the field, I want to pass as parameter, in R10
I checked that argv in the C program is empty
Is
11 matches
Mail list logo