WARN
- integer
- the conditions under which the assembler issues various warning
messages pertaining to the USING instructions used in the source program.
The permissible value for integer is in
the range 1 to 15.
Several conditions can be combined by adding together the associated condition numbers. For example, specifying WARN(12) instructs the assembler to issue warning diagnostic messages for the conditions with condition numbers 4 and 8.
The meaning of the various condition number values for integer are:
- 1
- the assembler issues message:
- ASMA300 when a earlier active ordinary (unlabeled) USING's range coincides with and supersedes that of the USING being processed.
- ASMA301 when the range of the USING being processed coincides with and supersedes that of a earlier active ordinary (unlabeled) USING.
- ASMA306 when the range of the USING being processed coincides with the implicit USING 0,0 (for example USING 0,2).
- 2
- the assembler issues message ASMA302 when a USING specifies R0 as a base register, with a non-zero absolute or relocatable expression for the base address.
- 4
- Multiple resolutions: The assembler issues message:
- ASMA303 when multiple resolutions are possible for an implicit address.
- ASMA306 when the range of the USING being processed overlaps the range of the implicit USING 0,0 (for example USING 16,2).
- 8
- the assembler issues message ASMA304 when the calculated displacement in any valid resolution exceeds the threshold specified in the LIMIT suboption.
- NO
- no USING warning messages are issued.
- Default
- WARN=15
Note: This option can be specified as an assembler invocation parameter
by specifying the WARN suboption of the USING option.