Chapter 6 Applied Instructions API 0206 Symbol: S : Source device Word D : Conversion result Double word Explanation: The data in the 16-bit device S is transmitted to the 32-bit device D . The sing bit which is specified is copied repeatedly to the destination. Example: When X0.0 is ON, the value of b15 in D4 is transmitted to b15~b31 in (D7, D6). The data in (D7, D6) becomes a negative value.
D4 D7, D6 b31 b16 b0 b15 6-87 Instruction code Operand Function MMOV P S, D Converting the 16-bit value into the 32-bit value Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S D Pulse instruction 16-bit instruction (5 steps) 32-bit instruction AH500 AH500 - 0 Plus sign b15 b0 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 Minus sign 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1