I just had a similar problem: "how do you determine your entry R0 from C?" I 
asked here and got no answer. I had to front end the C with a tiny assembler 
program (57 lines including extensive comments; 11 executable instructions). 
Why did the C need its entry R0? Because it is called from Rexx, and needs to 
call IRXEXCOM, and so needs the Rexx environment block.

Why the ^%$^%$#$^% do people come up with these non-standard linkages? Rexx 
passes a bunch of parameters -- why not pass the Environment Block address that 
way?

Charles


On Tue, 4 Apr 2023 21:09:59 +0000, Frank Swarbrick 
<frank.swarbr...@outlook.com> wrote:

>How do you set R0 in C?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to