Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
7 Applied Instructions (Program Flow)
103
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
O
utlin
e
2
Instruc
tion Li
st
3
Configurati
on of 
Instruction
4
Ho
w t
o R
ea
Explanati
on of 
Ins
truction
s
5
B
asic
 Instruction
6
Step Ladder 
Instruct
ions
7
Ap
pl
ied Inst
ruct
io
ns 
(Program Flow)
8
Appl
ied
 In
stru
cti
ons 
(Mov
e and 
C
omp
are)
9
App
lie
d Instr
uction
(Ari
thm
eti
c and
 
Lo
gic
al O
per
at
ion)
10
App
lied Inst
ructi
ons 
(Rot
ati
on and 
Shift O
perati
on)
7. Applied Instructions (Program Flow)
This chapter introduces the instructions mainly related to control flow of sequence programs such as
conditional program execution and priority processing.
Instruction name
Function
Reference
CJ
Conditional Jump
Section 7.1
CJP
CALL
Call Subroutine
Section 7.2
CALLP
SRET
Subroutine Return
Section 7.3
IRET
Interrupt Return
Section 7.4
DI
Disable Interrupt
Section 7.5
EI
Enable Interrupt
Section 7.6
FEND
Main Routine Program End
Section 7.7
WDT
Watchdog Timer Refresh
Section 7.8
FOR
Start a FOR/NEXT Loop
Section 7.9
NEXT
End a FOR/NEXT Loop
Section 7.10