Applied Instructions
5-1. Applied Instruction List
The applied instructions’ sort a r correspond instructions are listed i ing table:
Common statements of XC1/ C5:
nd thei n the follow
XC3/X
Sort ¾ Mnemonic Function
CJ Co p ndition jum
CALL C e all subroutin
SRET Subro turn utine re
STL Flow start
STLE Flow end
SET Open the assi urrent flow gned flow, close the c
ST
Open the assign ose the current ed flow, not cl
flow
FOR Start of a FOR-NEXT loop
NEXT End of a FOR-NEXT loop
Program
Flow
FEND First end
LD= LD activates if (S1) = (S2)
LD> LD activates if (S1) > (S2)
LD< LD activates if (S1) =< (S2)
LD<> LD activates if(S1)≠(S2)
LD<= LD activates if(S1)≤(S2)
LD>= LD activates if(S1)≥(S2)
AND= AND activates if(S1)=(S2)
AND> AND activates if(S1)>(S2)
AND< AND activates if(S1)<(S2)
AND<> AND activates if(S1)≠(S2)
AND<= AND activates if(S1)≤(S2)
AND>= AND activates if(S1)≥(S2)
OR= OR activates if(S1)=(S2)
OR> OR activates if(S1)>(S2)
OR< OR activates if(S1)<(S2)
OR<> OR activates if(S1)≠(S2)
OR<= OR activates if(S1)≤(S2)
Data
Compare
OR>= OR activates if(S1)≥(S2)
MOV Move
BMOV Block move
FMOV Fill move
FWRT FlashROM written
MSET Zone set
Data
Move
ZRST Zone reset
65