Appendix 2 instructions list
Appendix 2-2
.
Applied instruction list
Sort
Mnemonic Function
Suit Model
XC1 XC2 XC3 XC5 XCM
Program
flow
CJ
Condition Jump
√
√
√
√
√
CALL
Call subroutine
√
√
√
√
√
SRET
Subroutine return
√
√
√
√
√
STL
Flow start
√
√
√
√
√
STLE
Flow end
√
√
√
√
√
SET
Open the assigned flow,
close the current flow
√
√
√
√
√
ST
Open the assigned flow,
not close the current flow
√
√
√
√
√
FOR
Start of a FOR-NEXT loop
√
√
√
√
√
NEXT
END of a FOR-NEXT
loop
√
√
√
√
√
FEND
End of main program
√
√
√
√
√
Data
compare
LD=
※
1
LD activate if (S1)= (S2)
√
√
√
√
√
LD>
※
1
LD activate if (S1)> (S2)
√
√
√
√
√
LD<
※
1
LD activate if (S1)< (S2)
√
√
√
√
√
LD<>
※
1
LD activate if(S1)≠(S2)
√
√
√
√
√
LD>=
※
1
LD activate if(S1) >= (S2)
√
√
√
√
√
LD<=
※
1
LD activate if(S1) <= (S2)
√
√
√
√
√
AND=
※
1
AND activate if (S1)=
(S2)
√
√
√
√
√
AND>
※
1
AND activate if (S1)>
(S2)
√
√
√
√
√
AND<
※
1
AND activate if (S1)<
(S2)
√
√
√
√
√
AND<>
※
1
AND activate if(S1)≠(S2)
√
√
√
√
√
AND>=
※
1
AND activate if(S1) >=
(S2)
√
√
√
√
√
AND<=
※
1
AND activate if(S1) <=
(S2)
√
√
√
√
√
OR=
※
1
OR activate if (S1)= (S2)
√
√
√
√
√
OR>
※
1
OR activate if (S1)> (S2)
√
√
√
√
√
OR<
※
1
OR activate if (S1)< (S2)
√
√
√
√
√
OR<>
※
1
OR activate if(S1)≠(S2)
√
√
√
√
√
OR>=
※
1
OR activate if(S1) >= (S2)
√
√
√
√
√
OR<=
※
1
OR activate if(S1) <= (S2)
√
√
√
√
√
Data
move
CMP
※
1
Data compare
√
√
√
√
√
ZCP
※
1
Data zone compare
√
√
√
√
√
MOV
※
1
Move
√
√
√
√
√
BMOV
Block move
√
√
√
√
√
FMOV
※
1
Fill move
√
√
√
√
√
FWRT
※
1
FlashROM Written
√
√
√
√
√
MSET
Zone set
√
√
√
√
√
ZRST
Zone reset
√
√
√
√
√
SWAP
The high bytes and low
bytes exchange
√
√
√
√
√
XCH
※
1
Data exchange
√
√
√
√
√