Migrating assembler programs to Language Environment

To run assembler programs with Language Environment, you must ensure the assembler programs adhere to conventions for items such as register and storage usage, condition handling, and accessing input parameters. For example, assembler programs must set a valid 31 bit address in the save area back chain.

Language Environment provides several assembler macros, which your assembler programs should use to perform tasks such as entering and exiting assembler routines and mapping Language Environment data areas. For example, when you use the CEEENTRY and CEETERM macros, Language Environment automatically initializes and terminates, respectively, the execution environment for the application. In addition, when the Language Environment environment is established for the main assembler program, that environment is also established for any other routines that may be called later.

For more information about assembler considerations and Language Environment macros, see z/OS Language Environment Programming Guide.

For more information about assembler considerations when assembler programs are used with COBOL, see the appropriate version of the COBOL migration guide in the Enterprise COBOL for z/OS library.