xxxx is the decimal value of the displacement, and must be less than or equal to 4095. X'xxx' may also be used to specify the value in hexadecimal. If specified, this value must be less than or equal to X'FFF'.
If more than one base register is specified in a USING statement, the value specified in the LIMIT suboption is used only to check the maximum displacement from the last specified base register. For example, if USING(LIMIT(X'F00'),WARN(8)) were specified at invocation, the messages would be issued as in Figure 22.
Active Usings: None
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2008/07/11 17.48
000000 00000 01F82 1 EXAMPLE CSECT 00001000
R:AB 00000 2 USING EXAMPLE,10,11 00002000
·
·
·
00040E 47F0 AB8C 00B8C 176 B LABEL111 1 00176000
·
·
·
00B8C 496 LABEL111 EQU * 00496000
·
·
·
00152E 47F0 BF80 01F80 908 B LABEL999 2 00908000
** ASMA304W Displacement exceeds LIMIT value specified
·
·
·
01F80 1436 LABEL999 EQU * 01436000
001F80 07FE 1437 BR 14 01437000
1438 END 01438000Although the resolved displacement of the instruction at 1 is greater than the specified limit, error diagnostic message ASMA304W is not issued because register 10 was not the last specified base register. However, the instruction at 2 causes the message to be issued because register 11 was the last specified base register.
Several conditions may be combined by adding together the associated condition numbers. For example, specifying WARN(12) would request the assembler to issue warning diagnostic messages for the conditions with condition numbers 4 and 8.
The USING suboptions LIMIT, MAP, and WARN are specified in the installation default options as LIMIT, MAP, and WARN.
[ Top of Page | Previous Page | Next Page | Contents | Index ]