TYPECHECK
For a detailed description of the TYPECHECK assembler option, see TYPECHECK assembler option.
- Default
- TYPECHECK(MAGNITUDE,REGISTER,SIGNED)
- Abbreviations
- NOSI, SI, TC(MAG, NOMAG, REG, NOREG) / NOTC
- Parameter of ACONTROL statement
- You can specify the TYPECHECK (or NOTYPECHECK) option as a parameter
of the ACONTROL statement. For further details, refer to
ACONTROL statement
in the HLASM Language Reference. - MAGNITUDE
- Specifies that the assembler performs magnitude validation of signed or unsigned immediate-data machine instruction operands occupying 1 to 3 bytes, ensuring that the specified value fits within the operand field.
- NOMAGNITUDE
- Specifies that the assembler does not perform magnitude validation of signed or unsigned immediate-data machine instruction operands occupying 1 to 3 bytes. The value stored is simply the appropriate number of low-order bits of the specified value.
- REGISTER
- Specifies that the assembler performs type checking of register fields of machine instruction operands.
- NOREGISTER
- Specifies that the assembler not perform type checking of register fields of machine instruction operands.
- SIGNED
- Specifies that the validation for TYPECHECK(MAGNITUDE) takes into account whether the field is
signed or not, and only allows the relevant signed or unsigned range of values.Note: This has no effect when TYPECHECK(NOMAGNITUDE) is in effect.
- NOSIGNED
- Specifies that the validation for TYPECHECK(MAGNITUDE) does not take into account whether the field is signed or not, allowing values to be within the valid range of either signed or unsigned values for the size of the field.
- NOTYPECHECK
- Specifies that the assembler not perform any type checking of machine instruction operands.