Op Code (Hex) | Operand 1 | Operand 2 | Operand 3 | Operand 4 |
---|---|---|---|---|
101C | Receiver | Source | Offset | Length |
Operand 2: Character variable scalar or numeric variable scalar.
Operand 3: Signed or unsigned binary immediate.
Operand 4: Signed or unsigned binary immediate.
Description: Copies the unsigned bit string source operand starting at the specified offset for a specified length to the receiver.
If the receiver is shorter than the length, the left most bits are removed to make the source bit string conform to the length of the receiver. No exceptions are generated when truncation occurs.
The selected bits from the source operand are treated as an unsigned bit string and copied right adjusted to the receiver and padded on the left with binary 0s.
The source operand can be character or numeric. The leftmost bytes of the source operand are used in the operation. The source operand is interpreted as a bit string with the bits numbered left to right from 0 to the total number of bits in the string minus 1.
The offset operand indicates which bit of the source operand is to be copied, with an offset of zero indicating the leftmost bit of the leftmost byte of the source operand.
The length operand indicates the number of bits that are to be copied.
If the sum of the offset plus the length exceeds the length of the source, an invalid operand length (hex 2A0A) exception is signaled.
06 Addressing
08 Argument/Parameter
10 Damage Encountered
1C Machine-Dependent
20 Machine Support
22 Object Access
24 Pointer Specification
2E Resource Control Limit
36 Space Management
44 Protection Violation