1127
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Model Conversion Instructions
3
MOVBC
Function
MOVBC(568) copies the specified bit (n) from S to the specified bit (m) in D.
Note The other bits in the destination word are left unchanged.
Hint
• The same word can be specified for both S and D to copy a bit within a word.
Example Programming
When CIO 0.00 is ON in the following example, the 5
th
bit of the source word (CIO 200) is copied to the
12
th
bit of the destination word (CIO 300) in accordance with the control word's value of 1205.
1 2 0 5
C: D
D
0.00
C
S:
D: