Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Ordinary USING instruction HLASM Language Reference SC26-4940-06 |
|
The ordinary USING instruction format specifies a base address
and one or more base registers.
Ordinary USING >>-+-----------------+--USING--+-base-------------+-------------> '-sequence_symbol-' '-(base-+------+-)-' '-,end-' .----------------. V | >----,base_register-+------------------------------------------><
The default range is 4096 per base register. The assembler assumes that the base register denoted by the first base_register operand contains the base address base at execution time. If present, the subsequent base_register operands represent registers that the assembler assumes contain the address values base+4096, base+8192, and so on. For example:
has
the logical equivalent of:
In another example, the following statement:
tells the assembler to assume that the current value of the location counter is in general register 12 at execution time, and that the current value of the location counter, incremented by 4096, is in general register 13 at execution time. |
Copyright IBM Corporation 1990, 2014
|