Op Code (Hex) | Extender | Operand 1 | Operand 2 | Operand [3-4] |
---|---|---|---|---|
NOT 108A |
| Receiver | Source |
|
| ||||
NOTI 188A | Indicator options | Receiver | Source | Indicator targets |
| ||||
NOTB 1C8A | Branch options | Receiver | Source | Branch targets |
Operand 2: Character variable scalar or numeric variable scalar.
Operand 3-4:
Op Code (Hex) | Extender | Operand 1 | Operand [2-3] | |
---|---|---|---|---|
NOTS 118A |
| Receiver/Source |
| |
| ||||
NOTIS 198A | Indicator options | Receiver/Source | Indicator targets | |
| ||||
NOTBS 1D8A | Branch options | Receiver/Source | Branch targets |
Operand 2-3:
Description: The Boolean not operation is performed on the string value in the source operand. The resulting string is placed in the receiver operand.
The operands may be character or numeric scalars. They are both interpreted as bit strings. Substringing is supported for both character and numeric operands.
The length of the operation is equal to the length of the source operand.
The bit values of the result are determined as follows:
Source Bit | Result Bit |
---|---|
0 | 1 |
1 | 0 |
The result value is then placed (left-adjusted) in the receiver operand with truncating or padding taking place on the right. The pad value used in this instruction is a hex 00 byte.
Substring operand references that allow for a null substring reference (a length value of zero) may be specified for operands 1 and 2. The effect of specifying a null substring reference for the source operand is that the result is all zero and the instruction's resultant condition is zero. When a null substring reference is specified for the receiver, a result is not set and the instruction's resultant condition is zero regardless of the value of the source operand.
When the receiver operand is a numeric variable scalar, it is possible that the result produced will not be a valid value for the numeric type. This can occur due to padding with hex 00, due to truncation, or due to the resultant bit string produced by the instruction. The instruction completes normally and signals no exceptions for these conditions.
06 Addressing
08 Argument/Parameter
10 Damage Encountered
1C Machine-Dependent
20 Machine Support
22 Object Access
24 Pointer Specification
2C Program Execution
2E Resource Control Limit
36 Space Management
44 Protection Violation