248
Data Movement Instructions Section 3-7
Description Transfers S to D. If S is a constant, the value can be used for a data setting.
MOV(021) has an immediate refreshing variation (!MOV(021)). External input
bits can be specified for S and external output bits can be specified for D.
Input bits used for S will refreshed just before, and output bits used for D will
be refreshed just after execution.
Flags
Example When CIO 0.00 is ON in the following example, the content of CIO 1000 is
copied to D100.
3-7-2 MOVE NOT: MVN(022)
Purpose Transfers the complement of a word of data to the specified word.
Ladder Symbol
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #0000 to #FFFF (binary) ---
Data Registers DR0 to DR15
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
Area S D
Destination word
Bit status not
changed.
Source word
Name Label Operation
Error Flag ER OFF
Equals Flag = ON if the data being transferred is 0000.
OFF in all other cases.
Negative Flag N ON if the leftmost bit of the data being transferred is 1.
OFF in all other cases.
0.00
1000
D100
CIO 1000 D100
MVN(022)
S
D
S: Source
D: Destination