- symbol
- specifies the symbol (name) that you want to add to the symbol
table so that you can refer to an address symbolically. The symbol
must consist of 1 to 8 alphanumeric characters, the first of which
is an alphabetic character.
- address
- specifies the address is to equate to the symbol that you specified.
You can specify address as:
- An absolute address
- A symbolic address
- A relative address
- An indirect address
- An address expression
- A module name and entry name (separated by a period)
- An entry name (preceded by a period)
- data_type
- specifies the characteristics you want to attribute to the data
at the location given by address. These might be the same as the
original characteristics. Indicate the type of data by one of the
following codes:
Code |
Type of data |
Maximum length (bytes) |
---|
C |
Character |
256 |
X |
Hexadecimal |
256 |
B |
Binary |
256 |
I |
Assembler instruction |
256 |
H |
Fixed point binary (halfword) |
8 |
F |
Fixed point binary (fullword) |
8 |
E |
Floating point (single precision) |
8 |
D |
Floating point (double precision) |
8 |
P |
Packed decimal |
16 |
Z |
Zoned decimal |
16 |
A |
Address constant |
4 |
S |
Address (base + displacement) |
2 |
Y |
Address constant (halfword) |
2 |
- ALET(alet_value)
- specifies the alternate address/data space that the EQUATEd variable
can reference. You can specify from 1 to 8 hexadecimal characters
to represent the alet_value.
- AR(register_number)
- specifies the access register that contains the alet used to determine
the alternate address/data space that the EQUATEd variable can reference.
Valid access register numbers are 0 through 15.
- LENGTH(integer)
- specifies the length of the data. The maximum value of the integer
is 256. If you do not specify the length, the following default values
apply:
Type of data |
Default length (bytes) |
---|
C,B,P,Z |
1 |
H,S,Y |
2 |
F,E,A,X |
4 |
D |
8 |
I |
variable |
- MULTIPLE(integer)
- specifies a multiplicity factor. The multiplicity factor means
that one element of the data appears several times in succession.
The number of repetitions is indicated by the number specified for
integer. The maximum value of the integer is 256.
If you do not specify any operands, the defaults are:
type - X
multiplicity - 1
length - 4
If both multiplicity and length are specified for data_type I,
the multiplicity is ignored.