This general macro provides access to a table of system
configuration-dependent constants. This allows the user to alter the
program function, depending on the configuration, without having to reassemble
programs for every system configuration change.
Format
Notes:
- option
- label
- A symbolic name can be assigned to the macro statement.
- option
- Specify one of the following:
- A
- The address of the requested data will be returned.
- D
- The requested data will be returned.
- LIST
- List equates only. No address or data is returned.
- TABLE
- Generate the CONKC table. For use by the system to generate the
table used to hold the actual configuration values.
- CICR
- Used by the system to generate the actual system SVC support code to
access the configuration values.
- lbl
- Label of address or data requested in the following format:
- 1st character is @
- 2nd and 3rd characters are numeric values from 00-15
Where:
- 00
- indicates the field is a fullword
- 01
- indicates the field is a halfword
- 02
- indicates the field is a byte
- 03-15
- indicates unique table references (refer to CONKC Macro)
- 4th through 8th characters specify the remainder of the label.
- reg
- Register in which the requested address or data will be returned.
R8, R9, R11, R12, and R13 may not be used by an E-type program. R0
cannot be used by a CP program.
- BSS
- Is used by a CP segment to denote which subsystem's CONKC value is to
be retrieved. This parameter is required when CONKC is coded by a CP
segment. CONKC will not default to the BSS.
- YES
- Access the BSS table.
- INDEX
- The specified register reg contains the subsystem index times four of the
target subsystem table.
- NO
- The specified register reg contains the subsystem index of the target
subsystem table.
Entry Requirements
R9 must contain the address of the ECB being processed.
Return Conditions
Programming Considerations
- This macro can be executed on any I-stream.
- The information returned to the user in the requested register may be
either a fullword, halfword or 1 byte in length. Information of less
than a fullword in length will be right adjusted in the register, and the
high-order bytes will be set to zeros. Registers R8, R9, R11, R12, R13
may not be used by an E-type program. R0 can not be used by a CP
program.
Examples
None.