31.21.7.1 Calculating the Number of Steps When Setting Operands - SCL/SCLP

The following shows the configurable conditions for Operands (S1, D1) in the SCL/SCLP instructions.

The actual number of steps in the SCL/SCLP instruction depends on the specified operands. The following describes how to calculate the number of steps.

Number of steps in operand S1 + Number of steps in operand D1 + 1 = Total number of steps in one instruction

For example, convert the number of steps in the SCL/SCLP instructions

(For the number of steps in an operand, refer to the operand settings as follows.)

{Data_1 [0] = 2 steps} + {Conversion result [N] = 3 steps} + {5 steps} = 10 steps The last five steps are included in the instruction. Be sure to add those five steps.