1.2 List of High-level Instructions
■
Data comparison instructions
Name
Operatio
n
Unit
Mnemonic Operand Function overview
Page
Data compare
US, SS,
UL, SL,
SF, DF
CMP (P) S1, S2
Compares [S1] and [S2] and outputs the
results to the system relay (SRA to SRC).
(S1) > (S2) → SRA:ON
(S1) = (S2) → SRB:ON
(S1) < (S2) → SRC:ON
"P.4-2"
Band compare
US, SS,
UL, SL,
SF, DF
WIN (P)
S1,
S2,S3
Compares the value of [S1] with the lower
limit value [S2] and the upper limit value
[S3], and outputs the result to the system
relay (SRA to SRC).
(S1) > (S3) → SRA:ON
(S2) ≤ (S1) ≤ (S3) → SRB:ON
(S1) < (S2) → SRC:ON
"P.4-6"
Block
comparison
− BCMP (P)
S1, S2,
S3, S4
Compares the comparison block 1
specified by [S3] and the comparison block
2 specified by [S4] for the number of bytes
specified by [S2] according to the control
data specified by [S1], and outputs the
result to the system relay (SRB).
When the blocks match, SRB turns ON.
When the blocks do not match, SRB turns
OFF.
"P.4-9"
■
Data Transfer Instructions
Name
Operatio
n
Unit
Mnemonic Operand Function overview
Page
Data Transfer
US, SS,
UL, SL,
SF, DF
MV (P) S, D (S) → (D) "P.5-2"
Data Inversion
and Transfer
US, SS,
UL, SL,
SF, DF
MV/ (P) S, D (S) → (D) "P.5-4"
2 Data
Transfer
US, SS,
UL, SL,
SF, DF
MV2 (P)
S1, S2,
D
Transfers the two types of data specified by
[S1] and [S2] to the area starting with [D].
"P.5-6"
3 Data
Transfer
US, SS,
UL, SL,
SF, DF
MV3 (P)
S1, S2,
S3, D
Transfers the three types of data specified
by [S1], [S2], and [S3] to the area starting
with [D].
"P.5-8"
Block Transfer
US, SS,
UL, SL,
SF, DF
BKMV (P)
S1, S2,
D
Transfers the data between [S1] and [S2] to
the area starting with [D].
"P.5-10"
1.2 List of High-level Instructions
1-8 WUME-FP7CPUPGR-12