Applied Instructions
ECMP D10 D20 M0
M0
M1
M2
X0
D·S1· S2·
ECMP K500 D100 M10
X0
Function & Action
(D11,D10) : (D21,D20)→M0,M1,M2
Binary Floating Binary Floating
(D11, D10) > (D21<D20)
Binary Floating Binary Floating
(D11, D10) = (D21<D20)
Binary Floating Binary Floating
(D11, D10) < (D21<D20)
Binary Floating Binary Floating
The status of the destination device will be kept even if the ECMP instruction is deactivated.
z The binary float data of S1 is compared to S2. The result is indicated by 3 bit devices
specified with the head address entered as D.
z If a constant K or H used as source data, the value is converted to floating point before
the addition operation.
(K500) ∶ (D101,D100)→M10,M11,M12
Binary converts Binary floating
to floating
[ECMP]
16 bits instruction:- 32 bits instruction:ECMP
Suitable Models:
XC3、XC5
Word
Device
Bit
Device
X
Y
M
S
T
C
Dn.m
D·
D
FD
DM
DX
DY
DS
TD
CD
K/H
S1·
S2·
S1·
S2·
118