Dynamic Linkage using the LOAD Macro.
When this macro is executed the Entry Point address is returned in General Purpose Register 0.
LOAD syntax
EP= |
This provides the member name of the sub-routine by which it is stored in the Load Library. |
LOADPT= |
This is optional and identifies, either by register name or an address constant name, where the Load Point address
is to be stored. |
The IBM manual includes descriptions of the LIST (MF=L) and EXECUTE (MF=E) formats which are useful for constructing re-entrant code.