On some of the Language Environment notes, I see the term Language Environment-conforming. How do we make an assembler program Language Environment-conforming and what are the benefits?
Answer You can make an assembler program Language Environment-conforming through the use of CEEENTRY and CEETERM. Also, in assembler programs that call PL/I or C/C++ programs, or that call LE callable services, make sure that register 12 points to the CAA before such calls. When the Language Environment is set up (call to CEEENTRY) Language Environment sets up R12 to the address of the CAA. If your program uses R12 it has to be sure to reset it to the address of the CAA before calling any other routine (except COBOL programs) or Language Environment service – that’s why we recommend that some assembler programs programs should not use R12. One of the benefits of Language Environment-conforming assembler is that the environment is already set up so that repeatedly calling high-level language subroutines will not incur the overhead of initialization and termination of Language Environment.
Related Questions
- On some of the Language Environment notes, I see the term Language Environment-conforming. How do we make an assembler program Language Environment-conforming and what are the benefits?
- What are some of the benefits of committing to a year-long language study abroad program?
- Can the term "homoiconic" be applied to a program rather than a language?