Chapter 5 Applied Instructions S : Source; D : Destination The instruction is used to invert the bits in S (0 → 1 and 1 → 0), and transfer the inversion result to D . Explanation When X1.0 is ON, bit 0~bit 3 in D1 are inverted, and the inversion result Example is transferred to M0~M3. X1.0 b 0 b 1 b 2 b 3 b 15 D1 Sign bit (0: Positive number; 1: Negative number No data The reversal result is transferred.
5-31 API Instruction code Operand Function 14 D CML P S, D Inverting bits Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S D Pulse instruction 16-bit instruction (5 steps) 32-bit instruction (6 steps) CML D1 K1M0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1