Table 52 shows attribute references (in the columns) and types of symbols (in the rows). Each intersection shows whether ("Yes") or not ("No") you can validly apply the attribute reference to that symbol type, or (in the case of SET symbols) to the value of the symbol.
| Symbols
Specified |
Type
T' |
Length
L' |
Scale
S' |
Integer
I' |
Count
K' |
Number
N' |
Defined
D' |
Operation
Code O' |
|---|---|---|---|---|---|---|---|---|
|
In open code: Ordinary symbols System variable symbols with global scope Literals in macro instruction operands |
Yes Yes Yes |
Yes No Yes |
Yes No Yes |
Yes No Yes |
No Yes No |
No Yes No |
Yes No Yes |
No No No |
|
In macro definitions: Ordinary symbols Symbolic parameters System variable symbols: &SYSLIST All others Literals in macro instruction operands |
Yes Yes Yes Yes Yes |
Yes Yes Yes No Yes |
Yes Yes Yes No Yes |
Yes Yes Yes No Yes |
No Yes Yes Yes No |
No Yes Yes Yes No |
Yes Yes Yes No Yes |
No Yes No No No |
The values of attribute references may be used in ordinary and conditional assembly expressions, as shown in Table 53.
The value of an attribute for an ordinary symbol specified in an attribute reference comes from the item named by the symbol. The symbol must appear in the name field of an assembler or machine instruction, or in the operand field of an EXTRN or WXTRN instruction.
The value of an attribute reference to an expression is the value of that attribute reference to its leftmost term.
The value of an attribute for a variable symbol specified in an attribute reference comes from the value substituted for the variable symbol as follows:
Because the count (K'), number (N'), and defined (D') attribute references are allowed only in conditional assembly instructions, their values are available only during conditional assembly processing. They are not available at ordinary assembly time.
The system variable symbol &SYSLIST, with a valid subscript, can be used in an attribute reference to refer to a macro instruction operand, and, in turn, to an ordinary symbol. Thus, any of the attribute values for macro instruction operands and ordinary symbols listed below can also be substituted for an attribute reference containing &SYSLIST (see &SYSLIST System Variable Symbol).
[ Top of Page | Previous Page | Next Page | Contents | Index ]