FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 5-3
5: M
OVE
I
NSTRUCTIONS
Repeat Operation in the Move Instructions
Repeat Source Device
When the S1 (source) is set to repeat, as many devices as the repeat cycles, starting with the device designated by S1, are moved
to the destination. As a result, only the last of the source devices is moved to the destination.
•Data Type: Word
•Data Type: Double Word
Repeat Destination Device
When the D1 (destination) is designated to repeat, the source device designated by S1 is moved to all destination devices as many
times as the repeat cycles, starting with the destination designated by D1.
•Data Type: Word
•Data Type: Double Word
Repeat Source and Destination Devices
When both S1 (source) and D1 (destination) are set to repeat, as many devices as the repeat cycles, starting with the device
designated by S1, are moved to the same quantity of devices starting with the device designated by D1.
Note: The BMOV (block move) instruction has the same effect as the MOV instruction with both the source and destination designated to repeat.
•Data Type: Word
111
D11
110
D10
112
D12
D21
112
D20
D22
Source (Repeat = 3) Destination (Repeat = 0)
I1
REP
3
S1 R
D10
D1 –
D20
MOV(W)
111
D11
110
D10
112
D12
115
D21
114
D20
D22
Source (Repeat = 3) Destination (Repeat = 0)
I2
REP
3
S1 R
D10
D1 –
D20
MOV(D)
113
D13 D23
114
D14
115
D15
D24
D25
111
D11
110
D10
112
D12
110
D21
110
D20
110
D22
Source (Repeat = 0) Destination (Repeat = 3)
I3
REP
3
S1 –
D10
D1 R
D20
MOV(W)
111
D11
110
D10
112
D12
111
D21
110
D20
110
D22
Source (Repeat = 0) Destination (Repeat = 3)
I4
REP
3
S1 –
D10
D1 R
D20
MOV(D)
113
D13
111
D23
114
D14
115
D15
110
D24
111
D25
111
D11
110
D10
112
D12
111
D21
110
D20
112
D22
Source (Repeat = 3) Destination (Repeat = 3)
I5
REP
3
S1 R
D10
D1 R
D20
MOV(W)