63
Appendix 2-2. Application instruction list
Mnemonic Function
Mnemonic
Function
Program flow
CJ
Condition jump
SET
Open the assigned flow and close the
current flow
CALL
Call subroutine
ST
Open the assigned flow and do not close the
current flow
SRET
Subroutine return
FOR
Start of a FOR-NEXT loop
STL
Flow start
NEXT
END of a FOR-NEXT loop
STLE
Flow end
FEND
End of main program
Data compare
LD=
※
1
LD activate if
(
S1
)
=
(
S2
)
AND<>
※
1
AND activate if
(
S1
)
≠
(
S2
)
LD>
※
1
LD activate if
(
S1
)
>
(
S2
)
AND>=
※
1
AND activate if
(
S1
)
≥
(
S2
)
LD<
※
1
LD activate if
(
S1
)
<
(
S2
)
AND<=
※
1
AND activate if
(
S1
)
≤
(
S2
)
LD<>
※
1
LD activate if
(
S1
)
≠
(
S2
)
OR=
※
1
OR activate if
(
S1
)
=
(
S2
)
LD>=
※
1
LD activate if
(
S1
)
≥
(
S2
)
OR>
※
1
OR activate if
(
S1
)
>
(
S2
)
Mnemonic Function
Mnemonic
Function
Data compare
LD<=
※
1
LD activate if
(
S1
)
≤
(
S2
)
OR<
※
1
OR activate if
(
S1
)
<
(
S2
)
AND=
※
1
AND activate if
(
S1
)
=
(
S2
)
OR<>
※
1
OR activate if
(
S1
)
≠
(
S2
)
AND>
※
1
AND activate if
(
S1
)
>
(
S2
)
OR>=
※
1
OR activate if
(
S1
)
≥
(
S2
)
AND<
※
1
AND activate if
(
S1
)
<
(
S2
)
OR<=
※
1
OR activate if
(
S1
)
≤
(
S2
)
Data move
CMP
※
1
Data compare
EMOV
Float move
ZCP
※
1
Data zone compare
FWRT
※
1
FlashROM written
MOV
※
1
Move
MSET
Multi data set
BMOV
Block move
ZRST
Zone reset
PMOV
Block move
SWAP
Switch high bytes and low bytes
FMOV
※
1
Multi-bit data move
XCH
※
1
Exchange data
Data operation
ADD
※
1
Addition
MEAN
※
1
Mean
SUB
※
1
Subtraction
WAND
※
1
Logic and
MUL
※
1
Multiplication
WOR
※
1
Logic or
DIV
※
1
Division
WXOR
※
1
Logic exclusive or
INC
※
1
Increase 1
CML
※
1
Complement
DEC
※
1
Decrease 1
NEG
※
1
Negative
Data shift
SHL
※
1
Arithmetic shift left
ROR
※
1
Rotation shift right
SHR
※
1
Arithmetic shift right
SFTL
※
1
Bit shift left
LSL
※
1
Logic shift left
SFTR
※
1
Bit shift right
LSR
※
1
Logic shift right
WSFL
Word shift left
ROL
※
1
Rotation shift left
WSFR
Word shift right
Data transformation
WTD
Single word integer convert to double ASCI
Hex convert to ASC
Ⅱ