EasyManua.ls Logo

LSIS XBC-DN30S - Page 352

LSIS XBC-DN30S
384 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix 4 Instruction List
App. 4-10
(4) Comparison instruction (continued)
Classification
Designations
Symbol
Description
Support
XGK
XGB
16 Bits
Data
Compare
(LOAD)
LOAD=
= S2S1
Compares (S1) to (S2), and saves
its result in Bit Result(BR) (Signed
Operation)
LOAD>
> S2S1
LOAD<
< S2S1
LOAD>=
>= S2S1
LOAD<=
<= S2S1
LOAD<>
<> S2S1
16 Bits
Data
Compare
(AND)
AND=
= S2S1
Performs AND operation of (S1) &
(S2) Compare Result and Bit Result
(BR), and then saves its result in BR
(Signed Operation)
AND>
> S2S1
AND<
< S2S1
AND>=
>= S2S1
AND<=
<= S2S1
AND<>
<> S2S1
16 Bits
Data
Compare
(OR)
OR=
= S2S1
Performs OR operation of (S1) &
(S2) Compare Result and Bit Result
(BR), and then saves its result in BR
(Signed Operation)
OR<=
< = S2S1
OR<>
< > S2S1
32 Bits
Data
Compare
(LOAD)
LOADD=
D= S2S1
Compares (S1) to (S2), and saves
its result in Bit Result(BR) (Signed
Operation)
LOADD>
D> S2S1
LOADD<
D< S2S1
LOADD>=
D>= S2S1
LOADD<=
D<= S2S1
LOADD<>
D<> S2S1
Remark
Comparison instruction for input process the result of Signed comparison instruction generally. To process
Unsigned comparison, Use comparison instruction for input.
www.behaotomasyon.com
www.behaotomasyon.com

Table of Contents

Related product manuals