Dynamic Linkage without return using the XCTL Macro.
XCTL syntax
(r1,r2) |
This indicates the range of registers to be restored prior to the requested module receiving control. |
EP= |
This provides the member name of the sub-routine by which it is stored in the Load Library. |
EPLOC= |
This is an alternative format where entaddr is the address of the sub-routine either as a A-type constant or a General
Purpose Register (GPR) in the range 2 to 12. This address could be obtained by executing the LOAD macro before issuing the XCTL.) |
The IBM manual includes descriptions of the LIST (MF=L) and EXECUTE (MF=E) formats which are useful for constructing re-entrant code. There is also a XCTLX macro for 64-bit addressing mode.


