Copy Bytes to Bits Arithmetic (CPYBBTA)


Op Code (Hex) Operand 1 Operand 2 Operand 3 Operand 4
104C Receiver Offset Length Source
Operand 1: Character variable scalar or numeric variable scalar.

Operand 2: Signed binary immediate or unsigned binary immediate.

Operand 3: Signed binary immediate or unsigned binary immediate.

Operand 4: Character variable scalar or numeric variable scalar.

Description  This instruction copies a byte string from the source operand to a bit string in the receiver operand.

The source operand is interpreted as a signed binary value and may be sign extended or truncated on the left to fit into the bit string in the receiver operand. No indication is given when truncation occurs.

The location of the bit string in the receiver operand is specified by the offset operand. The value of the offset operand specifies the bit offset from the start of the receiver operand to the start of the bit string. Thus, an offset operand value of 0 specifies that the bit string starts at the leftmost bit position of the receiver operand.

The length of the bit string in the receiver operand is specified by the length operand. The value of the length operand specifies the length of the bit string in bits.

Limitations (Subject to Change)

The following are limits that apply to the functions performed by this instruction.

Authorization Required

Lock Enforcement

Exceptions

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