Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Location counter HLASM Language Reference SC26-4940-06 |
|
The assembler maintains a location counter to assign storage addresses to your program statements. It is the assembler's equivalent of the execution-time instruction counter in the computer. You can refer to the current value of the location counter at any place in a source module by specifying an asterisk (*) as a term in an operand. As the instructions and constants of a source module are being
assembled, the location counter has a value that indicates a location
in the program. The assembler increments the location counter according
to the following:
Here is an example of the application of these rules:
You can specify multiple location counters for each control section in a source module; for more details about the location counter setting in control sections, see Location counter setting. |
Copyright IBM Corporation 1990, 2014
|