4 move word instruction (movw) – Yaskawa Ladder Works Programming Manual User Manual
Page 105
6.4 MOVE WORD Instruction (MOVW)
6-8
6.4 MOVE WORD Instruction (MOVW)
[Outline]
The MOVW instruction moves the designated number of words (Width) from the beginning of the
move source registers (Source) to the beginning of the move destination registers (Dest). The move
process is performed one word at a time in the direction in which the register number increases.
Unless the move source registers overlap with the move destination registers, the move source word
table is stored. If there is overlap between them, the move source bit table may not be stored.
⇒
Source
Dest
Width
Source
Transfer source
data area
Transfer
destination
data area
(a)
(b)
c
d
e
f
g
(h)
(f)
(g)
(h)
c
d
e
f
g
(a)
(b)
a
b
c
d
e
(h)
(f)
(g)
(h)
a
b
c
d
e
Transfer source
Transfer destination
Transfer source
Transfer destination
Whe the transfer source and
transfer desitnation overlap (2)
Whe the transfer source and
transfer desitnation overlap (1)
[Format]
Symbol : MOVW
Full Name : Move Word
Category : MOVE
Icon :
[Parameter]
Parameter Name
Setting
Source
· Any integer type register
· Any integer type register with subscript
Dest
· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)
Width
· Any integer type register
· Any integer type register with subscript
· Constant