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
Your on lp64, is the invoking program passing a 64 bit address. main() is
slightly tricky but the second word or dword in param list pointed to by R1
should point to sequence of address which point to null terminated strings.
On Tuesday, November 22, 2022, 09:21:01 AM PST, Fabio Massimo
Thanks to all of you for the interesting suggestions
This is the compiler we use
PGM=CCNDRVR,PARM=('/SSCOM,LIS,LO,RENT,DLL,LP64,XPLINK')
We tried to use PARAM=(R1) but it doesn't work. Nothing passed in argv in the C
program
We also tried to add what suggested by David
If you