
Chapter 5. Application instructions
5-100
5.13 Branch instructions
5.13.1 JMP, JME
JMP
(Jump)
FUN(012) JMP
FUN(013) JME
Applicable
CPU
All CPUs
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
JMP
JME
O
1
1) Functions
-
When the ‘JMP n’ instruction is executed by turn on of input condition, the CPU jumps to the JME
instruction that has same ‘n’ and instructions between ‘JMP n’ and ‘JME n’ are not executed.
-
The ‘JMP n’ instruction should be matched only one ‘JME n’ instruction. The duplication of ‘JME n’
is not permitted. However, the duplication of ‘JMP n’ instruction is possible.
-
A ‘JMP n’ instruction without corresponding ‘JME n’ instruction (stand-alone ‘JMP n’) will cause
program error. If only a JME or JMP is inside of a loop (subroutine, FOR ~ NEXT, or interrupt
routine), an operation error will occur when the JMP instruction is enabled. (Refer 2.7.1 for details)
JMP
n
JME
n
n
Operand setting
K10S1/K10S/K30S/K60S
: 0 ~ 63
K200S/K300S/K1000S
: 0 ~ 127
n
JMP 001
JME 001
JME 001
Error
JMP 001
JMP 001
JME 001
No Error
JME 001
JME 001