Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Indirect Address z/OS TSO/E Programming Guide SA32-0981-00 |
|||||||||||||||||
An indirect address is an absolute, relative, or symbolic address, (or a general register containing an address) of a location that contains another address. An indirect address must be followed by one or more indirection symbols to indicate a corresponding number of levels of indirect addressing. The indirection symbols are:
To use a general register as an indirect address, specify a decimal
integer (0 through 15) followed by an R and a percent sign, or an
R and a question mark. For example, if you want to refer to data
whose address is located in register 7, you would specify:
Example: Use of a relative address to form an indirect address. Address: +A% (One level of indirect addressing) Example: Comparison of use of % and ?
Example: Indirect addressing using a combination of indirection symbols. Address expression: +A%??% (Four levels of indirect addressing) |
Copyright IBM Corporation 1990, 2014
|