174
4
4 Instructions4.5.2 Data Transfer
◆
Function
The FMOV instruction requires contact driving and has three operands. It copies the data in S to n units
from head address D.
The value of n ranges from 1 to 512.
FMOV is a 16-bit multi-point transfer instruction, whereas DFMOV is 32-bit.
◆
Application
M8
ǒFMOV K100 D100 K4Ǔ
S D n
k100 䊻 D100
k100 䊻 D101
k100 䊻 D102
k100 䊻 D103
Operations completed when M8 = ON:
CML: Inverted data transfer
◆
Overview
The CML instruction inverts the bit pattern in S and transfers the resulting data to D.
CML S D
Inverted data
transfer
Applicable model:
H3U
S
Inverted
data source
Data to be inverted, or address of the word element that
stores the data
16-bit instruction
(5 steps)
CML: Continuous
execution
CMLP: Pulse
execution
32-bit instruction (9
steps)
DCML: Continuous
execution
DCMLP: Pulse
execution
D
Transfer
destination
Address of the word element that stores the inverted
data arriving at a destination
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
◆
Function
The CML instruction requires contact driving and has two operands. It inverts the bit pattern of the BIN
value in S and copies the resulting data to D. When the number of bits in D is less than 16, the inverted
value in S is transferred to D by aligning from lower bits. When the 32-bit instruction DCML is executed, S
and D use the adjacent variable units with high-numbered addresses for the operation. For example, the
statement [DCML D1 D5] gets the result /D1 -> D5; /D2 -> D6.