Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Source program structures HLASM Language Reference SC26-4940-06 |
|
This part of the chapter explains how to subdivide a large program into smaller parts that are easier to understand and maintain. It also explains how to divide these smaller parts such as one section or element to contain executable instructions, and another to contain data constants and work areas. You should consider two different subdivisions when writing an
assembler language program:
You can divide a program into two or more source modules. Each source module is assembled into a separate object module. The object modules can then be combined to form an executable program. You can also divide a source module into two or more sections, or (in the program object model) into sections containing multiple classes. Each section is assembled as part of the same object module. By writing the correct linker control statements, you can select a complete object module or any individual section of the object module to be linked and later loaded as an executable program.
|
Copyright IBM Corporation 1990, 2014
|