The following describes the specifiable content of operands S1 and D1 for the BCNT/BCNTP instructions.
The actual number of steps in the BCNT/BCNTP instructions depends on the operand specification method. 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, calculate the number of steps in the BCNT/BCNTP instructions
(For the number of steps in an operand, refer to the operand settings as follows.)
{Data_1[1] = 2 steps} + {Result [Specify indirectly] = 3 steps} + {1 step} = 6 steps One last step is included in the instruction. Be sure to add that one step.