32.13.4.1 Calculating the Number of Steps When Setting Operands
- XCH/XCHP
The following describes the specifiable content of Operands (D1
and D2) in the XCH and XCHP instructions
The actual number of steps in the XCH and XCHP instructions
depends on the specification method of the operand. The following
describes how to calculate the number of steps.
Number of steps in operand D1 + Number of steps in operand D2 +
1 = Total number of steps in one instruction
For example, calculating the number of steps
in XCH and XCHP instructions.
(For the number of steps in an operand, refer to the operand
settings as follows.)
{Data_1 = 1 step} + {Data_2 = 1 step} + {1 step} = 3 steps One
last step is included in the instruction. Be sure to add that one
step.
|