On input to any CTMAPI service, the contents of the general-purpose registers should be as shown in Table 285.
Table 285 Contents of Registers on Input to CTMAPI
Register |
Contents |
---|---|
R0 |
Irrelevant |
R1 |
Address of parameter list, where the first (and only) parameter has its high-order bit turned on (the VL parameter of the CALL macro). This parameter points to a 2-byte field containing the length of the CTMAPI DSECT. The 2-byte length field must be followed by the double word aligned CTMAPI DSECT. |
R2 through R12 |
Irrelevant |
R13 |
SAVE AREA address of caller |
R14 |
Return address |
R15 |
CTMAPI entry point address |
On return, all registers are restored by CTMAPI, and a return code is returned in register R15. In this appendix, the return codes and their meanings are explained under each service.
Parent Topic |