Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Type checking behavior for MAGNITUDE HLASM Programmer's Guide SC26-4941-06 |
|
Type checking for MAGNITUDE causes the assembler to perform magnitude validation of signed immediate-data fields of machine instruction operands. To disable the checking, use the NOMAGNITUDE suboption. For each violation, a warning message (severity 4) is issued and object code is created. For a 16-bit signed immediate-data field, the normal allowed range of values is -32768 through to 32767. For a 32-bit signed immediate-data field, the normal allowed range of values is -2147483648 through to 2147483647. Figure 1 shows the assembler behavior, with the
default of MAGNITUDE, which is to issue a warning message and to
generate the object code.
Figure 1. MAGNITUDE behavior
Note: When generating object code, the assembler takes bits 16 to 31
of Addr2 for use as the immediate-data field. Bits 0 to 15
are ignored.
Figure 2 shows the assembler behavior, with
NOMAGNITUDE, which is to issue no messages and to generate the
object code.
Figure 2. NOMAGNITUDE behavior
Note: When generating object code, the assembler takes bits 16 to 31
of Addr2 for use as the immediate-data field. Bits 0 to 15
are ignored.
|
Copyright IBM Corporation 1990, 2014
|