What's the syntax for indicating that it comes from R0 rather than R1+offset?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of W 
Mainframe [[email protected]]
Sent: Monday, March 21, 2022 5:00 PM
To: [email protected]
Subject: Re: HLL support for interfaces that use R0

I have some Rexx functions written in Cobol. Basically we receive the register 
R0 as a first parameter in Linkage Section. So... Works like a function written 
in HLASM. It's fun and very interesting.
RegardsDan


Sent from Yahoo Mail for iPhone


On Monday, March 21, 2022, 11:44 AM, Seymour J Metz <[email protected]> wrote:

A recent thread on REXX raises the question of what compilers support 
interfaces that require passing an address in R0 in addition to the PLIST 
address in R1. A secondary issue is how to handle multiple callbacks from a 
non-LE program without the overhead of establishing the LE environment each 
time.The obvious use case is a driver program that initialises REXX, passes 
REXX a script and is then called every time the script either calls a routine 
that the driver has included in a function package or passes a command string 
to one of the environments that the driver registered. Think ISPF EDIT or XEDIT 
writen in PL/I, only less ambitious.
.


--
Shmuel (Seymour J.) Metz
https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmason.gmu.edu%2F~smetz3&amp;data=04%7C01%7Csmetz3%40gmu.edu%7C441360fde8d8402e703208da0b7df166%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637834932800263111%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=Bbvr2caiASAbht4ytdAh41DHeVjJ2Muo2sgFqkD2Px4%3D&amp;reserved=0

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN




----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to