Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Linkage module LMSUP1

LMS functions are called from Assembler programs via the linkage module LMSUP1, which is invoked as follows:

Name

Operation

Operands


L
BALR

15,=V(LMSUP1)
14,15

For the entries in the parameter list, see the description of the various functions ("Function and format of the parameter structures").

Module LMSUP1 is fetched from library SYSLNK.LMS.036 and permanently linked to the main program.

For the subroutine branch to LMS, the registers must be loaded as follows:

Register 1:

Address of the parameter list

Register 13:

Address of the save area

Register 14:

Return address

Register 15:

Entry address

Parameter list

The parameter list contains a sequence of addresses which must be supplied by the caller. The relevant addresses for a call depend on the function called and the requisite control blocks.

Save area

The save area is an 18-word register save area which must be supplied by the caller.

Return address

This is the address in the main program to which LMS returns after having executed a function.

Entry address:

LMSUP1